@astrolyn/aiden
v0.12.0
Published
AI-Driven Engineering - CLI framework for AI-assisted development
Maintainers
Readme
AIDEN — AI-Driven Engineering
AIDEN orchestrates specialized AI agents to turn a request into delivered, tested, and traced code. You describe what you want, AIDEN distributes the work across 6 agents (Analyst, Planner, Dev, QA, DocOps) and delivers code with full traceability of AI decisions.
Built for enterprise development teams: provider-agnostic (Claude Code, Gemini, Copilot, OpenCode, custom API), injectable skills and rules, security filtering, lessons learned (retex), built-in compliance, feature-first for brownfield projects.
Quickstart (5 minutes)
Prerequisites
- Node.js 20+ and bun (or npm/yarn)
- At least one AI provider installed: Claude Code, Gemini CLI or GitHub Copilot CLI
1. Install
$ bun add -g @astrolyn/aiden
$ aiden --version # 0.10.02. Initialize in your project
$ cd my-project
$ aiden initAIDEN scans the project and automatically detects the tech stack, architecture, CI/CD and package manager. Everything is stored in .aiden/ (commit it with your code).
3. First workflow (flash = bug fix / small feature)
$ aiden flash "Add a GET /health endpoint returning {status: ok}"Flash mode is direct: Dev implements, writes tests, traces the decision. No ceremony.
4. Full workflow (standard = feature with analysis + review)
$ aiden standard "Add a user management REST API with pagination"Standard mode chains 4 automatic phases:
| Phase | Agent | What it does | |-------|-------|-------------| | Discovery | Analyst | Scans code, estimates complexity, identifies risks | | Planning | Planner | Creates a spec + stories with acceptance criteria | | Implementation | Dev | Implements each story with tests | | Validation | QA | Reviews code vs criteria, loops with Dev on failure |
Artifacts generated in .aiden/features/<slug>/: brief.md, spec.md, stories/, review.md, change-summary.md.
5. Verify
$ aiden status # View all features
$ aiden metrics # Tokens, costs, durations
$ cat .aiden/memory/decisions.jsonl # AI decision history3 adaptive modes
| Mode | Usage | Agents | Estimated time |
|------|-------|--------|---------------|
| aiden flash | Bug fix, hotfix, small feature | Lead + Dev | < 30 min |
| aiden standard | Medium feature, new API | + Analyst, Planner, QA | 2h - 1 day |
| aiden enterprise | Critical project, compliance required | + DocOps + human approval | 1 day+ |
AIDEN automatically detects the optimal mode. You can switch modes mid-workflow without losing work:
$ aiden switch export-csv standard # switch from flash to standard mid-featureIntelligent multi-provider
Each agent receives the optimal provider for its task:
| Task | Default provider | Reason | |------|-----------------|--------| | Analysis & Review | Claude Code | Best reasoning | | Code generation | Gemini | Performant multi-file | | Quick fix | Copilot | Speed + fixed cost |
4 routing strategies: fixed, prefer, auto, cost-optimized. Automatic fallback if a provider is unavailable.
For teams
Enterprise rules
Define your standards in .aiden/rules/ (coding standards, security, architecture). They are automatically injected into every agent's prompts.
$ aiden rules add security-policy.mdSkills (extensibility)
Skills are declarative packages (YAML + Markdown) that bundle instructions, rules and hooks. Drop a folder in .aiden/skills/ and AIDEN discovers it automatically.
$ aiden skills init my-skill # Create a skill
$ aiden skills list # List skills
$ aiden skills enable/disable <name> # Enable/disable3 built-in templates: code-review-strict, compliance-rgpd, jira-sync.
Multi-level configuration
5 configuration levels that cascade:
AIDEN defaults → Global config (~/.aiden/) → Project config (.aiden/) → Feature config → CLI flagsGlobal config is installed once per workstation and applies to all projects.
Compliance and audit
- decisions.jsonl: every AI decision is traced (who, what, why, token count)
- metrics.jsonl: cost per agent, per provider, per feature
- Human approval in enterprise mode between each phase
- DocOps generates changelog, documentation, runbooks
Commands
aiden init # Initialize AIDEN in the project
aiden flash "description" # Fast mode (direct Dev)
aiden standard "description" # Standard mode (Analyst → Planner → Dev → QA)
aiden enterprise "description" # Enterprise mode (+ DocOps + approval)
aiden status [feature] # Feature status
aiden resume <feature> # Resume a blocked feature
aiden abort <feature> # Abort a feature
aiden switch <feature> <mode> # Switch mode mid-feature
aiden agent <name> "prompt" # Invoke an agent directly
aiden provider status|switch|cost # Manage AI providers
aiden metrics [--export csv] # Usage metrics and costs
aiden config show|set # Configuration
aiden rules add|list|remove # Enterprise rules
aiden skills list|init|add|remove # Extensibility skills
aiden retex add|list|search|remove # Lessons learned
aiden template customize|list # Artifact templatesClaude Code mode (slash commands)
AIDEN also works directly inside Claude Code without installing the CLI:
/aiden-init /aiden-flash /aiden-standard /aiden-enterprise
/aiden-status /aiden-resume /aiden-agent /aiden-rulesBoth modes (CLI and slash) write to the same .aiden/ files.
Documentation
| Guide | Description | |-------|-------------| | Installation | Prerequisites, installation, provider setup | | Quickstart | Complete scenario from zero in 5 minutes | | First feature | Detailed standard workflow phase by phase | | Deployment guide | Deploy AIDEN in an organization (pilot, rollout, governance) | | Modes | Flash, standard, enterprise: when to use what | | Rules & templates | Configure enterprise standards | | Skills | Enterprise extensibility: instruction packages, rules and hooks | | Brownfield | Add AIDEN to an existing project | | Team usage | Git workflow, onboarding, conventions | | CI/CD | Pipeline integration |
Note: The documentation site is written in French (project language for docs). The code, CLI, and this README are in English.
Tests
$ bun test # 444 unit tests
$ bun run typecheck # TypeScript strict check
$ bun run lint # ESLintLicense
AGPL-3.0 — See LICENSE for details.
