Agentic AI
A C++ framework for building autonomous AI agents that run locally — no cloud dependency. The edge-native alternative, optimized for speed and memory efficiency.
Create an LLM-powered agent, register tools, pick a reasoning strategy, and run.
auto llm = createLLM("anthropic", "<api_key>",
"claude-sonnet-4-20250514");
auto context = std::make_shared<Context>();
context->setLLM(llm);
context->registerTool(tools::createWebSearchTool(llm));
AutonomousAgent agent(context);
agent.setPlanningStrategy(
AutonomousAgent::PlanningStrategy::REACT);
JsonObject result = agent.run(
"Research quantum computing breakthroughs");Production-ready patterns so you don't have to build agent orchestration from scratch.
Sequence multiple LLM calls where each step's output feeds the next. Break complex reasoning into reliable, composable stages.
Route tasks to specialized agents based on intent classification. Each agent focuses on what it does best.
Fan out independent sub-tasks across threads and merge results. Ideal for research, comparison, and aggregation workloads.
A coordinator agent decomposes goals into sub-tasks and delegates to worker agents, synthesizing their outputs into a final result.
Continuous feedback loops that evaluate agent output and refine it iteratively until quality thresholds are met.
OpenAI, Anthropic, Google, and local models via Ollama and llama.cpp. Switch providers without rewriting agent logic.
ReAct (Reason + Act) and Plan-Execute built in. Chain-of-Thought, Zero-Shot, and Reflexion coming soon.
Process and reason across vision, audio, and text modalities for robust agentic capabilities.
Built-in web search, Wikipedia, and Python code execution. Register custom tools through the tool registry.
Linux, macOS, and Windows. C++20 with Bazel build system. GCC 14+, Clang 17+, or MSVC 2022+.
C++ implementation optimized for speed and memory efficiency. No Python runtime overhead in the hot path.
Eight ready-to-run examples covering basic agents to full multi-modal orchestration.
Clone the repo, set your API key, and run your first agent in minutes.