Quick Start
Get Aspect Code running in under a minute.
Your first minute
This guide walks you through installing Aspect Code and generating your first AGENTS.md. Takes under a minute for most projects.
1. Install the CLI
npm install -g aspectcodeOr run without installing:
npx aspectcodeNo account, no signup, no configuration needed.
2. Run in your project
cd your-project
aspectcodeAspect Code will:
AGENTS.md at your project rootFor most repos, initial analysis takes a few seconds. LLM optimization adds 30–60 seconds.
> Tip: Set an OPENAI_API_KEY or ANTHROPIC_API_KEY environment variable to enable LLM optimization automatically. Without a key, AGENTS.md is generated through static analysis alone.
3. Review AGENTS.md
Open the generated AGENTS.md in your editor. It contains:
The file is plain markdown — you can read, edit, and version-control it.
4. Commit AGENTS.md
We recommend committing AGENTS.md to your repo:
git add AGENTS.md
git commit -m "Add AGENTS.md for AI coding assistants"This way your whole team (and their AI assistants) benefit from the same instructions.
You can also add it to .gitignore if you prefer to keep it local-only.
5. Start coding with context
Open Copilot, Cursor, Claude Code, Windsurf, Cline, or any other AI assistant. They read AGENTS.md automatically and make better, convention-aware changes.
Your assistant now knows:
Next steps
--kb