The official Python SDK for the agent.ceo platform. Build, manage, and orchestrate AI-native organizations where human and AI agents collaborate seamlessly. The SDK provides a fully async interface for creating agents, delegating tasks, managing knowledge bases, and building cyborgenic workflows programmatically.
pip install agent-ceoimport asyncio
from agent_ceo import AgentCEOClient
async def main():
async with AgentCEOClient(api_key="your-api-key") as client:
# List all agents in your organization
agents = await client.list_agents(org_id="my-org")
print(f"Found {len(agents)} agents")
# Create a new agent
agent = await client.create_agent(
org_id="my-org",
role="backend-engineer",
name="Backend Bot",
template="backend-python",
)
print(f"Created agent: {agent['id']}")
# Assign a task
task = await client.assign_task(
org_id="my-org",
agent_id=agent["id"],
description="Review the authentication module and fix any security issues",
priority="high",
)
print(f"Task assigned: {task['id']} — status: {task['status']}")
asyncio.run(main())- Agent Management — Create, configure, and manage AI agents across your organization
- Task Delegation — Assign, track, and verify tasks with priority and SLA support
- Knowledge Bases — Attach shared knowledge to agents for context-aware operations
- Async-First — Built on
httpxfor high-performance async I/O - Type-Safe — Full Pydantic model support for request and response validation
- Developer Docs: https://agent.ceo/developers/docs
- Dashboard: https://agent.ceo
- API Reference: https://agent.ceo/developers/docs/api
See the examples/ directory for complete working examples:
quickstart.py— Basic client setup and agent listingcreate_agent.py— Create and configure an agentassign_task.py— Assign tasks and track completion
We welcome contributions! Here's how to get started:
- Fork this repository
- Create a feature branch:
git checkout -b feat/my-feature - Install development dependencies:
pip install -e ".[dev]" - Make your changes and add tests
- Run the test suite:
pytest - Submit a pull request
Please read our contribution guidelines for more details.
This project is licensed under the MIT License — see the LICENSE file for details.
Built with care by GenBrain AI