Introduction
State of the art AI configuration and harness engineering that drive complete workflow from a single keyword or spell.
Kun (كن) is a code machine that collapses time between idea and product.
It dispatches every task token-efficiently across a fleet of models and effort levels — a cheap lane for a rename, the deepest reasoning for an architecture migration — and runs around the clock under self improving configuration. The right model, at the right effort, on the right task: orchestrated and delegated automatically from a single keyword. Kun transforms Anthropic's product suite alongside Antigravity, OpenCode, and Hermes into a single, unified agentic automation for software house like databayt.
$ curl -fsSL https://kun.databayt.org/install | bashOne paste — the wizard scans your machine and installs only the delta. Windows and the full walkthrough live in Onboarding.
The 6 Engine Layers
Every capability is pure configuration — zero custom server infrastructure to operate.
| Layer | Count | Purpose & Artifacts |
|---|---|---|
| Agents | 54 | 27 company (strategy, quality, platform, videography, media QA, content) + 27 stack specialists |
| Skills | 68 | Packaged workflows: 50 project + 18 portable (61 in plugins) |
| Keywords | 213 | Prose vocabulary across 22 schools — zero slash commands |
| MCP | 25 | 25 catalog servers (20 live at user scope: Neon, Stripe, Sentry, DevTools, Figma) |
| Rules | 38 | Path-scoped domain guardrails (Next 16, React 19, Prisma 6, Tailwind 4) + 5 global |
| Hooks | 10 | Harness lifecycle guards (port cleanup, destructive bash block, media staleness) |
Canonical values live in .claude/engine.json; /health flags drift between it and reality.
4 Operating Lanes
Universal capability: every machine receives the full fleet, routed by task weight:
| Lane | Command | Agent / Engine | Workload |
|---|---|---|---|
| Primary | c | Claude Code | Full build, schema migrations, deep QA, architecture, releases |
| Secondary | a | Antigravity | Cheap off-pool lane (Gemini Flash) — quick edits, renames, lookups |
| Tertiary | o | OpenCode | Fallback CLI runner |
| Gateway | h | Hermes | Asynchronous messaging bus & Slack/WhatsApp relay |
Some of the Workflows
1. Feature workflow
Idea
Capture the ask
Spec
Human gate
Plan
Strategy
Tasks
Break it down
Schema
Data layer
Code
Logic layer
Wire
UI layer
Check
Typecheck + build
Ship
Push to main
Watch
Verify live
feature <name> chains all ten stages; each is also a skill on its own.
2. Social workflow
Calendar
Pick the slot
Draft
Arabic first
Assets
Render media
Approve
Human gate
Publish
Deliver
Measure
Read the numbers
social <topic> chains every stage; each is also a skill on its own.
- Social Automation: Multi-channel broadcasting across 5 brands & 8 platforms.
- Product Videography (
record): Autonomous OTP handling, ad-grade video cuts, and screenshot archives in~/media/synced to Google Drive. - Media Studio (
higgs·carousel): Generative image/video marketing & bilingual slide decks.
3. Textbook workflow
Textbook
Render the pages
Contract
The book's rules
Transcribe
Vision, one file per page
Agreement
Blind second read
Adjudicate
Settle against the scan
Textbook bench
Score the pipeline
textbook <book-dir> chains the first five stages; textbook bench scores the pipeline on its hardest pages.
- Textbook (
textbook): A scanned curriculum book becomes a Markdown twin a blind second read agrees with — adjudicated against the scan, benchmarked on its hardest pages.
Products & Active Pilots
| Product | Domain | Status & Active Pilots |
|---|---|---|
| Hogwarts | School Management SaaS (Flagship) | 2 Sudan pilots (King Fahad, Alqabs); Aldar 29-school prospect |
| Kun | The Code Machine — this engine | Live; runs every product above |
| Codebase | Shared Pattern Library | 54 UI + 62 atoms + 31 templates |
| Mkan | Rental Marketplace | Phase 1 complete |
| Moallimee | Teachers and tutoring, matched | Pre-launch — CRM workspace live |
| Sijillee | Accounting for Sudanese business | Pre-launch — CRM workspace live |
Financial Discipline & Team
- North Star: Cash flow first. Break-even or bust.
- Burn / Capital: ~$500/mo burn against $5K capital (~10 months runway).
- Billing Policy: Strict subscription-only (Claude Max 5x $100/mo). Zero per-token API spend.
- Team: 8 builders (
<id>@databayt.orgon Slack/CRM) — Abdout, Abobaker, Ibrahim, Moutaz, Aseel, Moed, Samia, Sedon.
Core Principles
- Configure over build — Don't rebuild what Anthropic ships.
- Architecture over vibe coding — Humans design, AI generates within strict rules.
- Guardrails as training data — Every clean component enforces the next.
- Full spectrum — The engine runs the business, not just the code.
- Open source, shared economy — SSPL public repos, sustain through real-world value.
What You'll Find Here
For Developers
- Onboarding – Fresh machine to working environment in one paste
- Architecture – The layered engine design
- Configuration – The full engine blueprint
- Keywords – The prose vocabulary that drives every workflow
- Claude Code – The primary build lane
For Stakeholders
- Captain – Weekly allocation, revenue strategy, team coordination
- Products – What we ship, and to whom
- PRD – Configuration requirements and product stories
- Epics – Roadmap and sprint intent
- Aldar – A live 29-school prospect
For Community
- Repositories – The open-source organization map
- Issues & Support – Bug reporting and assistance
- Brand – Identity, voice, and assets
- Shared Economy – Fair contribution valuation framework
- Tips – Field notes from the engine
Getting Started
New comer? Start with the essentials:
- Run the one-liner in Onboarding
- Explore the Architecture
- Learn the Keywords
- Report what breaks via Issues & Support