Overview
Brilliant is an AI app builder for enterprises: every employee can build fullstack apps, workflows, and agents by chatting with an agent connected to company data and integrations.
This wiki is the Outline knowledge base seed for the Brilliant engineering team. Canonical source of truth for code behaviour remains the monorepo DaPulse/brilliant-ai; this wiki summarises durable concepts for humans (and Librarians).
Product snapshot
| Concern | Choice (current direction) |
|---|---|
| Hosting | Cloudflare Workers (incl. Workers for Platforms), Durable Objects, R2, Queues, Workflows |
| Platform DB | Aurora Serverless v2 PostgreSQL via Cloudflare Hyperdrive (control plane / admin) |
| App data | Per-workspace D1 (generated apps) |
| Secrets | AWS Secrets Manager as sole source of truth → fan-out via catalog + CD |
| Infra as code | Pulumi (infra/pulumi, stacks staging / prod / side-<name>) |
| Toolchain | Bun workspaces ([email protected]), TypeScript, Biome |
Core idea
The coding agent and every generated app are untrusted. Privileges are short-lived signed capabilities or service bindings, checked at a platform edge (control plane, conductor, dispatch, or template middleware). Generated app code is never the security boundary.
See Architecture overview. The principle that the platform, not the model-written app, is the security boundary still holds; it used to be written down as the root CONTRACTS entry platform-is-the-security-boundary, which was removed with all @cc code contracts in #592 (merged 2026-10-07), see Verify & ship.
Deployables at a glance
| Piece | Path | Role |
|---|---|---|
| Control plane + studio SPA | apps/control-plane | Identity, tenancy, catalog, tokens, studio UI |
| Admin backoffice | apps/admin | Internal ops UI |
| Conductor | services/conductor | Per-workspace DO + container; Pi Durable coding agent (since #546, replaced OpenCode); preview; deploy |
| Dispatch | services/dispatch | Route published apps; mint request context; realtime; AppRpc |
| Agents / workflows / evals | services/{agents,workflows,evals} | Headless runtimes and quality harness |
| Template | packages/template | Seed monorepo for every generated app |
| Agent image | infra/agent-image | Container image (toolchain + baked template; not the agent loop) |
Team and org
Decided at the Brilliant Sync with HR, 2026-10-19.
- Brilliant is moving into Agent Labs as a startup. Amichay and Yoni are co-founders; everyone else on the team is the founding team.
- Reporting lines: R&D reports to Yoni; everything else reports to Amichay.
- Open follow-up: Amichay is defining the go-to-market strategy and ideal customer profile (product-led vs enterprise, touch vs no-touch) and will set the transition timeline. This page will be updated when those land.
Where to go next
- New hire / designer: Local setup & Day 1
- Language: Glossary
- Deep system map: Architecture overview
- Working agreements: monorepo
AGENTS.mdis a task router intoCODING_STANDARDS.md,docs/agent-workflow.md,DESIGN.mdandgotchas/since #594 (not duplicated here in full; summary in Verify & ship) - Traps: monorepo
gotchas/(topic files; rootGOTCHAS.mdis only a stub) — read the area file before nontrivial work
Status note
The platform is under active prod-infra cutover (new accounts, Aurora, Pulumi). Hostnames and IdP tenant names in older docs may lag. Prefer ADRs under docs/decisions/ and live wrangler/Pulumi config when unsure.