The codebase IS the curriculum β every file demonstrates an exam concept in production code.
ArchitectAI is an open-source study tool for the Claude Certified Architect (Foundations) exam β but with a twist: the codebase itself teaches you the exam concepts. Every architectural decision, every file, every pattern maps directly to one of the 30 exam task statements across 5 domains.
You don't just read about agentic loops β you see a production implementation in src/agents/loop.ts. You don't just memorise hook patterns β you see PostToolUse normalisation running live in src/agents/hooks.ts.
π No API key required for Tier 1. 162 practice questions, CLI quiz, timed exam simulation, spaced repetition β completely free and offline.
| Feature | Status | Notes |
|---|---|---|
CLI Quiz (quiz) |
β Shipped | 132 questions across all 5 domains |
Timed Exam Simulation (exam) |
β Shipped | 60-question mock exam, 120-min timer, domain-weighted, 720/1000 pass threshold |
Adaptive Study (study) |
β Shipped | SM-2 spaced repetition, domain filtering, source code references |
Exam Readiness (assess) |
β Shipped | Per-domain scoring, weak area identification, study recommendations |
Progress Dashboard (dashboard) |
β Shipped | Terminal dashboard with domain bars, streak tracking, SRS due count |
| Web UI | β Shipped | Next.js app at localhost:3939 β quiz with filters, dashboard, dark mode, mobile-responsive |
| MCP Server | β Shipped | Full JSON-RPC 2.0 server with resources, tools, and prompts |
| Exam Scenarios | β Shipped | 6 production scenarios with 30 linked questions matching official CCA-F format |
| Concept Deep-Dives | π§ Planned | In-depth explanations for all 30 task statements |
git clone https://github.com/aviraldua93/architect-ai.git && cd architect-ai
npm install
npx architect-ai quizOr install globally:
npm install -g architect-ai
architect-ai quizπ‘ That's it. No API key, no account, no cost. Just
quizand start practicing.
architect-ai exam # Timed 60-question mock exam
architect-ai study --domain 1 # Adaptive study with spaced repetition
architect-ai assess # Exam readiness prediction
architect-ai dashboard # Progress tracking dashboardcd web && npm install && npm run dev # Opens at http://localhost:3939|
No API Key Required 105 scenario-based questions across all 5 exam domains. Timed exam simulation. Spaced repetition. Progress tracking. Works offline. Works on a plane. ZERO COST. |
No API Key Required Plugs into your existing Claude Desktop, GitHub Copilot, or any MCP client. Our server provides content + tools. Your AI provides intelligence. ZERO COST. |
Bring Your Own Key Full multi-agent orchestration with adaptive study sessions, Socratic dialogue, and weakness detection. You provide your own Claude API key. ~$0.02β0.05 per session. FULL POWER. |
Every file maps to a specific exam domain and task statement:
| Domain | Weight | Source Directory | Key Concepts |
|---|---|---|---|
| 1. Agentic Architecture | 27% | src/agents/ |
Agentic loops, multi-agent orchestration, subagent context passing, workflow enforcement, SDK hooks, task decomposition, session state |
| 2. Tool Design & MCP | 18% | src/tools/, src/mcp/ |
Tool descriptions, error schemas, tool_choice modes, MCP resources/tools/prompts, built-in tools |
| 3. Claude Code Config | 20% | src/cli/, .claude/ |
CLAUDE.md hierarchy, slash commands, path rules, plan mode, iterative refinement, CI/CD |
| 4. Prompt Engineering | 20% | src/prompts/ |
Explicit criteria, few-shot examples, structured output, validation-retry, batch API, multi-instance review |
| 5. Context & Reliability | 15% | src/context/ |
Context preservation, escalation patterns, error propagation, codebase exploration, human review, provenance |
# Tier 1: Offline study (no API key needed)
npx architect-ai quiz # Quick practice questions
npx architect-ai quiz -d 1 # Filter by domain (1-5)
npx architect-ai quiz -t 1.2 # Filter by task statement
# Tier 2: MCP server (plug into Claude Desktop / Copilot)
npm run mcp # Start MCP server
# Tier 3: Live agents (requires ANTHROPIC_API_KEY β coming soon)
export ANTHROPIC_API_KEY=your-key # macOS/Linux
# $env:ANTHROPIC_API_KEY="your-key" # Windows PowerShell
npm run agent # Adaptive study sessionarchitect-ai/
βββ CLAUDE.md β Domain 3: Claude Code configuration
βββ .claude/commands/ β Domain 3: Slash commands (/study, /quiz, /explain, /assess)
βββ .claude/rules/ β Domain 3: Path-specific rules
βββ src/
β βββ agents/ β Domain 1: Agentic Architecture (27%)
β β βββ coordinator.ts Hub-and-spoke orchestration (1.2)
β β βββ loop.ts Agentic loop lifecycle (1.1)
β β βββ spawner.ts Subagent invocation (1.3)
β β βββ workflow-enforcer.ts Programmatic enforcement (1.4)
β β βββ hooks.ts PostToolUse & interception hooks (1.5)
β β βββ decomposer.ts Task decomposition strategies (1.6)
β β βββ session-state.ts Session management & resumption (1.7)
β βββ tools/ β Domain 2: Tool Design (18%)
β β βββ definitions.ts Tool schemas & descriptions (2.1)
β β βββ error-handling.ts Structured error responses (2.2)
β βββ mcp/ β Domain 2: MCP Integration
β β βββ server.ts MCP server: resources, tools, prompts (2.4)
β βββ prompts/ β Domain 4: Prompt Engineering (20%)
β β βββ system-prompts.ts Agent persona & constraints (4.1)
β β βββ few-shot.ts Example banks & dynamic selection (4.2)
β β βββ output-schemas.ts Zod validation & retry loops (4.3)
β βββ context/ β Domain 5: Context Management (15%)
β β βββ session-manager.ts Session save/load/resume/fork (1.7, 5.1)
β β βββ progress-tracker.ts Weighted scoring & spaced repetition (5.1)
β β βββ escalation.ts Tier 1β2β3 escalation patterns (5.2)
β βββ cli/ β Domain 3: CLI & Commands (20%)
β βββ content/ β Pre-generated study material
β βββ questions/ 105 scenario-based questions
βββ web/ β Next.js web UI (in progress)
βββ test/
β βββ tier1/ β Free static validation (<5s)
β βββ tier2/ β E2E with real Claude (~$3-4/run)
β βββ tier3/ β LLM-as-judge quality checks (~$0.15/run)
βββ docs/ β Architecture & contributor guides
| Domain | Questions | Status |
|---|---|---|
| 1 β Agentic Architecture | 30 | β Complete |
| 2 β Tool Design & MCP | 20 | β Complete |
| 3 β Claude Code Config | 20 | β Complete |
| 4 β Prompt Engineering | 20 | β Complete |
| 5 β Context & Reliability | 15 | β Complete |
| Total | 105 |
This project practices what it preaches. The way it's built IS a demonstration of exam concepts:
- This README β You're reading structured context passing (Domain 5)
- The org that built this β Hub-and-spoke multi-agent orchestration (Domain 1.2)
- Branch protection + CI β Programmatic enforcement over prompt-based guidance (Domain 1.4)
- 3-tier testing β Task decomposition: per-file analysis + cross-file integration (Domain 1.6)
- MCP server architecture β Tool design with proper descriptions and error schemas (Domain 2.1, 2.2)
Contributions welcome! See CONTRIBUTING.md for the full guide β branch naming, PR process, testing, code style, and how to add questions.
ArchitectAI is an aviraldua93 project β built by Aviral Dua using the very agentic patterns it teaches.
Preparing for the Claude Certified Architect exam? Star this repo and start with Tier 1. No API key. No cost. Just learning.