{"id":29933951,"url":"https://github.com/numtide/nix-ai-tools","last_synced_at":"2025-08-09T22:15:23.965Z","repository":{"id":305177784,"uuid":"1022026685","full_name":"numtide/nix-ai-tools","owner":"numtide","description":"Exploring the integration between Nix and AI coding agents","archived":false,"fork":false,"pushed_at":"2025-08-02T02:46:34.000Z","size":2777,"stargazers_count":28,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-02T04:54:09.818Z","etag":null,"topics":["buildbot-numtide"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numtide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-18T10:29:06.000Z","updated_at":"2025-08-02T02:46:38.000Z","dependencies_parsed_at":"2025-08-02T04:26:43.832Z","dependency_job_id":null,"html_url":"https://github.com/numtide/nix-ai-tools","commit_stats":null,"previous_names":["numtide/nix-ai-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/numtide/nix-ai-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnix-ai-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnix-ai-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnix-ai-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnix-ai-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtide","download_url":"https://codeload.github.com/numtide/nix-ai-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Fnix-ai-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268438996,"owners_count":24250667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildbot-numtide"],"created_at":"2025-08-02T19:02:25.811Z","updated_at":"2025-08-09T22:15:23.940Z","avatar_url":"https://github.com/numtide.png","language":"Shell","funding_links":[],"categories":["Development Tools \u0026 Utilities","Nix"],"sub_categories":[],"readme":"\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs/nix-ai-tools-banner--dark.svg\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"docs/nix-ai-tools-banner--white.svg\"\u003e\n  \u003cimg alt=\"nix-ai-tools\" src=\"docs/nix-ai-tools-banner--white.svg\"\u003e\n\u003c/picture\u003e\n\nExploring 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.\n\n## Automated Updates\n\nThis repository uses GitHub Actions to automatically update all packages and flake inputs daily. Updates are created as individual pull requests for easy review and testing. See `.github/workflows/update.yml` for the workflow configuration.\n\n## Available Tools\n\n`\u003e ./scripts/generate-package-docs.sh`\n\n\u003c!-- BEGIN mdsh --\u003e\n#### amp\n\n- **Description**: CLI for Amp, an agentic coding tool in research preview from Sourcegraph\n- **Version**: 0.0.1754626568-ga6faed\n- **License**: unfree\n- **Homepage**: https://ampcode.com/\n- **Usage**: `nix run .#amp -- --help`\n\n#### backlog-md\n\n- **Description**: Backlog.md - A tool for managing project collaboration between humans and AI Agents in a git ecosystem\n- **Version**: 1.7.2\n- **License**: MIT\n- **Homepage**: https://github.com/MrLesk/Backlog.md\n- **Usage**: `nix run .#backlog-md -- --help`\n\n#### claude-code\n\n- **Description**: Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster\n- **Version**: 1.0.72\n- **License**: unfree\n- **Homepage**: https://github.com/anthropics/claude-code\n- **Usage**: `nix run .#claude-code -- --help`\n\n#### claude-code-router\n\n- **Description**: Use Claude Code without an Anthropics account and route it to another LLM provider\n- **Version**: 1.0.33\n- **License**: MIT\n- **Homepage**: https://github.com/musistudio/claude-code-router\n- **Usage**: `nix run .#claude-code-router -- --help`\n\n#### claude-desktop\n\n- **Description**: Claude Desktop - AI assistant from Anthropic\n- **Version**: 0.12.55\n- **License**: unfree\n- **Homepage**: https://claude.ai\n- **Usage**: `nix run .#claude-desktop -- --help`\n\n#### claudebox\n\n- **Description**: Sandboxed environment for Claude Code\n- **Version**: unknown\n- **License**: Check package\n- **Usage**: `nix run .#claudebox -- --help`\n\n#### crush\n\n- **Description**: The glamourous AI coding agent for your favourite terminal\n- **Version**: 0.4.0\n- **License**: MIT\n- **Homepage**: https://github.com/charmbracelet/crush\n- **Usage**: `nix run .#crush -- --help`\n\n#### cursor-agent\n\n- **Description**: Cursor Agent - CLI tool for Cursor AI code editor\n- **Version**: 2025.08.08-562252e\n- **License**: unfree\n- **Homepage**: https://cursor.com/\n- **Usage**: `nix run .#cursor-agent -- --help`\n\n#### gemini-cli\n\n- **Description**: AI agent that brings the power of Gemini directly into your terminal\n- **Version**: 0.1.18\n- **License**: Apache-2.0\n- **Homepage**: https://github.com/google-gemini/gemini-cli\n- **Usage**: `nix run .#gemini-cli -- --help`\n\n#### opencode\n\n- **Description**: AI coding agent, built for the terminal\n- **Version**: 0.4.2\n- **License**: MIT\n- **Homepage**: https://github.com/sst/opencode\n- **Usage**: `nix run .#opencode -- --help`\n\n#### qwen-code\n\n- **Description**: Command-line AI workflow tool for Qwen3-Coder models\n- **Version**: 0.0.4\n- **License**: Apache-2.0\n- **Homepage**: https://github.com/QwenLM/qwen-code\n- **Usage**: `nix run .#qwen-code -- --help`\n\n\u003c!-- END mdsh --\u003e\n\n## Installation\n\n### Using Nix Flakes\n\nAdd to your system configuration:\n\n```nix\n{\n  inputs = {\n    nix-ai-tools.url = \"github:numtide/nix-ai-tools\";\n  };\n\n  # In your system packages:\n  environment.systemPackages = with inputs.nix-ai-tools.packages.${pkgs.system}; [\n    claude-code\n    opencode\n    gemini-cli\n    qwen-code\n    # ... other tools\n  ];\n}\n```\n\n### Try Without Installing\n\n```bash\n# Try Claude Code\nnix run github:numtide/nix-ai-tools#claude-code\n\n# Try OpenCode\nnix run github:numtide/nix-ai-tools#opencode\n\n# Try Gemini CLI\nnix run github:numtide/nix-ai-tools#gemini-cli\n\n# Try Qwen Code\nnix run github:numtide/nix-ai-tools#qwen-code\n```\n\n## Development\n\n### Setup Development Environment\n\n```bash\nnix develop\n```\n\n### Building Packages\n\n```bash\n# Build a specific package\nnix build .#claude-code\nnix build .#opencode\nnix build .#qwen-code\n# etc...\n```\n\n### Code Quality\n\n```bash\n# Format all code\nnix fmt\n\n# Run checks\nnix flake check\n```\n\n## Package Details\n\n### Platform Support\n\nAll packages support:\n\n- `x86_64-linux`\n- `aarch64-linux`\n- `x86_64-darwin`\n- `aarch64-darwin`\n\n### Dependencies\n\nMost packages are based on Node.js 20, with some providing pre-built binaries. Each package is self-contained with all required dependencies.\n\n## Experimental Features\n\nThis repository serves as a laboratory for exploring how Nix can enhance AI-powered development:\n\n### Current Experiments\n\n- **Sandboxed execution**: claudebox demonstrates transparent, sandboxed AI agent execution\n- **Provider abstraction**: claude-code-router explores decoupling AI interfaces from specific providers\n- **Tool composition**: Investigating how multiple AI agents can work together in Nix environments\n\n## Contributing\n\nContributions are welcome! Please:\n\n1. Fork the repository\n1. Create a feature branch\n1. Run `nix fmt` before committing\n1. Submit a pull request\n\n## See also\n\n- https://github.com/k3d3/claude-desktop-linux-flake\n\n## License\n\nIndividual tools are licensed under their respective licenses:\n\n- claude-code: Proprietary\n- opencode: MIT\n- gemini-cli: Apache 2.0\n- claude-code-router: Check package\n- claudebox: Check package\n\nThe Nix packaging code in this repository is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Fnix-ai-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtide%2Fnix-ai-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Fnix-ai-tools/lists"}