Transform documents, specs, repositories, OCR text, Markdown, or natural language into complete, runnable, production-ready software projects in seconds.
π Documentation β’ π Get Started β’ π API β’ π¬ Issues
|
|
- Python 3.10+
- Git
- 200MB disk space (Termux-friendly)
# Clone and setup
git clone https://github.com/Huynhthuongg/AGENTS.md.git
cd AGENTS.md
./scripts/setup.sh
./scripts/start.shOpen http://127.0.0.1:8000 in your browser or use the CLI:
# Plan a project
upca plan --text "# CRM Dashboard\nNeed auth, API, admin dashboard, dark mode"
# Compile & generate
upca compile --text "# CRM Dashboard\nNeed auth, API, admin dashboard" --output-dir generatedpkg update && pkg install python git
cd ~
git clone https://github.com/Huynhthuongg/AGENTS.md.git
cd AGENTS.md
./scripts/setup.sh
./scripts/start.shThis repository includes a Vercel serverless entrypoint and routing config, so the FastAPI dashboard is served at / instead of returning 404: NOT_FOUND.
# From the project root
vercelVercel uses:
vercel.jsonto route every request to the Python serverless function.api/index.pyas the FastAPI entrypoint.requirements.txtto install runtime dependencies.
curl -s http://127.0.0.1:8000/healthcurl -s -X POST http://127.0.0.1:8000/plan \
-H 'Content-Type: application/json' \
-d '{
"requirements": "# Portal\nNeed API, dashboard, auth and mobile responsive UI"
}'curl -s -X POST http://127.0.0.1:8000/compile \
-H 'Content-Type: application/json' \
-d '{
"requirements": "# E-commerce Store\nPython FastAPI backend, React frontend, PostgreSQL",
"output_dir": "generated"
}'AGENTS.md/
βββ app/universal_compiler_agent/ # Main application package
β βββ cli.py # CLI interface
β βββ server.py # FastAPI server
β βββ planner.py # Planning engine
β βββ compiler.py # Code generation
βββ config/ # Configuration examples
βββ docs/ # Architecture & specs
βββ scripts/ # Setup & helpers
β βββ setup.sh # Initial setup
β βββ start.sh # Start server
β βββ check.sh # Run tests & linters
β βββ backup.sh # Backup script
βββ tests/ # Unit tests
βββ .github/workflows/ # CI/CD pipelines
βββ pyproject.toml # Project configuration
βββ LICENSE # AGPL-3.0
# Install dev dependencies
python -m pip install -e '.[dev]'
# Run quality checks
./scripts/check.shThe check.sh script runs:
- π Ruff (linter)
- βοΈ Codespell (spell checker)
- β Pytest (test suite)
| Property | Details |
|---|---|
| Version | 0.1.1 |
| Release Date | 2026-06-02 |
| Python | 3.10+ |
| License | AGPL-3.0-only |
| Status | β Active Development |
- π CLI dry-run previews
- π Safe output directory validation
- ποΈ Dashboard route alignment
- π§ͺ Hardened test workflows
We take security seriously:
- π« No hardcoded secrets in generated output
- π Pattern detection redacts API keys, tokens, passwords
- π‘οΈ Path validation prevents directory traversal attacks
- π HTTP headers follow security best practices
- β AGPL-3.0 ensures transparency
- FastAPI (0.115+) - Web framework
- Uvicorn (0.30+) - ASGI server
- Pydantic (2.8+) - Data validation
- Pytest (8.0+) - Testing
- Ruff (0.6+) - Code linting
- Httpx (0.28+) - HTTP client
- Codespell (2.3+) - Spell checking
Become a sponsor and help us develop faster! Your support helps maintain and improve this project.
|
Your Company Here π Platinum Sponsor |
Support Us π₯ Gold Sponsor |
- π Product Specification
- ποΈ Architecture Overview
- π API Examples
- π Changelog
Found a bug? Have a feature request? We'd love to hear from you!
- π Report a Bug
- β¨ Request a Feature
- π¬ Start a Discussion
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
This means:
- β You can use, modify, and distribute this software
- β You must share your modifications if you use it
- β You must include the original license
See LICENSE for full details.
