Learn the basics of the AI Agent SDK in a few minutes.
1
Start with a template
Copy
Ask AI
npx @covalenthq/create-zee-app
2
Modify the agent
Copy
Ask AI
const agent1 = new Agent({ name: "Agent1", model: { provider: "openai", id: "gpt-4o-mini", }, description: "A helpful AI assistant that can engage in conversation.", instructions: [ "You are a helpful AI assistant that can engage in conversation.", "You are able to use the following tools to help the user.", ],});
3
Modify the ZEE Workflow
Copy
Ask AI
const zee = new ZeeWorkflow({ goal: "A workflow of agents that come up with the most creative greeting ever!", model: { provider: "openai", id: "gpt-4o-mini", }, agents: [agent1, agent2],});
4
Run the Zee Workflow
Copy
Ask AI
(async function main() { const result = await zee.run(); console.log(result); })();