AI-powered terminal coding agent in Rust — TUI, BAML agent loop, fuzzy search, tmux background tasks, skills, MCP support
# rust-code [](https://crates.io/crates/rust-code) [](https://github.com/fortunto2/rust-code/releases) [](LICENSE) `rust-code` is a terminal coding agent written in Rust. It combines a Ratatui-based TUI, typed tool execution, fuzzy navigation, session history, and an SGR-driven agent loop so you can work on a codebase without leaving the terminal.  <p align="center"> <img src="docs/assets/screenshot-bg-tasks.png" width="32%" alt="BG Tasks — realtime tmux preview"> <img src="docs/assets/screenshot-symbols.png" width="32%" alt="Project Symbols"> <img src="docs/assets/screenshot-skills.png" width="32%" alt="Skills Browser"> </p> ## Install Homebrew (macOS, auto-installs tmux): ```bash brew install fortunto2/tap/rust-code ``` One-liner (downloads binary + installs dependencies via `doctor`): ```bash curl -fsSL https://raw.githubusercontent.com/fortunto2/rust-code/master/install.sh | bash ``` From crates.io: ```bash cargo install rust-code rust-code doctor --fix # installs tmux, ripgrep, etc. ``` Run it: ```bash rust-code # interactive TUI rust-code -p "Find the bug in src/main.rs" # headless mode rust-code --resume # continue last session rust-code --resume "refactor" # fuzzy-search sessions by topic rust-code -p "build feature X" --loop 5 # autonomous loop (BigHead mode) rust-code -p "improve yourself" --evolve # self-evolution mode ``` ## Features - **Interactive TUI** — chat UI built with `ratatui` and `crossterm` - **SGR agent loop** — typed tool execution with fallback chain (Gemini Pro → Flash → Flash Lite) - **22 built-in tools** — file read/write/edit
Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.