Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

AutoAgents

> AI 编程
Open source

A multi-agent framework written in Rust that enables you to build, deploy, and coordinate multiple intelligent agents

725 stars0 likes0 views
WebsiteGitHub

About

A multi-agent framework written in Rust that enables you to build, deploy, and coordinate multiple intelligent agents


Overview

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.


Key Features

  • Agent execution: ReAct and basic executors, streaming responses, and structured outputs
  • Tooling: Derive macros for tools and outputs, plus a sandboxed WASM runtime for tool execution
  • Memory: Sliding window memory with extensible backends
  • LLM providers: Cloud and local backends behind a unified interface
  • LLM Guardrails: Guardrail implementation for safeguarding LLM inference
  • LLM Optimization: Build LLM pipelines with optimization passes like cache and retry for faster, more reliable inference
  • Multi-agent orchestration: Typed pub/sub communication and environment management
  • Speech-Processing: Local TTS and STT support
  • Observability: OpenTelemetry tracing and metrics with pluggable exporters

Supported LLM Providers

Cloud Providers

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 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.

Local Providers

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

Experimental Providers

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.


Installation

Prerequisites

  • Rust (latest stable recommended)
  • Cargo package manager
  • LeftHook for Git hooks management
  • Python 3.9+ (required for Python bindings)
  • uv for Python environment and package management
  • maturin (required to build/install local Python bindings from source)

Prerequisite

bash
sudo apt update
sudo apt install build-essential libasound2-dev alsa-utils pkg-config libssl-dev -y

Install LeftHook

macOS (Homebrew):

bash
brew install lefthook

Linux/Windows (npm):

bash
npm install -g lefthook

Clone and Build

bash
git clone https://github.com/liquidos-ai/AutoAgents.git
cd AutoAgents
lefthook install
cargo build --workspace --features full

Hardware-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.

Python Bindings

AutoAgents ships Python bindings to PyPI. Install the base package and add backends via extras:

…

Development install from this repo:

…

AutoAgents CLI

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.


Examples

Explore the examples to get started quickly:

Basic

Demonstrates various examples like Simple Agent with Tools, Very Basic Agent, Edge Agent, Chaining, Actor Based Model, Streaming and Adding Agent Hooks.

LLM Pipelines

Demonstrates LLM pipelines with optimization passes such as cache and retry to improve performance and reliability.

Guardrails

Demonstrates configurable input and output guardrails with Block, Sanitize, and Audit policies using an LLMLayer in the pipeline.

MCP Integration

Demonstrates how to integrate AutoAgents with the Model Context Protocol (MCP).

Local Models

Demonstrates how to integrate AutoAgents with the Mistral-rs for Local Models.

Design Patterns

Demonstrates various design patterns like Chaining, Planning, Routing, Parallel and Reflection.

Providers

Contains examples demonstrating how to use different LLM providers with AutoAgents.

WASM Tool Execution

A simple agent which can run tools in WASM runtime.

Coding Agent

A sophisticated ReAct-based coding agent with file manipulation capabilities.

Speech

Run AutoAgents Speech Example with realtime TTS and STT.

Android Local Agent

Example App that runs AutoAgents with Local models in Android using AutoAgents-llamacpp backend


Components

AutoAgents is built with a modular architecture:

…

Core Components

  • Agent: The fundamental unit of intelligence
  • Environment: Manages agent lifecycle and communication
  • Memory: Configurable memory systems
  • Tools: External capability integration
  • Executors: Different reasoning patterns (ReAct, Chain-of-Thought)

Development

Prerequisite

bash
sudo apt update
sudo apt install build-essential libasound2-dev alsa-utils pkg-config libssl-dev -y

Running Tests

bash
cargo 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-rust

Running Benchmarks

bash
cargo bench -p autoagents-core --bench agent_runtime

Git Hooks

This project uses LeftHook for Git hooks management. The hooks will automatically:

  • Format code with cargo fmt --check
  • Run linting with cargo clippy -- -D warnings
  • Execute Rust tests with cargo test --features full
  • Execute Python binding tests with make python-bindings-test

Contributing

We welcome contributions. Please see our Contributing Guidelines and Code of Conduct for details.


Documentation

  • API Documentation: Complete framework docs
  • FAQ: Common questions and troubleshooting
  • Examples: Practical implementation examples

Community

  • GitHub Issues: Bug reports and feature requests
  • Discussions: Community Q&A and ideas
  • Discord: Join our Discord Community using https://discord.gg/zfAF9MkEtK

Performance

AutoAgents is designed for high performance:

  • Memory Efficient: Optimized memory usage with configurable backends
  • Concurrent: Full async/await support with tokio
  • Scalable: Horizontal scaling with multi-agent coordination
  • Type Safe: Compile-time guarantees with Rust's type system

FAQ

See the FAQ in the documentation for installation, providers, executors, environment lifecycle, and troubleshooting.

License

AutoAgents is dual-licensed under:

  • MIT License (MIT_LICENSE)
  • Apache License 2.0 (APACHE_LICENSE)

You may choose either license for your use case.


Acknowledgments

Built by the Liquidos AI team and wonderful community of researchers and engineers.

Special thanks to:

  • The Rust community for the excellent ecosystem
  • LLM providers for enabling high-quality model APIs
  • All contributors who help improve AutoAgents

Star History

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustagentsaiai-agentsai-agents-framework

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.