0.3.0 • Published 8 months ago
@covalenthq/ai-agent-sdk v0.3.0
AI Agent SDK for TypeScript
📖 Documentation | ✍🏻 ZEE 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.