API Reference
This section contains the API reference for all public modules and classes in Atomic Agents.
API Reference
Core Components
The Atomic Agents framework is built around several core components that work together to provide a flexible and powerful system for building AI agents.
Agents
The agents module provides the base classes for creating AI agents:
BaseAgent
: The foundational agent class that handles interactions with LLMsBaseAgentConfig
: Configuration class for customizing agent behaviorBaseAgentInputSchema
: Standard input schema for agent interactionsBaseAgentOutputSchema
: Standard output schema for agent responses
Components
The components module contains essential building blocks:
AgentMemory
: Manages conversation history and state with support for:Message history with role-based messages
Turn-based conversation tracking
Multimodal content
Serialization and persistence
Memory size management
SystemPromptGenerator
: Creates structured system prompts with:Background information
Processing steps
Output instructions
Dynamic context through context providers
SystemPromptContextProviderBase
: Base class for creating custom context providers that can inject dynamic information into system prompts
Utils
The utils module provides helper functions and utilities:
Message formatting
Tool response handling
Schema validation
Error handling
Getting Started
For practical examples and guides on using these components, see: