Octomind ๐ค - AI-Powered Development Assistant
ยฉ 2025 Muvon Un Limited | Complete Documentation
Transform your development workflow with AI conversations that understand your codebase
Octomind is an AI-powered development assistant that helps you understand, analyze, and interact with your codebase through natural language conversations. No complex setup, no indexingโjust intelligent AI sessions with built-in development tools.
โจ Why Octomind?
- ๐ฏ Session-First Architecture - Everything happens in interactive AI conversations
- ๐ ๏ธ Built-in Development Tools - File operations, batch editing, code analysis, shell commands via MCP
- ๐ Multi-Provider AI Support - OpenRouter, OpenAI, Anthropic, Google, Amazon, Cloudflare
- ๐ผ๏ธ Multimodal Vision Support - Analyze images, screenshots, diagrams with AI across all providers
- ๐ฐ Cost Tracking & Optimization - Real-time usage monitoring with detailed reporting
- ๐ง Role-Based Configuration - Developer (full tools) and Assistant (chat-only) modes
๐ Quick Start
# Install Octomind
curl -fsSL https://raw.githubusercontent.com/muvon/octomind/main/install.sh | bash
# Set your AI provider API key
export OPENROUTER_API_KEY="your_key"
# Start coding with AI
octomind session
๐ฌ How It Works
Instead of complex command-line tools, simply talk to Octomind:
> "How does authentication work in this project?"
[AI analyzes project structure, finds auth-related files, explains implementation]
> "Add error handling to the login function"
[AI examines login code, implements error handling, shows changes]
> "Rename 'processData' to 'processUserData' across all files"
[AI finds all occurrences, performs batch edit across multiple files]
> /image screenshot.png
> "What's wrong with this UI layout?"
[AI analyzes the image, identifies layout issues, suggests CSS fixes]
> "Why is the build failing?"
[AI checks build errors, analyzes code, suggests fixes]
> agent_code_reviewer(task="Review this function for performance issues")
[Routes task to specialized code review AI agent with development tools]
> /report
[Shows: $0.02 spent, 3 requests, 5 tool calls, timing analysis]
๐ Supported AI Providers
| Provider | Format | Features |
|---|---|---|
| OpenRouter |
openrouter:provider/model |
Multi-provider access, caching, vision models |
| OpenAI |
openai:model-name |
Direct API, cost calculation, GPT-4o vision |
| Anthropic |
anthropic:model-name |
Claude models, caching, Claude 3+ vision |
google:model-name |
Vertex AI, Gemini 1.5+ vision support | |
| Amazon |
amazon:model-name |
Bedrock models, AWS integration, Claude vision |
| Cloudflare |
cloudflare:model-name |
Edge AI, fast inference, Llama 3.2 vision |
๐ ๏ธ Installation & Setup
Installation Options
# One-line install (recommended)
curl -fsSL https://raw.githubusercontent.com/muvon/octomind/main/install.sh | bash
# Build from source
cargo install --git https://github.com/muvon/octomind.git
# Manual download from releases
# See: https://github.com/muvon/octomind/releases
Basic Setup
# Set your AI provider API key
export OPENROUTER_API_KEY="your_key" # or OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.
# Create configuration (optional - uses smart defaults)
octomind config
# Start your first session
octomind session
Essential Commands
# Development session (full tools)
octomind session
# Chat-only session
octomind session --role=assistant
# Resume previous session
octomind session --resume my_session
# Use specific model
octomind session --model "openrouter:anthropic/claude-3.5-sonnet"
๐ฎ Session Commands
Within any session, use these commands:
-
/help- Show available commands and features -
/image <path>- Attach image to your next message (PNG, JPEG, GIF, WebP, BMP) -
/model [model]- View or change current AI model -
/info- Display token usage and costs -
/report- Generate detailed usage report with cost breakdown -
/cache- Mark cache checkpoint for cost savings -
/layers- Toggle layered processing on/off -
/reduce- Compress session history using configured reducer layer -
/loglevel [debug|info|none]- Set log level -
/exit- Exit current session
๐ง Configuration
Octomind uses a flexible configuration system with smart defaults. Configuration is optional for basic usage.
View Configuration Template: config-templates/default.toml
# Generate default config
octomind config
# Validate configuration
octomind config --validate
# View current settings
octomind config --show
Key Configuration Features:
- Environment variable precedence for security
- Role-based configurations (developer/assistant)
- MCP server registry for tool integration
- Cost thresholds and performance tuning
๐ Documentation
๐ Complete Documentation - Comprehensive guides and references
Quick Navigation
- Installation Guide - Detailed installation methods and building from source
- Overview - Introduction and core concepts
- Configuration Guide - Configuration system, templates, and customization
- AI Providers - Provider setup, API keys, and model selection
- Sessions Guide - Interactive sessions, commands, and workflow
- Advanced Features - MCP tools, layered architecture, and extensibility
- Command Layers - Specialized AI helpers and command processing
๐ Contributing
Contributions are welcome! We appreciate your help in making Octomind better.
Development Areas:
-
AI Providers: Add new providers in
src/session/providers/ - MCP Tools: Extend tool capabilities via MCP server registry
- Documentation: Improve guides and examples
# Development setup
git clone https://github.com/muvon/octomind
cd octomind
cargo build --release
cargo test
Requirements: Rust 1.70+, Cargo, API key from supported providers
๐ Troubleshooting
Common Issues:
-
Configuration Errors: Check system config directory or regenerate with
octomind config - Missing API Keys: Set environment variables for your AI provider
-
Invalid Model Format: Use
provider:modelformat (e.g.,openrouter:anthropic/claude-3.5-sonnet) -
Session Issues: Use
/loglevel debugto enable detailed logging
Getting Help:
- ๐ Issues: GitHub Issues
- ๐ Documentation: Complete Documentation
- โ๏ธ Email: opensource@muvon.io
๐ Support & Contact
- ๐ข Company: Muvon Un Limited (Hong Kong)
- ๐ Website: muvon.io
- ๐ฆ Product Page: octomind.muvon.io
- ๐ง Email: opensource@muvon.io
- ๐ Issues: GitHub Issues
โ๏ธ License
Apache License 2.0 Copyright ยฉ 2025 Muvon Un Limited