Ecosystem DAG
Krewire is not one repository. The core libraries and CLI, the UI catalog, the agent engine, the platform services, and the websites live in separate repositories that depend on each other as a directed acyclic graph (DAG). This page shows that graph and the rules that keep it acyclic.
1. The Ecosystem Architectural Battery
All components, platforms, and workloads advance along a progressive architectural battery, driven entirely by the kiw devtool CLI and declarative krewire.yaml schema:
Go Stdlib โโโบ Krewire Libraries โโโบ Krewire UI | Krewire Auth | Krewire Krew โโโบ Krewire Cloud โโโบ Krewire Dash
(Unified Workspace)
2. Compile-Time Edges (Go Module Imports)
These edges are Go module dependencies: an arrow means "imports packages from". They were read from each repository's go.mod and import statements on 9 November 2026.
krewire.com krewire.github.io (Layer 5 โ built by kiw, no Go module)
โ โ
โโโโโโโโฌโโโโโโโโ uses kiw + kui at build time
โผ
dash โโโโโโโ cloud โโโโโโ (Layer 4 โ products & platform services)
โ โ โ โ โ โ
โ โโโโบ auth โโโโโโโโ โ โ
โ โ โ โ
โโโโบ krew โโโโโโโโโโโโโโ โ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโ github.com/krewire/krewire โโโโโโโโโโโโโโโโโ (Layers 1โ3 โ core + kiw)
โ krew ยท pkg/* ยท pkg/model ยท pkg/errs ยท pkg/lifecycle โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โผ
github.com/krewire/ui (kui) (Layer 2 โ no dependencies)
โผ
Go standard library (Layer 0)
| Repository | Module | Imports from the ecosystem |
|---|---|---|
ui (kui) |
github.com/krewire/ui |
nothing โ standard library only (TestModuleHasNoExternalDependencies) |
krewire (core + kiw) |
github.com/krewire/krewire |
ui (pkg/ui/components re-exports the kui embed.FS) |
krew (agent engine) |
github.com/krewire/krew |
krewire |
auth |
github.com/krewire/auth |
krewire |
cloud |
github.com/krewire/cloud |
krewire, auth, krew |
dash |
github.com/krewire/dash |
krewire, auth, krew |
krewire.com, krewire.github.io |
โ | none in Go; built with krew build, which renders kui components |
Two properties matter:
- The graph is acyclic.
kuiimports nothing, the core imports onlykui, and every product imports downward. No product imports another product:dashandcloudshare no Go code. - The CLI is a leaf for consumers. Products import
pkg/*packages; none importskrew.
3. Runtime Integrations (Decoupled Protocols)
Compile-time imports are kept to shared libraries. Products talk to platform capabilities over standard protocols instead:
- Identity: OpenID Connect / OAuth 2.0 with public JWKS verification against
auth. - HTTP APIs: REST behind an edge reverse proxy or a gateway workload.
- Events: an asynchronous event bus or Server-Sent Events streams.
Hosted cloud and auth are optional. dash runs completely self-hosted; see the project's public documentation for what is publicly available today.
4. Product Parallelism
| Product | Responsibility | Depends on the other? |
|---|---|---|
| Krewire Cloud | Enterprise hybrid PaaS control plane and process supervisor. | No |
| Krewire Dash | AI-native virtual developer workspace, execution sandboxes, and collaboration console. | No |
Neither depends on the other at compile time or deployment time, so each can be released, forked, or replaced on its own.
5. How the Graph Is Kept Honest
| Check | Where |
|---|---|
| Downward-only imports and foundation ranking | krewire/layering_test.go |
| kui has no module dependencies | ui/components/contract_test.go |
| Pure-Go portability | CGO_ENABLED=0 go build ./... in CI |
| Formatting and vet | gofmt -l ., go vet ./... |
When you add a repository or a new import between repositories, place it on a layer first, then make sure the new edge points downward. If two peers need to cooperate, add a protocol (an API, a token, an event) โ not an import.
Previous: 11.1 Layered Pyramid ยท Next: 11.3 Scope Levels โ