draht
Dynamic Routing for Agent & Task Handling
The AI coding agent built for freelancers.
Multi-model. TDD-first. DDD-native. German-compliant.
Bun recommended. Then run draht in any project.
What Draht Does
Model Router
Role-based model selection with automatic fallback. Architect tasks use Claude Opus, boilerplate uses DeepSeek. Direct API calls — no OpenRouter latency.
TDD-First
Tests before implementation. The agent writes failing tests first, then implements until green, then refactors. Not optional — it's how Draht works.
DDD-Native
Every project starts with a domain model. Bounded contexts, aggregates, ubiquitous language — baked into project templates and code review.
Extensions
SST resource manager, deploy guardian, client knowledge base. Load custom tools via the extension API. Build your own.
Invoicing
Lexoffice API integration for German invoicing. Toggl time tracking. Generate invoices from your terminal.
Compliance
GDPR PII scanner, EU AI Act documentation checker, German legal templates. Automated compliance checks on every commit.
Architecture
draht-mono/
├── packages/
│ ├── coding-agent/ # Core agent — read, bash, edit, write tools
│ ├── ai/ # Unified LLM API — Anthropic, OpenAI, Google, DeepSeek
│ ├── router/ # Role-based model routing with fallback chains
│ ├── knowledge/ # Per-client vector DB for context persistence
│ ├── orchestrator/ # Multi-agent task decomposition (GSD Controller)
│ ├── ci/ # GitHub Action for AI-powered PR review
│ ├── deploy-guardian/ # Pre-deploy checks, rollback automation
│ ├── invoice/ # Lexoffice + Toggl invoicing
│ ├── compliance/ # GDPR scanner, EU AI Act, legal templates
│ ├── templates/ # AGENTS.md templates (SST/TS, Astro, Go/gRPC)
│ └── landing/ # This website (Astro)
└── .planning/ # GSD methodology Monorepo. 15 packages. TypeScript + Bun. Zero runtime dependencies where possible.
Getting Started
Pricing
Draht is open source. The tooling is free. You pay for the AI models you use.
Open Source
- All packages
- Model router
- TDD/DDD workflows
- Extensions
- Community support
Freelance Setup
- Everything in Open Source
- Custom AGENTS.md for your stack
- Invoice + compliance setup
- 2h onboarding call
- 30 days email support