Contents

Chapter 1

Features

This chapter covers the core features and capabilities of AI Agent Framework.

Features

  • ReAct loop — Thought → Action → Observation reasoning loop (same pattern as LangChain/AutoGPT)
  • Tool system — Register custom tools with parameter schemas and callable functions
  • Memory manager — Sliding-window context management with intelligent trimming
  • Output parser — Parses structured Thought/Action/Final Answer format from LLM responses
  • Built-in tools — Search, calculator, and JSON formatter included as examples
  • LLM-agnostic — Abstract LLMInterface — wire to OpenAI, Anthropic, or any API
  • Safety limits — Configurable max_steps prevents infinite loops
  • Full trace — Every step recorded with thought, action, observation
  • Config export — Export agent configuration as JSON

Quick Start

bash
# Run the demo with a simulated agent
python src/ai_agent_framework.py --demo

# List all registered tools
python src/ai_agent_framework.py --list-tools

# Export agent config
python src/ai_agent_framework.py --export-config my_agent.json

# Run agent on a task (uses simulated LLM)
python src/ai_agent_framework.py --task "What is the population of Helsinki?"
Chapter 2

Project Structure

Follow this guide to get AI Agent Framework up and running in your environment.

Project Structure

ai-agent-framework/
├── README.md
├── LICENSE
├── src/
│   └── ai_agent_framework.py    # Core engine (~420 lines)
└── examples/
    ├── basic_usage.py             # Build a custom agent
    └── custom_tools.json          # Tool definition examples

CLI Reference

FlagDescription
--demoRun simulated agent demo
--list-toolsList all registered tools
--export-config FILEExport agent config to JSON
--task TEXTRun agent on a task (simulated LLM)
Chapter 3
🔒 Available in full product

Usage Examples

Chapter 4
🔒 Available in full product

License

You’ve reached the end of the free preview

Get the full AI Agent Framework and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $29 →
📦 Free sample included — download another copy for the full product.
AI Agent Framework v1.0.0 — Free Preview