Build with role.
Ship with evidence.
A framework for AI-assisted product development.
The synthesis of gstack's velocity and Dharma 0.x's discipline. 23 skills, 6 phases, AI-native by default, 60-second install.
Why this exists
AI coding assistants are fast. They are also undisciplined by default. The same session that writes clean code will also skip UX thinking, miss accessibility on user-facing screens, claim "it's done" based on belief rather than evidence, and ship LLM features with no token budget, no adversarial test, and no observability.
These are not model failures. They are process failures. Dharma 1.0 solves process failures without slowing you down.
The three bets
Roles, not prompts
23 named skills with decision frameworks. CEO scopes. Designer rates 8 dimensions. QA opens a real browser. Specialization compounds.
Evidence over belief
"Should work" is banned at commit time. Five valid completion states only. Auth/payments/AI diffs trigger forced gates before push.
LLMs as production
First framework with executable economics + safety eval + observability. Token budgets, adversarial tests, drift detection. 38 unit tests, pure stdlib.
Install — 60 seconds
git clone https://github.com/SahuDilip1356/dharma-1.git
cd dharma-1
./install.sh /path/to/your/project
Copies the 23-skill catalog. Installs commit-msg and pre-push
git hooks. Scaffolds 3-drawer memory. Wires the router + AI overlay.
Requires Python 3.9+ and Git. No external SDKs.
Your first run
$ .dharma/dharma route "add a chatbot for patient FAQs"
[Route B — New Feature]
Start: /intent
Overlays: risk, ai
Forced gates: /cso, /codex, /qa, /ai-economics,
/ai-safety, /ai-observability
Exit evidence needed: PRD contract; Plan complete;
Evidence ledger
The router never auto-executes. It classifies your task and suggests a starting skill plus required gates. The human decides.
The AI overlay — the moat
Drop-in wrapper for any LLM callable. Tracks cost, emits telemetry, enforces budget. Runs adversarial evals. Detects distribution drift. Provider-agnostic. Pure-stdlib Python. 38 tests.
from ai_runners import AIOverlay, EvalHarness
overlay = AIOverlay(
model_fn=my_llm,
model_name="claude-sonnet-4-6",
ceiling_usd=10.0,
telemetry_path="logs/llm.jsonl",
)
response = overlay("Summarize this document...")
# Run the safety eval through the same overlay
# (so eval costs are tracked too)
harness = EvalHarness(model_fn=overlay, evals_dir="ai_runners/evals")
print(harness.run_all().summary())
# {'overall_pass_rate': 0.92,
# 'categories': {'jailbreak': {'pass': 5, 'rate': 1.0}, ...}}
Architecture
How it compares
| Axis | gstack | Dharma 0.x | Dharma 1.0 |
|---|---|---|---|
| Primary bet | Velocity | Discipline | Both |
| Skill count | 23 | 38 | 23 |
| Evidence enforcement | None | Template | Commit-msg hook |
| Risk overlay | Opt-in | Route G | Pre-push hook |
| AI as production layer | No | Spec only | Executable |
| Memory model | 1 bucket | 3 drawers (spec) | 3 drawers (built) |
| Real-browser QA | Yes | Playwright | Yes |
| Cross-model review | /codex | None | /codex |
| Deploy → monitor loop | Yes | Stops at finish | Yes |
| License | MIT | MIT | MIT |
Status
M1 Foundation shipped — 23 skill contracts, 3-drawer memory, evidence ledger, risk overlay, deterministic router, 60-second installer.
M2 AI overlay shipped — economics, safety, observability, unified overlay, CLI, default adversarial eval set, 38 unit tests passing.
M2.5 Dogfood in progress — installing Dharma 1.0 in a real product repo to find what breaks first.
M3 Distribution — this page exists because of it. Next: provider adapters (M4) for one-line OpenAI / Anthropic / Google wiring.
The framework that gets used wins. Dharma 1.0 gets used
because it removes regret without removing speed.