An agentic workflow orchestrator designed to bridge the gap between planning and execution. Dev Flow AI provides a high-reliability interface for generating structured release plans (MicroPlanner) and semantic commits (CommitSense), leveraging deterministic guardrails for LLM interactions.
- Frontend: Next.js 14 (App Router), TypeScript, TailwindCSS.
- Backend: FastAPI, Pydantic v2, Datapizza AI (OpenAI Client).
- LLM Guard: Deterministic JSON logic with Retry mechanism (see ADR-001).
- State: Client-side persistence via
localStorage.
graph TD
User([User]) --> Frontend[Next.js Frontend]
Frontend -->|API Requests| Backend[FastAPI Backend]
subgraph Backend Services
Backend --> PlanSvc[Plan Service]
Backend --> CommitSvc[Commit Service]
PlanSvc --> JSONGuard[JSON Guard]
CommitSvc --> JSONGuard
JSONGuard --> LLM[OpenAI GPT-4o-mini]
end
Backend -.->|State Persistence| LocalStorage[(Browser LocalStorage)]
- Python 3.11+
- Node.js 18+
- Docker (Optional)
cd backend
python -m venv .venv
source .venv/bin/activate # or .\.venv\Scripts\activate on Windows
pip install -r requirements.txt
cp .env.example .envNote: Ensure OPENAI_API_KEY is configured in .env.
cd frontend
npm install
npm run dev| Endpoint | Method | Status | Notes |
|---|---|---|---|
/health |
GET | Real | System health check. |
/api/plan |
POST | Real | Generates a structured 3-step release plan. |
/api/commit |
POST | Real | Analyzes changes and drafts a semantic commit. |
/api/pr |
POST | Planned | Automated PR description generator. |
We maintain a strict ADR process for all mission-critical design choices:
- ADR-001: Deterministic JSON Guard for LLM Output
- ADR-002: Client-side State Persistence via LocalStorage
- Secrets: No hardcoded keys. All configurations are injected via environment variables.
- Reliability: Uses a retry-based JSON Guard to handle non-deterministic LLM failures.
- Privacy: Local-first state management; no sensitive data is stored on our servers.
- Authentication: No built-in auth layer (Trade-off: Prioritized workflow speed for local developers).
- Database: Lacks persistent server-side storage (Trade-off:
localStoragereduces infra complexity). - Monolithic Frontend: The UI logic is currently consolidated in a high-density primary page (Trade-off: Prioritized rapid feature iteration and "Vibe Coding" over complex component atomicity; recommended for future refactoring into shared UI primitives).
Developed and maintained by Federico Orsi.