Open file format for serializing stateful AI agents
Top 41.7% on sourcepulse
Agent File (.af) is an open standard file format designed to serialize stateful AI agents, enabling portability, sharing, and version control across compatible frameworks. It packages essential agent components like system prompts, memory, tool configurations, and LLM settings into a single, portable file. This format is beneficial for developers and researchers looking to streamline agent development, collaboration, and deployment.
How It Works
Agent File standardizes the serialization of agent state, including model configurations, message history, system prompts, memory blocks, tool rules, environment variables, and tool definitions (source code and schema). This comprehensive approach ensures that all necessary information to recreate an agent is contained within the .af
file, facilitating seamless transfer and management of agent states.
Quick Start & Requirements
curl
, Python SDK (pip install letta-client
), or Node.js SDK (npm install @letta-ai/letta-client
) to import/export .af
files with a running Letta Server.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Currently, Agent File does not support "Passages" (units of Archival Memory in Letta/MemGPT), though this is on the roadmap. Adapting .af
files to frameworks lacking concepts like context window "blocks" may require per-framework adjustments.
2 months ago
Inactive