Specyn is a Spec Driven Development workspace that connects spec bundles, agent execution, generated code, runtime verification, and a dashboard UI.
The default operating model is:
- Configure local auth and runtime settings with
python specyn.py setup - Start the dashboard stack with Docker
- Run agents from the Workspace page
- Review generated results in
projects/sample-serviceand.workspace
Spec locations:
specs/templates/for new bundle templatesspecs/projects/sample-service/for the reference sample bundle used byvalidate,compile-prompts, andrun
You should install and verify these before the first run:
- Docker Desktop
- Python 3.11+ with
pythonavailable in PATH - Node.js 20+ and npm
Recommended checks:
python --version
node --version
npm --version
docker versionImportant:
- Docker Desktop should be installed before the first full run.
setupcan still write.enveven if Docker Desktop is not started yet.- ChatGPT auth reuse and Docker agent validation require Docker Desktop to be running.
Run from the repository root:
python specyn.py setup
python specyn.py auth-status
python specyn.py doctor
python specyn.py up -dDashboard URLs:
- Frontend:
http://localhost:4173 - Backend:
http://localhost:8180 - AI Server:
http://localhost:8100
If you also want to run the generated sample runtime:
python specyn.py sample-up -dSample-service URLs:
- Frontend:
http://localhost:5173 - Backend summary:
http://localhost:8080/api/v1/generated/sample-service/summary - AI Server context:
http://localhost:8000/generated/sample-service/context
Stop commands:
python specyn.py down
python specyn.py sample-downpython specyn.py setup manages:
.envcreation or update- auth mode selection:
chatgptoropenapi - ChatGPT login reuse or relogin
- OpenAI API key input or update
- model selection
- Docker agent validation when Docker Desktop is available
Initial users should be careful about local auth artifacts.
- Do not commit
.env - Do not share
.specyn/codexbecause it can contain local auth cache - Do not paste full logs publicly if they may include paths, prompts, request payloads, or local runtime information
- Treat
OPENAI_API_KEYas a secret - Treat workspace outputs in
.workspace/as local-only run artifacts unless explicitly reviewed - If you use screen sharing, avoid exposing
.env, terminal history, or Docker logs that may contain sensitive values
.env: local runtime settings.specyn/codex: local Codex auth/cache area.workspace/: local run outputs and tracesprojects/sample-service/: generated project output
If you want to run the pipeline without the dashboard:
python specyn.py validate --spec-dir specs/projects/sample-service
python specyn.py compile-prompts --spec-dir specs/projects/sample-service --output-dir .specyn/prompts/sample-service --workspace .workspace/sample-service
python specyn.py run --spec-dir specs/projects/sample-service --project-id sample-service --workspace .workspace/sample-serviceHost-based helper modes:
python scripts/specyn_tasks.py dev
python scripts/specyn_tasks.py sample-dev- Start Docker Desktop before
up -dandsample-up -d - Use
auth-statusanddoctorbefore troubleshooting the UI - The dashboard action button now lives in the Workspace page, not the Dashboard page
- Agent conversation shown in the Workspace UI is a filtered view of
agent_messagelogs, not the full raw stream