Skip to main content
AgentFlow is a modular framework for building, managing, and executing AI agents. It provides real-time streaming, tool sharing, knowledge base integration, and multi-tenant isolation out of the box.

Key Features

Agent Orchestration

Create master and sub-agent hierarchies that delegate work to specialized agents.

Tool System

Build tools with simple decorators. Tools are automatically deduplicated and shared across agents.

Knowledge Bases

Semantic search with embeddings, hybrid retrieval, reranking, and smart document chunking.

Real-Time Streaming

Server-Sent Events deliver token-by-token responses and tool execution updates.

Multi-Tenancy

Per-tenant database isolation, tool registries, and LLM configurations.

Approval Workflows

Gate sensitive tool executions behind configurable approval pipelines.

Technology Stack

LayerTechnology
APIFastAPI (async)
LanguagePython 3.11+
DatabasePostgreSQL + PGVector
LLMMulti-provider via LiteLLM (OpenAI, Anthropic, Google, xAI)
ObservabilityDatadog APM / LLM tracing
Code SecurityWASM sandboxing + RestrictedPython

Next Steps

Quickstart

Get up and running in minutes.

Architecture

Understand how the pieces fit together.