Terminal-first autonomous coding runner that orchestrates multiple CLI coding assistants (Claude Code, Codex, Gemini CLI, Aider) through a unified interface.
Status: Pre-Alpha (v0.1.0) - Implementation Skeleton Complete (93%)
AIRISCode is the terminal-first coding agent of the AIRIS Suite - providing a unified CLI interface for autonomous coding.
| Component | Purpose | For Who |
|---|---|---|
| airis-agent | 🧠 Intelligence layer for all editors (confidence checks, deep research, self-review) | All developers using Claude Code, Cursor, Windsurf, Codex, Gemini CLI |
| airis-mcp-gateway | 🚪 Unified MCP proxy with 90% token reduction via lazy loading | Claude Code users who want faster startup |
| mindbase | 💾 Local cross-session memory with semantic search | Developers who want persistent conversation history |
| airis-workspace | 🏗️ Docker-first monorepo manager | Teams building monorepos |
| airiscode (this repo) | 🖥️ Terminal-first autonomous coding agent | CLI-first developers |
- airis-mcp-supabase-selfhost - Self-hosted Supabase MCP with RLS support
- mindbase - Memory search & storage tools (
mindbase_search,mindbase_store)
# Option 1: Install airis-agent plugin (recommended for Claude Code users)
/plugin marketplace add agiletec-inc/airis-agent
/plugin install airis-agent
# Option 2: Clone all AIRIS repositories at once
uv run airis-agent install-suite --profile core
# Option 3: Just use airiscode standalone
npm install -g @airiscode/cli
airis "your task"What you get with the full suite:
- ✅ Confidence-gated workflows (prevents wrong-direction coding)
- ✅ Deep research with evidence synthesis
- ✅ 94% token reduction via repository indexing
- ✅ Cross-session memory across all editors
- ✅ Self-review and post-implementation validation
- 🤖 Multi-LLM Support: OpenAI, Anthropic, Google, Ollama, MLX
- 🔌 CLI Adapters: Unified interface for Codex, Claude Code, Gemini CLI, Aider
- 🛡️ Shell Guard: Blocks dangerous commands (rm -rf /, docker system prune, etc.)
- 🔐 Policy Management: Configurable approval and trust levels
- 🧠 MindBase Integration: Local semantic memory with pgvector
- 🔧 MCP Gateway: Dynamic tool loading via AIRIS MCP Gateway
- 📊 TUI: Beautiful terminal UI built with Ink
Homebrew (Recommended for macOS/Linux)
# Add Agiletec tap
brew tap agiletec-inc/tap
# Install AIRIS Code
brew install airiscode
# Verify installation
airis --versionnpm (Alternative)
# Install globally
npm install -g @airiscode/cli
# Verify installation
airis --versionPrerequisites:
- Node.js >= 20.0.0
- pnpm >= 8.0.0 (install:
npm install -g pnpm)
Setup:
# Clone the repository
git clone https://github.com/agiletec-inc/airiscode.git
cd airiscode
# Install dependencies + generate proto stubs + verify
make setup
# Or manually:
make check-deps # Check pnpm/buf installation
make install # Install dependencies
make codegen # Generate TS/Go stubs from proto
make build # Build all packages
# Run tests
make test
# Link globally for local development
pnpm link --global
# Verify installation
airis --version# Show all available commands
make help
# Watch mode for all packages
pnpm dev
# Run linter
make lint
# Run tests with coverage
make test-coverage
# Run tests in watch mode
make test-watch
# Clean build artifacts
make cleanmake help # Show this help
make check-deps # Check if required dependencies are installed
make install # Install all dependencies
make build # Build all packages via Turbo
make lint # Lint all packages
make test # Run all tests
make test-watch # Run tests in watch mode
make test-coverage # Run tests with coverage
make test-unit # Run unit tests only (faster)
make clean # Clean generated files and build artifactsairiscode/
├── apps/
│ └── airiscode-cli/ # Main CLI application
├── packages/
│ ├── types/ # Shared TypeScript types
│ ├── policies/ # Policy profiles
│ ├── sandbox/ # Shell Guard
│ ├── drivers/ # LLM drivers
│ ├── adapters/ # CLI adapters
│ ├── mcp/ # MCP client & registry
│ ├── runners/ # Git/Docker/Test runners
│ ├── super-agent/ # Super Agent runtime wrapper
│ ├── mindbase/ # MindBase client
│ └── ux/ # Common UI components
└── tools/
└── make/ # Build scripts
# Shorthand - execute task directly
airis "Add a /health endpoint to the API"
# With options
airis "Refactor authentication" --adapter claude-code --policy sandboxed --verbose
# Explicit code command (also works)
airis code "Add authentication feature"
# Interactive mode with restricted access
airis "Review security" --policy restricted
# Use specific adapter and driver
airis "Fix bug #123" --adapter claude-code --driver ollama
# JSON output for CI/CD
airis "Run tests" --json
# Configuration management
airis config --list
airis config --set defaultDriver=ollama
# Session management
airis session --list
airis session --show <session-id>
airis session --resume <session-id>never: Fully autonomous, no user approval requiredon-failure: Pause for user input when errors occur (default)on-request: Require explicit user approval before executing actions
restricted: Read-only filesystem, shell disabledsandboxed: Workspace write allowed, external network blocked (default)untrusted: Full access, but Shell Guard still blocks dangerous commands
See ARCHTECHTURE.md for detailed architecture documentation.
See 実装計画プランニング.md for the detailed implementation roadmap.
Current Phase: Phase 5 Complete ✅
-
Phase 0 - Foundation (3 packages)
@airiscode/types- Common types and Result pattern@airiscode/policies- Security policies (ApprovalsLevel, TrustLevel)@airiscode/sandbox- ShellGuard with deny list
-
Phase 1 - Core Interfaces (2 packages)
@airiscode/drivers- ModelDriver abstract class@airiscode/adapters- AdapterProcess abstract class
-
Phase 2 - Implementations (2 packages)
@airiscode/drivers-local- Ollama driver with streaming@airiscode/adapters-claude-code- Claude Code CLI adapter
-
Phase 3 - MCP Integration (2 packages)
@airiscode/mcp-client- MCP Gateway client with caching@airiscode/mcp-registry- Tool search and invocation tracking
-
Phase 4 - Runners (3 packages)
@airiscode/runners-git- Git operations (status, commit, push, patch)@airiscode/runners-docker- Docker operations (compose, health, stats)@airiscode/runners-test- Multi-framework test runner (7 frameworks)
-
Phase 5 - CLI (1 package)
@airiscode/cli- Commander.js-based CLI with 3 commands- Shorthand command support:
airis "task" - Session management
- Configuration management
- Total Packages: 13
- Total Files: 141
- Lines of Code: 14,180+
- Test Files: 13
- Test Coverage: Comprehensive (2,500+ lines of tests)
Please read CONTRIBUTING.md for development guidelines.
MIT License - see LICENSE for details.
- Super Agent - Confidence gating and deep research
- MindBase - Local semantic memory
- AIRIS MCP Gateway - MCP server aggregation
- QUICKSTART.md - Setup guide & usage examples
- CLAUDE.md - Project guidelines for Claude Code
- ARCHTECHTURE.md - System architecture & design
- INTEGRATION_GUIDE.md - Integrating new components with existing code
- IMPLEMENTATION_STATUS.md - Progress tracking & prioritized TODO
- VERIFICATION_REPORT.md - Implementation verification & acceptance criteria
- AGENTS.md - Repository guidelines & coding standards
- packages/adapters/README.md - Adapter implementation guide
- PUBLISHING.md - npm and Homebrew publishing guide