AutoChain
StaleDescription
AutoChain is a lightweight, extensible, and testable LLM Agent framework by Forethought, providing clean abstractions for agent building with automatic tool selection, conversation history management, and automated testing workflows.
Key Features
- Lightweight and extensible generative agent pipeline with minimal abstraction layers
- Support for custom tools and OpenAI function calling with automatic spec conversion
- Simple memory tracking for conversation history and tool outputs with BufferMemory
- Automated multi-turn conversation evaluation using LLM-simulated test users
- Two-layer abstraction design enabling rapid prompt iteration and debugging with -v flag
- LangChain-compatible API — existing LangChain users can adopt it with 80% knowledge overlap
Use Cases
Categories
Quick Start
pip install autochain → Set OPENAI_API_KEY → Create ChatOpenAI + BufferMemory + ConversationalAgent → Wrap in Chain → chain.run('your query')