Skip to content

RestFlow

AI agents work. You rest.

A high-performance AI agent runtime built in Rust — run 10+ agents in parallel

RestFlow is a high-performance AI agent runtime built in Rust. It runs multiple autonomous agents in parallel — each agent thinks, decides, acts, and observes in a ReAct loop until your task is complete.

CategoryFeatures
AI Agent CoreReAct loop, 10+ parallel background agents, subagent spawning, working + long-term memory
Built-in ToolsHTTP, Bash, File, Python (Monty sandbox), Email, Telegram, Web Search, Vision, Transcribe
LLM ProvidersAnthropic Claude, OpenAI GPT, DeepSeek, Claude Code CLI, OpenAI Codex, Gemini
SecurityApproval gate for bash/file ops, command chain detection, header sanitization
IntegrationMCP server (port 8787), Telegram bot, scheduled cron tasks, skill system
PlatformCLI daemon, Tauri desktop app, Docker, self-hosted
Terminal window
# Homebrew (macOS/Linux)
brew install lhwzds/tap/restflow
# npm (Cross-platform)
npm install -g restflow-cli
# Build from source
cargo install --git https://github.com/lhwzds/restflow --package restflow-cli
Terminal window
docker compose up -d --build

MCP HTTP server available at http://localhost:8787/mcp

Terminal window
# Start RestFlow daemon
restflow start
# Configure API key
restflow secret set ANTHROPIC_API_KEY sk-ant-xxx
# Configure Telegram bot for AI chat
restflow secret set TELEGRAM_BOT_TOKEN <your-bot-token>

Backend

  • Rust (async Tokio runtime)
  • RMCP (MCP HTTP transport)
  • Redb (Embedded database)
  • Monty (Sandboxed Python runtime)

Frontend

  • Vue 3 + TypeScript
  • Pinia (State Management)

AI Integration

  • Multi-provider LLM support (Anthropic, OpenAI, DeepSeek, Gemini)
  • MCP (Model Context Protocol) server
  • ReAct agent loop with tool execution

Apache License 2.0