Package Exports
- @covalenthq/ai-agent-sdk
- @covalenthq/ai-agent-sdk/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@covalenthq/ai-agent-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Build autonomous AI agents for the Zero-Employee Enterprise (ZEE). Create intelligent, context-aware agents with unprecedented ease and functionality. The Agent SDK supports single model inference calls to multi-agent systems that use tools. The SDK provides primitives that are designed to be easily composable, extendable and flexible for advanced use cases.
Features
- LLMs - a unified interface for all LLMs
- Agents - a single model with a system prompt and a set of tools
- Tools - extend the capabilities of agents with external tools
- ZEE Workflows - compose agents to solve complex problems
Using the SDK (Quick Start)
1. Start with a template
npx @covalenthq/create-zee-app@latest
This will create a new project with a basic setup.
2. Modify the agent
const agent1 = new Agent({
name: "Agent1",
model: {
provider: "OPEN_AI",
id: "gpt-4o-mini",
},
description: "A helpful AI assistant that can engage in conversation.",
instructions: ["Interact with the user in a friendly and helpful manner"],
});
3. Modify the ZEE Workflow
const zee = new ZeeWorkflow({
goal: "A workflow of agents that do stuff together",
agents: [agent1, agent2],
model: {
provider: "OPEN_AI",
id: "gpt-4o-mini",
},
});
4. Run the Zee Workflow
(async function main() {
const result = await zee.run();
console.log(result);
})();
🤝 Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Or join the AI Agent SDK Working Group to get help and discuss the future of the SDK.
Show your support
Give a ⭐️ if this project helped you!
📝 License
This project is MIT licensed.