Start with four steps
1
Install
2
Build an Agent
Once installed, you can start building your first Agent with just a few lines of code.
View expected output
View expected output
3
Run the Agent as a server
Agents can be run as a server to be integrated into other applications such as UI applications, or other LLM applications.
4
Query the Agent server
You can query your Agent server with a simple curl command.
Troubleshooting
Agent not responding or timing out
Agent not responding or timing out
Common causes:
- Missing or invalid API key
- Network connectivity issues
- Rate limiting from your LLM provider
Tool execution errors
Tool execution errors
Common causes:
- Tool requires authentication or API keys
- Invalid tool name or tool not available
Server won't start or port already in use
Server won't start or port already in use
Common causes:
- Port 8000 is already in use by another application
agent.serve(port=8001)Import errors or module not found
Import errors or module not found
Common causes:
- Agentor not installed correctly
- Using wrong Python environment
pip show agentor and ensure you’re using the correct Python environment.Still need help?
Join our Discord community for support, questions, and discussions with other developers.
Next steps
Build an Agent
Learn how to build an Agent with tools.
Build an MCP Server
Learn how to add capabilities to your Agent with MCP Servers.