Skip to content

aviraldua93/architect-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Architect AI Hero

ArchitectAI β€” Free Study Tool for the Claude Certified Architect Exam

The codebase IS the curriculum β€” every file demonstrates an exam concept in production code.

GitHub stars License: MIT CI TypeScript


What Is This?

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

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

Quick Start

git clone https://github.com/aviraldua93/architect-ai.git && cd architect-ai
npm install
npx architect-ai quiz

Or install globally:

npm install -g architect-ai
architect-ai quiz

πŸ’‘ That's it. No API key, no account, no cost. Just quiz and start practicing.

More Commands

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 dashboard

Web UI

cd web && npm install && npm run dev   # Opens at http://localhost:3939

Three Ways to Learn

πŸ–₯️ Tier 1 β€” Static CLI

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.

πŸ”Œ Tier 2 β€” MCP Server

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.

πŸ€– Tier 3 β€” Live Agents

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.

Exam Coverage

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

Usage

# 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 session

Project Structure

architect-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

Question Banks

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

The Meta-Pattern

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)

Contributing

Contributions welcome! See CONTRIBUTING.md for the full guide β€” branch naming, PR process, testing, code style, and how to add questions.

About

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.

Releases

No releases published

Packages

 
 
 

Contributors