Getting Started
Welcome to Mimir! This guide will help you get up and running quickly.
⚠️
Mimir is currently in active development. Some features may not be fully implemented yet.
What is Mimir?
Mimir is a platform-agnostic AI coding agent CLI that:
- Works on Windows, macOS, and Linux
- Supports multiple LLM providers (DeepSeek, Anthropic)
- Uses your own API keys (BYOK)
- Provides Docker sandboxing for safe code execution
- Includes a permission system for security
- Built with TypeScript and comprehensive tests
Prerequisites
Before you begin, ensure you have:
- Node.js 22+ installed
- npm or yarn package manager
- (Optional) Docker Desktop for sandboxed execution
- API keys for your preferred LLM provider (DeepSeek or Anthropic)
Quick Start
Install Mimir
npm install -g mimir-codeOr use with npx (no installation required):
npx mimir-codeInitialize a Project
Navigate to your project directory and initialize Mimir:
cd your-project
mimir initThis creates a .mimir/ directory with:
config.yml- Configuration filemimir.db- SQLite database for conversation history
Configure Your Provider
Edit .mimir/config.yml to add your API key:
llm:
provider: deepseek
apiKey: ${DEEPSEEK_API_KEY} # Or set directly (not recommended)
model: deepseek-chat
temperature: 0.7
maxTokens: 4000Or set via environment variable:
export DEEPSEEK_API_KEY="your-api-key-here"Start Chatting
mimirYou’re ready to go! Try asking:
- “Explain the project structure”
- “Add error handling to the login function”
- “Write unit tests for the API client”
Next Steps
- Installation - Detailed installation instructions
- Custom Commands - Learn about custom slash commands
- Keyboard Shortcuts - Configure keyboard shortcuts
- Architecture - Understand how Mimir works
Need Help?
- Check the Configuration section for setup options
- Read the Contributing guide to understand the codebase
- Visit GitHub Issues for support