Nix packages for AI coding agents and development tools. Automatically updated daily. Enables operations teams to streamline workflows, reduce setup time, and ensure consistent environments. Integrates with buildbot-numtide for CI/CD pipelines.
git clone https://github.com/numtide/llm-agents.nix.githttps://github.com/numtide/llm-agents.nix
[{"step":"Initialize the Nix flake in your project directory.","action":"Run `nix flake init -t github:llm-agents.nix#copilot` to generate a starter flake for GitHub Copilot. Replace `copilot` with the agent of your choice (e.g., `cursor`, `claude-code`).","tip":"Use `nix flake show` to explore available templates and their configurations."},{"step":"Customize the flake for your environment.","action":"Edit the flake to include your [DEPENDENCIES] (e.g., specific Python or Node.js versions) and [AGENT_CONFIGURATION] (e.g., API keys, environment variables). Add any additional build steps or runtime flags required by your agent.","tip":"Use `nix-shell` to test your configuration locally before deploying. Run `nix develop` to enter the devShell."},{"step":"Integrate with your CI/CD pipeline.","action":"Configure the `ci` section of the flake to match your Buildbot-Numtide pipeline. Define jobs for building, testing, and deploying your agent. For example, add a `deploy` job that copies the closure to your production server.","tip":"Use `nix build .#packages.<system>.default` to test the build locally before pushing to CI."},{"step":"Deploy and monitor.","action":"Push your flake to your repository and trigger the CI pipeline. Monitor the Buildbot-Numtide dashboard for build and deployment status. Use `nix-copy-closure` to manually deploy if needed.","tip":"Enable daily updates by subscribing to the `llm-agents.nix` flake input to ensure your agent stays up-to-date with the latest versions."}]
Automate repetitive coding tasks using AI agents to save time and reduce errors.
Integrate various AI coding tools to enhance code quality and streamline development workflows.
Leverage AI capabilities for faster debugging and code optimization.
Utilize terminal-based coding agents for real-time coding assistance and suggestions.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/numtide/llm-agents.nixCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a Nix flake for deploying [AGENT_NAME] (e.g., GitHub Copilot, Cursor, or a custom AI coding agent) in a reproducible environment. Include [DEPENDENCIES] (e.g., Python 3.11, Node.js 20, or specific AI tool versions) and configure it to work with [CI_SYSTEM] (e.g., Buildbot-Numtide). Ensure the flake includes [AGENT_CONFIGURATION] (e.g., API keys, environment variables, or runtime flags) and outputs a devShell for local development and a package for deployment.
```nix
{
description = "Nix flake for deploying GitHub Copilot in a reproducible environment with Buildbot-Numtide CI/CD integration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
buildbot-numtide.url = "github:numtide/buildbot-numtide";
};
outputs = { self, nixpkgs, flake-utils, buildbot-numtide }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
agent = pkgs.stdenv.mkDerivation {
name = "github-copilot-agent";
src = ./.;
buildInputs = with pkgs; [
python311
nodejs-20_x
git
gh
copilot-cli
];
phases = "installPhase";
installPhase = ''
mkdir -p $out/bin
cp ${pkgs.copilot-cli}/bin/copilot $out/bin/copilot
cp -r ${./agent-config} $out/config
'';
};
in {
packages.default = agent;
devShells.default = pkgs.mkShell {
packages = with pkgs; [
python311
nodejs-20_x
git
gh
copilot-cli
direnv
lorri
];
shellHook = ''
export COPILOT_API_KEY="${builtins.readFile ./secrets/copilot-api-key}"
export PATH="$PWD/bin:$PATH"
'';
};
apps.default = {
type = "app";
program = "${agent}/bin/copilot";
};
ci = buildbot-numtide.lib.ci {
jobs = {
build = {
steps = [
{
name = "Build GitHub Copilot Agent";
command = "nix build .#packages.${system}.default";
}
{
name = "Run Tests";
command = "nix-shell --run 'pytest tests/'";
}
];
};
deploy = {
steps = [
{
name = "Deploy to Production";
command = "nix-copy-closure --to user@production-server ${agent}";
}
];
};
};
};
}
);
}
```
This Nix flake automates the deployment of GitHub Copilot in a reproducible environment, ensuring consistency across development and production. The `devShell` provides a pre-configured shell with all dependencies, including Python 3.11, Node.js 20, and the Copilot CLI, while the `packages.default` output creates a deployable binary. The CI/CD integration with Buildbot-Numtide includes build, test, and deploy steps, streamlining the workflow for operations teams. The flake also handles environment variables like `COPILOT_API_KEY` securely, reducing setup time and eliminating "works on my machine" issues.Your one-stop shop for church and ministry supplies.
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Customer feedback management made simple
Complete help desk solution for growing teams
The AI automation platform built for everyone
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan