Spaces:
Runtime error
Runtime error
|
Download dev-agent/README.md from BeastGokul/MVP: direct link, hf CLI and curl.
- Browser
- Download file 2.61 kB
-
https://huggingface.co/spaces/BeastGokul/MVP/resolve/main/dev-agent/README.md
- Command line
-
hf download hf://spaces/BeastGokul/MVP/dev-agent/README.md
-
curl -L -o README.md https://huggingface.co/spaces/BeastGokul/MVP/resolve/main/dev-agent/README.md
2.61 kB
A newer version of the Gradio SDK is available: 6.30.0
Universal Dev Agent
The Universal Dev Agent converts natural-language user requirements into validated, structured, platform-independent Agent Specs.
It acts as an interactive builder, allowing developers and end-users to design workflows, map connections, resolve dependency chains, and validate agent schemas through conversational chat and APIs.
Quick Start
1. Recreate Environment & Install
Ensure you have Python 3.12 installed:
py -3.12 -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
2. Apply Migrations
Initialize SQLite database tables:
python -m alembic upgrade head
3. Run FastAPI Server
uvicorn app.main:app --reload
API Documentation: http://localhost:8000/docs
4. Run Conversational CLI
python -m app.cli
Repository Map
dev-agent/
β
βββ app/
β βββ main.py # FastAPI server entry point
β βββ cli.py # Stateful interactive CLI
β β
β βββ api/ # API router and session routes
β β
β βββ core/ # App settings, logging config
β β
β βββ db/ # SQLite connection and SQLAlchemy schemas
β β
β βββ schemas/ # Pydantic schemas (AgentSpec, validation)
β β
β βββ agents/ # LangGraph workflow, nodes, and states
β β
β βββ validators/ # Validation layer (Schema, Workflow, Conflict)
β β
β βββ services/ # Business services (Validation, LLM with fallback)
β
βββ tests/ # 20+ automated test cases
βββ alembic/ # Database migration scripts
Running Automated Tests
Run the test suite with Python's UTF-8 mode enabled on Windows:
$env:PYTHONUTF8=1; python -m pytest
Detailed Documentation
- ARCHITECTURE.md: Architectural layout, LangGraph state machine, and validator pipeline details.
- AGENT_SPEC.md: Fields and structure layout of the platform-agnostic specification.
- API.md: FastAPI REST endpoints, JSON payloads, and response models.
- DEVELOPMENT.md: Local developer setup, migration workflow, and testing details.