Structured AI-assisted development framework with plan lifecycle, review gates, and continuous improvement.
Project description
AgentScaffold
Structured AI-assisted development framework with plan lifecycle, review gates, and continuous improvement.
What Is This?
AgentScaffold gives your AI coding agent (Cursor, Claude Code, Codex, aider, etc.) a structured development workflow. It generates an AGENTS.md file that teaches your agent to:
- Follow a plan lifecycle (Draft -> Review -> Ready -> In Progress -> Complete) with configurable gates
- Run devil's advocate and expansion reviews before execution
- Maintain interface contracts between modules
- Complete retrospectives after every plan, feeding learnings back into the process
- Track state across sessions via workflow state, learnings tracker, and plan completion log
Quick Start
pip install agentscaffold
cd my-project
scaffold init
The init command scaffolds your project with:
docs/ai/-- templates, prompts, standards, state filesAGENTS.md-- rules your AI agent follows automatically.cursor/rules.md-- Cursor-specific rulesscaffold.yaml-- your project's framework configurationjustfile+Makefile-- task runner shortcuts.github/workflows/-- CI with security scanning
Execution Profiles
Interactive (default): Human + AI agent in an IDE conversation. The agent follows AGENTS.md, asks questions when uncertain.
Semi-Autonomous (opt-in): Agent invoked from CLI/CI without a human present. Adds session tracking, safety boundaries, notification hooks, structured PR output, and cautious execution rules.
Both profiles coexist in the same AGENTS.md. The agent self-selects based on invocation context.
Rigor Levels
- Minimal: Lightweight gates for prototypes and small projects
- Standard: Full plan lifecycle with reviews, contracts, and retrospectives
- Strict: All gates enforced, all plans require approval
Domain Packs
Domain packs add specialized review prompts, standards, and approval gates:
| Pack | Focus |
|---|---|
| trading | Quantitative finance, RL, traceability |
| webapp | UX/UI, accessibility, performance budgets |
| mlops | Model lifecycle, experiment tracking, drift detection |
| data-engineering | Pipeline quality, schema evolution, SLAs |
| api-services | API design, backward compatibility, contract testing |
| infrastructure | IaC, deployment safety, cost analysis |
| mobile | Platform guidelines, offline-first, app store compliance |
| game-dev | Game loops, ECS, frame budgets |
| embedded | Memory constraints, real-time deadlines, OTA safety |
| research | Reproducibility, statistical rigor, experiment protocol |
scaffold domain add trading
scaffold domain add webapp
CLI Commands
scaffold init # Set up framework
scaffold plan create my-feature # Create a plan
scaffold plan lint --plan 001 # Validate a plan
scaffold plan status # Dashboard of all plans
scaffold validate # Run all checks
scaffold retro check # Find missing retrospectives
scaffold agents generate # Regenerate AGENTS.md
scaffold cursor setup # Regenerate .cursor/rules.md
scaffold import chat.json --format chatgpt # Import conversation
scaffold ci setup # Generate CI workflows
scaffold taskrunner setup # Generate justfile + Makefile
scaffold metrics # Plan analytics
Documentation
Full documentation is in docs/:
- User Guide -- interaction patterns and session workflow
- Getting Started
- Configuration Reference
- Domain Packs
- Semi-Autonomous Guide
- CI Integration
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentscaffold-0.1.0.tar.gz.
File metadata
- Download URL: agentscaffold-0.1.0.tar.gz
- Upload date:
- Size: 242.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b821c9498ad836edde3444dd50bea3ef16411450e8a9872039f2782230a970f
|
|
| MD5 |
75cfeab777afee9837256335d51ebc14
|
|
| BLAKE2b-256 |
b8052d3bd2d53f98eb3e2cd82828d0b87c777eaa307f9fa9c390889deb57b6f0
|
File details
Details for the file agentscaffold-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentscaffold-0.1.0-py3-none-any.whl
- Upload date:
- Size: 300.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620ff2f037e55f1936773e175f744ec3a7e13bff865732c0501c2645dbf20ae5
|
|
| MD5 |
34eb557a400a02a8140c80cc70ae87ed
|
|
| BLAKE2b-256 |
6b70f762eb2d791dcb6c9bbdd2429dd2bd96093455907554ad56dcd43ca4fa8f
|