Dev GX is a local AI software planning assistant built with FastAPI and Ollama. It helps transform product ideas into practical technical outputs such as MVP planning, entity modeling, API endpoint suggestions, and starter SQL schemas.
Dev GX was designed to support early software planning workflows with a local-first approach. Instead of acting as a generic chatbot, it focuses on turning product ideas into structured technical outputs that are useful during project definition and prototyping.
The application provides a web interface where the user can describe a product idea and receive targeted outputs such as:
- MVP planning
- Entity modeling
- API endpoint suggestions
- Initial SQL schemas
It also includes conversation persistence with SQLite and optional MCP server integration.
- Local AI-powered software planning assistant
- Web interface built for practical planning workflows
- MVP planning generation
- Entity and domain modeling support
- REST API endpoint suggestions
- Starter SQL schema generation
- SQL export support
- Conversation history persisted with SQLite
- Optional MCP server integration
- Python
- FastAPI
- Uvicorn
- Ollama
- Pydantic
- HTML, CSS, and JavaScript
- SQLite
dev-gx/
|-- app/
| |-- api/
| |-- prompts/
| |-- schemas/
| |-- services/
| |-- static/
| |-- templates/
| |-- tools/
| |-- web/
| |-- __init__.py
| |-- config.py
| `-- main.py
|-- docs/
|-- .env.example
|-- .gitignore
|-- LICENSE
|-- README.md
`-- requirements.txt
Runtime folders such as app/data/ and app/generated/ may be created automatically during execution. These directories store local runtime state, are ignored by Git, and are intentionally kept outside the documented source structure.
Local virtual environments such as .venv/, app/.venv/, or app/venv/ are not part of the official project structure and should not be documented as source code.
git clone https://github.com/castroxdev/dev-gx.git
cd dev-gxWindows
python -m venv .venv
.venv\Scripts\activateLinux / macOS
python3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtCreate a local .env file based on .env.example.
Windows PowerShell
Copy-Item .env.example .envLinux / macOS
cp .env.example .envOLLAMA_BASE_URL— URL of the local Ollama serverOLLAMA_MODEL— model used by the plannerOLLAMA_TIMEOUT— request timeout for generationMCP_SERVER_ENABLED— enables or disables MCP integrationMCP_SERVER_BASE_URL— MCP server endpoint
Start Ollama first and make sure the configured model is available. Then run the application from the project root:
uvicorn app.main:app --reloadAfter startup, open http://127.0.0.1:8000 in your browser.
- Ollama must be running locally before starting Dev GX.
- The configured model must be available in your Ollama instance.
- The
.envfile should exist in the project root and be created from.env.example. app/data/andapp/generated/are runtime-local directories created on demand and ignored by Git.- Local virtual environments and machine-specific folders should stay outside the documented source structure.
Ollama model not available
Make sure Ollama is running and that the model defined in .env is installed locally.
.env file not found
Create a .env file in the project root based on .env.example, then restart the server.
Static files or templates do not load
Make sure you are starting the app from the project root with:
uvicorn app.main:app --reloadThis ensures the package layout and centralized paths are resolved correctly.
This project is licensed under the MIT License. See the LICENSE file for details.





