Loading…
Loading…
Turn a Product Requirements Document into a bootable FastAPI application — auth, CRUD, Pydantic schemas, Alembic migrations, /docs. One Python file. Zero dependencies. No API keys.
Inspired by Karpathy's micrograd: if the core algorithm doesn't fit in one file, you're hiding behind layers.
parse_prd()Pure regex extraction — finds entities, fields, user stories, integrations. No LLM calls.
manifest_to_genome()Converts the manifest into a stack-neutral architectural genome — the intermediate representation with ArchiMate 3.2 element typing.
render_genome()string.Template substitution over embedded FastAPI templates. Outputs SQLAlchemy 2.0 models, APIRouters, Pydantic schemas, Alembic migrations, tests.
pack()stdlib zipfile.ZipFile. Download the ZIP, push to GitHub, deploy.
Save as prd.md → run python microcodegen.py prd.md
microcodegen.py generates FastAPI only. The full Archiet platform adds everything you need to ship to a real customer.