Skip to content
vic

numtide/nix-ai-tools

Exploring the integration between Nix and AI coding agents

numtide/nix-ai-tools.json
{
"createdAt": "2025-07-18T10:29:06Z",
"defaultBranch": "main",
"description": "Exploring the integration between Nix and AI coding agents",
"fullName": "numtide/nix-ai-tools",
"homepage": "",
"language": "Python",
"name": "nix-ai-tools",
"pushedAt": "2025-11-27T03:05:18Z",
"stargazersCount": 278,
"topics": [
"buildbot-numtide"
],
"updatedAt": "2025-11-27T03:05:19Z",
"url": "https://github.com/numtide/nix-ai-tools"
}
nix-ai-tools

Mentioned in Awesome Gemini CLI

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.1763942525-gea5db0
  • Source: bytecode
  • License: unfree
  • Homepage: https://ampcode.com/
  • Usage: nix run github:numtide/nix-ai-tools#amp -- --help
  • Description: Backlog.md - A tool for managing project collaboration between humans and AI Agents in a git ecosystem
  • Version: 1.20.1
  • Source: source
  • License: MIT
  • Homepage: https://github.com/MrLesk/Backlog.md
  • Usage: nix run github:numtide/nix-ai-tools#backlog-md -- --help
  • Description: Developer environment that’s like catnip for agentic programming
  • Version: 0.11.3
  • Source: binary
  • License: Apache-2.0
  • Homepage: https://github.com/wandb/catnip
  • Usage: nix run github:numtide/nix-ai-tools#catnip -- --help
  • Description: A highly customizable status line formatter for Claude Code CLI
  • Version: 2.0.23
  • Source: bytecode
  • License: MIT
  • Homepage: https://github.com/sirmalloc/ccstatusline
  • Usage: nix run github:numtide/nix-ai-tools#ccstatusline -- --help
  • Description: Usage analysis tool for Claude Code
  • Version: 17.1.6
  • Source: bytecode
  • License: MIT
  • Homepage: https://github.com/ryoppippi/ccusage
  • Usage: nix run github:numtide/nix-ai-tools#ccusage -- --help
  • Description: Usage analysis tool for OpenAI Codex sessions
  • Version: 17.1.6
  • Source: bytecode
  • License: MIT
  • Homepage: https://github.com/ryoppippi/ccusage
  • Usage: nix run github:numtide/nix-ai-tools#ccusage-codex -- --help
  • Description: Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster
  • Version: 2.0.50
  • Source: source
  • License: unfree
  • Homepage: https://github.com/anthropics/claude-code
  • Usage: nix run github:numtide/nix-ai-tools#claude-code -- --help
  • Description: An ACP-compatible coding agent powered by the Claude Code SDK (TypeScript)
  • Version: 0.10.6
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/zed-industries/claude-code-acp
  • Usage: nix run github:numtide/nix-ai-tools#claude-code-acp -- --help
  • Description: Use Claude Code without an Anthropics account and route it to another LLM provider
  • Version: 1.0.71
  • Source: bytecode
  • License: MIT
  • Homepage: https://github.com/musistudio/claude-code-router
  • Usage: nix run github:numtide/nix-ai-tools#claude-code-router -- --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 github:numtide/nix-ai-tools#claudebox -- --help
  • Documentation: See [packages/claudebox/README.md]!(packages/claudebox/README.md) for detailed usage
  • Description: Fork of codex. Orchestrate agents from OpenAI, Claude, Gemini or any provider.
  • Version: 0.5.2
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/just-every/code/
  • Usage: nix run github:numtide/nix-ai-tools#code -- --help
  • Description: AI-powered code review CLI tool
  • Version: 0.3.4
  • Source: binary
  • License: unfree
  • Homepage: https://coderabbit.ai
  • Usage: nix run github:numtide/nix-ai-tools#coderabbit-cli -- --help
  • Description: OpenAI Codex CLI - a coding agent that runs locally on your computer
  • Version: 0.63.0
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/openai/codex
  • Usage: nix run github:numtide/nix-ai-tools#codex -- --help
  • Description: An ACP-compatible coding agent powered by Codex
  • Version: 0.5.0
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/zed-industries/codex-acp
  • Usage: nix run github:numtide/nix-ai-tools#codex-acp -- --help
  • Documentation: See [packages/codex-acp/README.md]!(packages/codex-acp/README.md) for detailed usage
  • Description: GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.
  • Version: 0.0.362
  • Source: bytecode
  • License: unfree
  • Homepage: https://github.com/github/copilot-cli
  • Usage: nix run github:numtide/nix-ai-tools#copilot-cli -- --help
  • Description: The glamourous AI coding agent for your favourite terminal
  • Version: 0.18.5
  • Source: source
  • License: MIT
  • Homepage: https://github.com/charmbracelet/crush
  • Usage: nix run github:numtide/nix-ai-tools#crush -- --help
  • Description: Cursor Agent - CLI tool for Cursor AI code editor
  • Version: 2025.11.20-a4d3945
  • Source: binary
  • License: unfree
  • Homepage: https://cursor.com/
  • Usage: nix run github:numtide/nix-ai-tools#cursor-agent -- --help
  • Description: Factory AI’s Droid - AI-powered development agent for your terminal
  • Version: 0.26.12
  • Source: binary
  • License: unfree
  • Homepage: https://factory.ai
  • Usage: nix run github:numtide/nix-ai-tools#droid -- --help
  • Description: Editor Code Assistant (ECA) - AI pair programming capabilities agnostic of editor
  • Version: 0.79.1
  • Source: binary
  • License: Apache-2.0
  • Homepage: https://github.com/editor-code-assistant/eca
  • Usage: nix run github:numtide/nix-ai-tools#eca -- --help
  • Description: AI-Enhanced Terminal Development Environment - A comprehensive coding agent that integrates AI capabilities with your development environment
  • Version: 1.6.0
  • Source: binary
  • License: MIT
  • Homepage: https://github.com/antinomyhq/forge
  • Usage: nix run github:numtide/nix-ai-tools#forge -- --help
  • Documentation: See [packages/forge/README.md]!(packages/forge/README.md) for detailed usage
  • Description: AI agent that brings the power of Gemini directly into your terminal
  • Version: 0.17.1
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/google-gemini/gemini-cli
  • Usage: nix run github:numtide/nix-ai-tools#gemini-cli -- --help
  • Description: CLI for Goose - a local, extensible, open source AI agent that automates engineering tasks
  • Version: 1.15.0
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/block/goose
  • Usage: nix run github:numtide/nix-ai-tools#goose-cli -- --help
  • Description: A highly customizable, lightweight, and open-source coding CLI powered by Groq for instant iteration
  • Version: 0-unstable-2025-09-05
  • Source: source
  • License: MIT
  • Homepage: https://github.com/build-with-groq/groq-code-cli
  • Usage: nix run github:numtide/nix-ai-tools#groq-code-cli -- --help
  • Description: Fast and accurate local transcription app using AI models
  • Version: 0.6.2
  • Source: binary
  • License: unfree
  • Homepage: https://handy.computer/
  • Usage: nix run github:numtide/nix-ai-tools#handy -- --help
  • Description: The open-source AI coding agent. Now available in your terminal.
  • Version: 0.6.0
  • Source: bytecode
  • License: Apache-2.0
  • Homepage: https://kilocode.ai/cli
  • Usage: nix run github:numtide/nix-ai-tools#kilocode-cli -- --help
  • Description: A beautiful local-first coding agent running in your terminal - built by the community for the community ⚒
  • Version: 1.16.5
  • Source: source
  • License: MIT
  • Homepage: https://github.com/Mote-Software/nanocoder
  • Usage: nix run github:numtide/nix-ai-tools#nanocoder -- --help
  • Description: AI coding agent built for the terminal
  • Version: 1.0.106
  • Source: source
  • License: MIT
  • Homepage: https://github.com/sst/opencode
  • Usage: nix run github:numtide/nix-ai-tools#opencode -- --help
  • Description: Universal skills loader for AI coding agents - install and load Anthropic SKILL.md format skills in any agent
  • Version: 1.2.1
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/numman-ali/openskills
  • Usage: nix run github:numtide/nix-ai-tools#openskills -- --help
  • Description: Spec-driven development for AI coding assistants
  • Version: 0.16.0
  • Source: bytecode
  • License: MIT
  • Homepage: https://github.com/Fission-AI/OpenSpec
  • Usage: nix run github:numtide/nix-ai-tools#openspec -- --help
  • Description: Command-line AI workflow tool for Qwen3-Coder models
  • Version: 0.2.3
  • Source: source
  • License: Apache-2.0
  • Homepage: https://github.com/QwenLM/qwen-code
  • Usage: nix run github:numtide/nix-ai-tools#qwen-code -- --help
  • Description: Specify CLI, part of GitHub Spec Kit. A tool to bootstrap your projects for Spec-Driven Development (SDD)
  • Version: 0.0.85
  • Source: source
  • License: MIT
  • Homepage: https://github.com/github/spec-kit
  • Usage: nix run github:numtide/nix-ai-tools#spec-kit -- --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
];
}
Terminal window
# 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...

Pre-built binaries are available from the Numtide Cachix cache. All packages are built daily via CI and pushed to the cache, so you can avoid compiling from source.

This cache is automatically configured when this flake is used directly (e.g nix run github:numtide/nix-ai-tools#claude-code)

To use the binary cache when using this flake as an input, add nixConfig to your flake:

{
nixConfig = {
extra-substituters = [ "https://numtide.cachix.org" ];
extra-trusted-public-keys = [ "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" ];
};
}
Terminal window
nix develop
Terminal window
# Build a specific package
nix build .#claude-code
nix build .#opencode
nix build .#qwen-code
# etc...
Terminal window
# 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:

  1. Fork the repository
  2. Create a feature branch
  3. Run nix fmt before committing
  4. Submit a pull request

Individual tools are licensed under their respective licenses.

The Nix packaging code in this repository is licensed under MIT.