Prerequisites
OpenAI API Key required. Set it as an environment variable before running your agent:
Installation
Write Your First Agent
Create two files: one for the agent logic, and one to run the application.Create my_agent.py
Subclass
OutputAgentNode and implement generate_response() to stream LLM output.my_agent.py
Run Your Agent
Once your files are ready, you have two options:- Run Locally
- Deploy to Platform
For development and testing, run the file directly:This starts a WebSocket server on No account or deployment needed.
localhost:8080. In a separate terminal, connect to it:What’s Next?
Tool Calling
Give your agent calculators, search, and APIs.
Orchestration
Connect multiple agents for complex workflows.
Need Help?
Join Discord
Ask questions, share what you’re building, and get help from other developers.

