Skip to content

numtide/nix-ai-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.

Daily Updates

This repository uses GitHub Actions to automatically update all packages and flake inputs daily.

Available Tools

amp

  • 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

backlog-md

catnip

claude-code

claude-code-router

claude-desktop

  • 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

claudebox

code

coderabbit-cli

  • 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

codex

crush

cursor-agent

  • 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

forge

  • 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

gemini-cli

goose-cli

  • 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

groq-code-cli

nanocoder

opencode

qwen-code

Installation

Using Nix Flakes

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 Without Installing

# 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...

Development

Setup Development Environment

nix develop

Building Packages

# Build a specific package
nix build .#claude-code
nix build .#opencode
nix build .#qwen-code
# etc...

Code Quality

# Format all code
nix fmt

# Run checks
nix flake check

Package Details

Platform Support

All packages support:

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin

Experimental Features

This repository serves as a laboratory for exploring how Nix can enhance AI-powered development:

Current Experiments

  • 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

Contributing

Contributions are welcome! Please:

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

See also

License

Individual tools are licensed under their respective licenses.

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

About

Exploring the integration between Nix and AI coding agents

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11