@covalenthq/ai-agent-sdk
Version:
<div align="center">
90 lines (63 loc) • 3.47 kB
Markdown
<div align="center">
# AI Agent SDK for TypeScript
[📖 Documentation](https://cxt.build/) |
[✍🏻 ZEE Use-cases](https://cxt.build/docs/use-cases/overview)
<br />
[](https://www.npmjs.com/package/@covalenthq/ai-agent-sdk)
[](https://www.npmjs.com/package/@covalenthq/ai-agent-sdk)
[](https://github.com/covalenthq/ai-agent-sdk/blob/main/LICENSE)
[](https://github.com/covalenthq/ai-agent-sdk/commits/master)
[](https://github.com/covalenthq/ai-agent-sdk/graphs/contributors)
[](https://github.com/covalenthq/ai-agent-sdk/issues)
[](https://github.com/covalenthq/ai-agent-sdk/pulls)
[](https://github.com/covalenthq/ai-agent-sdk/stargazers)
[](https://github.com/covalenthq/ai-agent-sdk/network/members)
</div>
<p>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.</p>
## 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
```js
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
```js
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
```js
(async function main() {
const result = await zee.run();
console.log(result);
})();
```
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check <a href="https://github.com/covalenthq/ai-agent-sdk/issues">issues</a> page.
Or join the [AI Agent SDK Working Group](https://t.me/CXT_Agent_SDK) to get help and discuss the future of the SDK.
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
This project is <a href="https://github.com/covalenthq/ai-agent-sdk/blob/main/LICENSE">MIT</a> licensed.