aaimake

Documentation

Dashboard

Run aimake serve with the Next.js dashboard on port 3000 — overview, graph, builds, experiments, registry, cache, settings, repro, lineage, and developer pages.

The aimake dashboard is a Next.js + Tailwind control plane for your pipeline. The Python API (aimake serve) reads your project; the UI on port 3000 renders graph, builds, experiments, registry, cache, trust, and settings.

Related: CLI reference — serve, Team, Trust, Registry.

Architecture

┌─────────────────────┐         ┌──────────────────────────┐
│  aimake serve       │  HTTP   │  Next.js dashboard       │
│  :8765  /api/*      │ ◄─────► │  :3000                   │
│  (project yaml/db)  │         │  NEXT_PUBLIC_AIMAKE_API  │
└─────────────────────┘         └──────────────────────────┘
ProcessRoleDefault URL
aimake serveJSON API over the loaded projecthttp://127.0.0.1:8765
npm run dev (dashboard)Web UIhttp://localhost:3000

aimake graph --serve starts the same API (useful for demos).

Quick start

Terminal 1 — API (from your aimake project root):

aimake serve --port 8765
# or
aimake graph --serve --port 8765
OptionDescription
--hostBind host (default 127.0.0.1)
--port, -pAPI port (default 8765)
--openOpen http://localhost:3000 in a browser
--config, -cPath to aimake.yaml

Terminal 2 — UI:

cd dashboard
cp .env.local.example .env.local
npm install
npm run dev

Open http://localhost:3000.

Environment

VariableDefaultDescription
NEXT_PUBLIC_AIMAKE_APIhttp://127.0.0.1:8765Dashboard API base URL

Point this at a remote host if the API runs elsewhere (still bind carefully — prefer localhost or a reverse proxy).

API surface

aimake serve announces the main endpoints. Common routes include:

EndpointUsed by
/api/overviewOverview
/api/graphGraph
/api/buildsBuilds
/api/compareExperiments compare
/api/experimentsExperiments
/api/registryRegistry
/api/cacheCache
/api/settingsSettings
/api/policy/checkPromote policy
/api/reproRepro
/api/lineageLineage
/api/attestationsAttestations
/api/probeExternal drift
/api/developerDeveloper snippets

Registry promote / tag and related POSTs are available for the UI (policy-gated like the CLI).

Pages overview

Overview (/)

Project health at a glance:

  • Rebuild / skip / restore counts from the current plan
  • Estimated cost and tokens when configured
  • Recent build history highlights
  • Quick links into graph and builds

Graph (/graph)

Interactive dependency DAG with live artifact status (up to date, stale, changed). Use it to see blast radius before editing a prompt or dataset. Same data as aimake graph --format json.

Builds (/builds)

Current build plan plus history from .aimake/state.db — counterpart to aimake plan, aimake history, and aimake logs.

Experiments (/experiments)

Optimization trials and build compare (metric deltas) — UI for aimake experiments list|show and aimake compare. See Experiments.

Registry (/registry)

List versions, filter by stage/tag, promote (with policy.promote checks), tag, and remote push when registry.remote is configured. See Artifact registry.

Cache (/cache)

Local cache size/entries, remote S3 configuration, and team prefix (team_id). Pair with Remote & team cache.

Settings (/settings)

Live view of production wiring:

  • Notifications (Slack / Discord / email flags)
  • Secrets providers loaded (keys only)
  • Promote policy summary
  • Attestation / lineage toggles

Use alongside aimake notify-test, aimake secrets, and yaml under Team & production.

Repro (/repro)

Fingerprints vs lock, git metadata, external drift, attestations — the visual form of aimake repro. See Trust.

Lineage (/lineage)

OpenLineage / MLflow / W&B-style artifact graph from exports under .aimake/lineage (or on-demand API). See Trust — lineage.

Developer (/developer)

SDK snippets (Python / TypeScript), Docker image hints, and TUI keyboard notes — useful onboarding for the Python SDK, TypeScript SDK, Docker, and Interactive TUI.

Production UI build

cd dashboard
npm run build
npm start

Keep aimake serve running (or reverse-proxy /api/* to it). Example nginx sketch:

location /api/ {
  proxy_pass http://127.0.0.1:8765;
}

Design notes

  • Dark navy sidebar + light content canvas
  • Theme toggle (persisted in localStorage)
  • Plus Jakarta Sans + IBM Plex Mono
  • Flat panels and metric cards — no decorative mesh/glow

Details live in dashboard/README.md.

Troubleshooting

IssueFix
UI empty / network errorsConfirm aimake serve is up; match NEXT_PUBLIC_AIMAKE_API
Wrong projectRestart serve from the correct root or pass --config
Promote blockedCheck policy.promote and approval env; same as CLI
No lineage / repro dataRun aimake lineage / aimake repro or enable auto-export / attestation