AgentRC — prime your repositories for AI-assisted development.
- Node.js 20+
- GitHub Copilot CLI — bundled with the VS Code Copilot Chat extension. Run
copilot→/loginto authenticate. - Git host auth — GitHub:
ghCLI orGITHUB_TOKEN/GH_TOKENenv var. Azure DevOps:AZURE_DEVOPS_PAT(orAZDO_PAT) env var.
No install needed:
npx github:microsoft/agentrcThe TUI is an interactive menu where you can generate instructions, score readiness, run evals, and batch-process repos — all from one place. On first run, start with init to scaffold everything in one pass:
npx github:microsoft/agentrc initinit analyzes your repo, scores readiness, and generates tailored instructions and configs. Commit the output:
| File | What it does |
|---|---|
.github/copilot-instructions.md |
Teaches AI agents your repo’s conventions |
.vscode/mcp.json |
Connects AI to your stack's tools and data |
.vscode/settings.json |
Tunes VS Code for AI-assisted dev |
Tip: For multi-agent support (Copilot + Claude + others), also generate
AGENTS.md:npx github:microsoft/agentrc instructions --output AGENTS.mdSee Custom instructions in VS Code for details on instruction file types.
Measure whether your instructions actually improve AI responses:
npx github:microsoft/agentrc eval --init # scaffold test cases
npx github:microsoft/agentrc eval # run evaluationAdd to CI to catch drift:
npx github:microsoft/agentrc readiness --fail-level 3 --json # gate on maturity level
npx github:microsoft/agentrc eval --fail-level 80 --json # gate on eval pass rateSee CI Integration for full GitHub Actions and Azure Pipelines examples.
- Concepts — maturity model, readiness pillars, how instructions are generated
- Commands — full CLI reference
- Configuration —
agentrc.config.jsonfor monorepos - At Scale — batch processing across GitHub orgs and Azure DevOps
- Customize AI in VS Code — instructions, MCP servers, prompt files, custom agents