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. kui imports nothing, the core imports only kui, and every product imports downward. No product imports another product: dash and cloud share no Go code.
  • The CLI is a leaf for consumers. Products import pkg/* packages; none imports krew.

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 โ†’