A multi-agent framework written in Rust that enables you to build, deploy, and coordinate multiple intelligent agents
A multi-agent framework written in Rust that enables you to build, deploy, and coordinate multiple intelligent agents
AutoAgents is a modular, multi-agent framework for building intelligent systems in Rust. It combines a type-safe agent model with structured tool calling, configurable memory, and pluggable LLM backends. The architecture is designed for performance, safety, and composability across server and edge, and serves as the foundation for a high-level agent harness.
| Provider | Feature | Chat | Streaming | Tool Calls | Structured Output | Vision / Multimodal |
|---|---|---|---|---|---|---|
| OpenAI | openai |
Yes | Yes | Yes | Yes | Image URLs and inline images; PDFs are rejected with a typed error. |
| OpenRouter | openrouter |
Yes | Yes | Yes | Yes | OpenAI-compatible image inputs; PDFs are rejected with a typed error. |
| Anthropic | anthropic |
Yes | Yes | Yes | Yes | Images, image URLs, and PDFs use Anthropic content blocks. |
| DeepSeek | deepseek |
Yes | Yes | Yes | Yes | OpenAI-compatible image inputs; PDFs are rejected with a typed error. |
| xAI | xai |
Yes | Yes | No | Model-dependent | Text-only chat; multimodal input returns LLMError::InvalidRequest. |
| Phind | phind |
Yes | No* | No | No | Text-only chat; multimodal input returns LLMError::InvalidRequest. |
| Groq | groq |
Yes | Yes | Yes | Yes | OpenAI-compatible image inputs; PDFs are rejected with a typed error. |
google |
Yes | Yes | Yes | Yes | Inline images and PDFs; image URLs are rejected with a typed error. | |
| Azure OpenAI | azure_openai |
Yes | No* | Yes | Yes | Image URLs; PDFs and raw inline images are rejected with typed errors. |
| MiniMax | minimax |
Yes | Yes | Yes | No | OpenAI-compatible image inputs; PDFs are rejected with a typed error. |
| Provider | Crate / Feature | Chat | Streaming | Tool Calls | Structured Output | Vision / Multimodal | Local Inference |
|---|---|---|---|---|---|---|---|
| Ollama | ollama |
Yes | Yes | Yes | Yes | Model-dependent | Yes, via Ollama server |
| Mistral-rs | autoagents-mistral-rs |
Yes | Yes | Yes | Yes | Vision models supported | Yes, embedded runtime |
| Llama-Cpp | autoagents-llamacpp |
Yes | Yes | Yes | Yes | Vision models supported with projector files | Yes, embedded runtime |
See https://github.com/liquidos-ai/AutoAgents-Experimental-Backends
| Provider | Status |
|---|---|
| Burn | ⚠️ Experimental |
| Onnx | ⚠️ Experimental |
Provider support is actively expanding based on community needs.
* Providers marked No for streaming use the default ChatProvider::chat_stream implementation, which returns LLMError::Generic("Streaming not supported for this provider") rather than panicking.
sudo apt update
sudo apt install build-essential libasound2-dev alsa-utils pkg-config libssl-dev -ymacOS (Homebrew):
brew install lefthookLinux/Windows (npm):
npm install -g lefthookgit clone https://github.com/liquidos-ai/AutoAgents.git
cd AutoAgents
lefthook install
cargo build --workspace --features fullHardware-specific accelerator features such as CUDA, Vulkan, and Metal require the matching local toolchains and platforms. Enable those features only for the specific backend you are building.
AutoAgents ships Python bindings to PyPI. Install the base package and add backends via extras:
…Development install from this repo:
…AutoAgents CLI helps in running Agentic Workflows from YAML configurations and serves them over HTTP. You can check it out at https://github.com/liquidos-ai/AutoAgents-CLI.
Explore the examples to get started quickly:
Demonstrates various examples like Simple Agent with Tools, Very Basic Agent, Edge Agent, Chaining, Actor Based Model, Streaming and Adding Agent Hooks.
Demonstrates LLM pipelines with optimization passes such as cache and retry to improve performance and reliability.
Demonstrates configurable input and output guardrails with Block, Sanitize, and Audit policies using an LLMLayer in the pipeline.
Demonstrates how to integrate AutoAgents with the Model Context Protocol (MCP).
Demonstrates how to integrate AutoAgents with the Mistral-rs for Local Models.
Demonstrates various design patterns like Chaining, Planning, Routing, Parallel and Reflection.
Contains examples demonstrating how to use different LLM providers with AutoAgents.
A simple agent which can run tools in WASM runtime.
A sophisticated ReAct-based coding agent with file manipulation capabilities.
Run AutoAgents Speech Example with realtime TTS and STT.
Example App that runs AutoAgents with Local models in Android using AutoAgents-llamacpp backend
AutoAgents is built with a modular architecture:
…sudo apt update
sudo apt install build-essential libasound2-dev alsa-utils pkg-config libssl-dev -ycargo test --features default
# Python bindings
make python-bindings-test-clean
# Coverage (requires cargo-tarpaulin)
cargo install cargo-tarpaulin
rustup component add llvm-tools-preview
make coverage-rustcargo bench -p autoagents-core --bench agent_runtimeThis project uses LeftHook for Git hooks management. The hooks will automatically:
cargo fmt --checkcargo clippy -- -D warningscargo test --features fullmake python-bindings-testWe welcome contributions. Please see our Contributing Guidelines and Code of Conduct for details.
AutoAgents is designed for high performance:
See the FAQ in the documentation for installation, providers, executors, environment lifecycle, and troubleshooting.
AutoAgents is dual-licensed under:
You may choose either license for your use case.
Built by the Liquidos AI team and wonderful community of researchers and engineers.
Special thanks to:
No open issues yet, or sync has not completed.