Exploring the integration between Nix and AI coding agents. This repository serves as a testbed for packaging, sandboxing, and enhancing AI-powered development tools within the Nix ecosystem.
This repository uses GitHub Actions to automatically update all packages and flake inputs daily.
- Description: CLI for Amp, an agentic coding tool in research preview from Sourcegraph
- Version: 0.0.1759017703-g4161f5
- Source: bytecode
- License: unfree
- Homepage: https://ampcode.com/
- Usage:
nix run .#amp -- --help
- Description: Backlog.md - A tool for managing project collaboration between humans and AI Agents in a git ecosystem
- Version: 1.14.2
- Source: source
- License: MIT
- Homepage: https://github.com/MrLesk/Backlog.md
- Usage:
nix run .#backlog-md -- --help
- Description: Developer environment that's like catnip for agentic programming
- Version: 0.11.0
- Source: binary
- License: Apache-2.0
- Homepage: https://github.com/wandb/catnip
- Usage:
nix run .#catnip -- --help
- Description: Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster
- Version: 1.0.128
- Source: source
- License: unfree
- Homepage: https://github.com/anthropics/claude-code
- Usage:
nix run .#claude-code -- --help
- Description: Use Claude Code without an Anthropics account and route it to another LLM provider
- Version: 1.0.50
- Source: bytecode
- License: MIT
- Homepage: https://github.com/musistudio/claude-code-router
- Usage:
nix run .#claude-code-router -- --help
- Description: Claude Desktop - AI assistant from Anthropic
- Version: 0.13.37
- Source: binary
- License: unfree
- Homepage: https://claude.ai
- Usage:
nix run .#claude-desktop -- --help
- Description: Sandboxed environment for Claude Code
- Version: unknown
- Source: source
- License: Check package
- Homepage: https://github.com/numtide/nix-ai-tools/tree/main/packages/claudebox
- Usage:
nix run .#claudebox -- --help
- Description: Fork of codex. Orchestrate agents from OpenAI, Claude, Gemini or any provider.
- Version: 0.2.171
- Source: unknown
- License: Apache-2.0
- Homepage: https://github.com/just-every/code/
- Usage:
nix run .#code -- --help
- Description: AI-powered code review CLI tool
- Version: 0.3.2
- Source: unknown
- License: unfree
- Homepage: https://coderabbit.ai
- Usage:
nix run .#coderabbit-cli -- --help
- Description: OpenAI Codex CLI - a coding agent that runs locally on your computer
- Version: 0.40.0
- Source: unknown
- License: Apache-2.0
- Homepage: https://github.com/openai/codex
- Usage:
nix run .#codex -- --help
- Description: The glamourous AI coding agent for your favourite terminal
- Version: 0.10.0
- Source: source
- License: MIT
- Homepage: https://github.com/charmbracelet/crush
- Usage:
nix run .#crush -- --help
- Description: Cursor Agent - CLI tool for Cursor AI code editor
- Version: 2025.09.18-7ae6800
- Source: binary
- License: unfree
- Homepage: https://cursor.com/
- Usage:
nix run .#cursor-agent -- --help
- Description: AI-Enhanced Terminal Development Environment - A comprehensive coding agent that integrates AI capabilities with your development environment
- Version: 0.120.1
- Source: binary
- License: MIT
- Homepage: https://github.com/antinomyhq/forge
- Usage:
nix run .#forge -- --help
- Description: AI agent that brings the power of Gemini directly into your terminal
- Version: 0.6.1
- Source: source
- License: Apache-2.0
- Homepage: https://github.com/google-gemini/gemini-cli
- Usage:
nix run .#gemini-cli -- --help
- Description: CLI for Goose - a local, extensible, open source AI agent that automates engineering tasks
- Version: 1.9.0
- Source: binary
- License: Apache-2.0
- Homepage: https://github.com/block/goose
- Usage:
nix run .#goose-cli -- --help
- Description: A highly customizable, lightweight, and open-source coding CLI powered by Groq for instant iteration
- Version: 1.0.2-unstable-2025-09-05
- Source: source
- License: MIT
- Homepage: https://github.com/build-with-groq/groq-code-cli
- Usage:
nix run .#groq-code-cli -- --help
- Description: A beautiful local-first coding agent running in your terminal - built by the community for the community ⚒
- Version: 1.11.3
- Source: unknown
- License: MIT
- Homepage: https://github.com/Mote-Software/nanocoder
- Usage:
nix run .#nanocoder -- --help
- Description: AI coding agent, built for the terminal
- Version: 0.12.1
- Source: binary
- License: MIT
- Homepage: https://github.com/sst/opencode
- Usage:
nix run .#opencode -- --help
- Description: Command-line AI workflow tool for Qwen3-Coder models
- Version: 0.0.13
- Source: bytecode
- License: Apache-2.0
- Homepage: https://github.com/QwenLM/qwen-code
- Usage:
nix run .#qwen-code -- --help
Add to your system configuration:
{
inputs = {
nix-ai-tools.url = "github:numtide/nix-ai-tools";
};
# In your system packages:
environment.systemPackages = with inputs.nix-ai-tools.packages.${pkgs.system}; [
claude-code
opencode
gemini-cli
qwen-code
# ... other tools
];
}
# Try Claude Code
nix run github:numtide/nix-ai-tools#claude-code
# Try OpenCode
nix run github:numtide/nix-ai-tools#opencode
# Try Gemini CLI
nix run github:numtide/nix-ai-tools#gemini-cli
# Try Qwen Code
nix run github:numtide/nix-ai-tools#qwen-code
# etc...
nix develop
# Build a specific package
nix build .#claude-code
nix build .#opencode
nix build .#qwen-code
# etc...
# Format all code
nix fmt
# Run checks
nix flake check
All packages support:
x86_64-linux
aarch64-linux
x86_64-darwin
aarch64-darwin
This repository serves as a laboratory for exploring how Nix can enhance AI-powered development:
- Sandboxed execution: claudebox demonstrates transparent, sandboxed AI agent execution
- Provider abstraction: claude-code-router explores decoupling AI interfaces from specific providers
- Tool composition: Investigating how multiple AI agents can work together in Nix environments
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Run
nix fmt
before committing - Submit a pull request
Individual tools are licensed under their respective licenses.
The Nix packaging code in this repository is licensed under MIT.