AgentOSClient provides a Python interface for interacting with running AgentOS instances. It enables you to:
- Run agents, teams, and workflows programmatically with streaming support
- Manage sessions for conversation persistence across runs
- Search and manage knowledge in connected knowledge bases
- Access memories stored for users
- Monitor traces for debugging and observability
Quick Start
Streaming Responses
The client supports streaming for real-time response handling:Authentication
When connecting to authenticated AgentOS instances, pass headers with your requests:Error Handling
Examples
Basic Client
Connect and explore an AgentOS instance
Run Agents
Execute streaming and non-streaming agent runs
Run Teams
Execute team runs with member coordination
Run Workflows
Execute workflow pipelines
Session Management
Create, list, and manage sessions
Knowledge Search
Search and upload knowledge content
Memory Operations
Create, list, and manage user memories