Agents
Agents are AI systems packaged as Docker containers that can execute tasks. The Plato agent framework provides:- Typed Configuration: Pydantic-based config with automatic secret loading
- Docker Packaging: Run agents in isolated containers
- Trajectory Capture: ATIF-format logging of agent actions
- Registry: Register and discover agents by name
Installation
Quick Example
Core Concepts
BaseAgent
The base class for all agents. Provides:- Typed config access via generics
- Logger instance
- Trajectory writing
- Version detection
AgentConfig
Configuration base class that:- Extends
pydantic-settingsfor env var loading - Marks secret fields with
Secretannotation - Provides JSON schema generation
Secret Annotation
Mark sensitive fields that should be loaded from environment:Registration
Register agents for discovery:What’s Next?
Creating Agents
Build custom agents with typed configuration
Running Agents
Execute agents in Docker containers