Skip to content
All projects

Loki

Capability layer: a captain over a fleet of AI agents that builds and ships projects, with verification and approval built in — improve it by typing into it

Beta — running, not released

Problem

Builders need a trustworthy command center for AI agents to manage multiple projects simultaneously

Solution

Loki provides a multi-user SaaS platform for commanding AI agent fleets across projects, with a focus on control, simplicity, and security

Mission

Direct the creation of everything you can imagine. Loki is the control plane for the age of autonomous creation: today one person commands a fleet of AI agents building software, tomorrow the same person commands fleets of robots building the physical world. Raw capability is no longer the constraint — human direction is. Every surface exists to raise the number of agents one operator can hold in their head and aim.

Vision

Leverage shifts from companies to individuals: a single builder, on their own machines and their own models, out-executes a team, and the only remaining bottleneck is their judgment about what to build. Deliberately open- and local-model capable, so creation is never gated behind closed frontier subscriptions. The commercial form — a high-retention SaaS for builders and small teams, with OrangeCat as the economic layer — follows from that goal rather than defining it.

Technical context

Next.js 16 App Router · TypeScript strict · Tailwind 4 + ui-* design system (globals.css SSOT) · Drizzle ORM + PostgreSQL 17 (self-hosted Hetzner) · box-runner + Fleet Runner desktop (Electron, node-pty) · pgvector fleet-knowledge RAG (fastembed 384-dim) · Auth.js (GitHub/Google/X/email + OrangeCat OIDC)

Investigate this project with Loki →

Sign in to ask about architecture, evidence, delivery risks and next steps in your workspace.

Roadmap

  1. Loki Phase 2 — Adapters

    active · 0/4 steps done · target July 30, 2026

    • Gmail adapter — not done
    • Calendar adapter — not done
    • GitHub adapter — not done
    • Bank CSV import — not done
  2. Build Ivy into a Life OS

    active · 3/6 steps done · target June 29, 2027

    • Knowledge graph operational — done
    • Cockpit dashboard live — done
    • Social graph imported — done
    • Adapters: Gmail, Calendar, GitHub — not done
    • Ivy proactive actions — not done
    • Multi-user ready — not done
  3. Loki Phase 1

    active · 8/9 steps done · target April 29, 2026

    • Schema + seed — done
    • App shell + navigation — done
    • Today view — done
    • People view — done
    • Money view — done
    • Goals view — done
    • Projects view — done
    • System + Memory views — done
    • Polish + bug fixes — not done
  4. Runner stall: auto-recovery & alerting

    completed · 3/3 steps done

    • Detect execution-stall (pushes alive, command loop hung) — done
    • Auto-recover: re-dispatch / restart runner on stall — done
    • Alert operator (push / Telegram) when a stall is detected — done
  5. Capture run outcomes (Done/Failed/commit), not just dispatches

    completed · 3/4 steps done

    • Persist outcome (success/partial/error/hang/abort/timeout) — done
    • Capture resulting commit SHA per run — done
    • Build run summary from the SSOT field array (no dropped fields) — done
    • Surface outcomes in the activity timeline + analytics view — not done
  6. Truthful-state chips on project cards

    completed · 2/3 steps done

    • 'no commit' warning when a done run left no git trace — done
    • Stale-running / execution-stall chip — done
    • Surface block-reason / no-op-count as chips — not done
  7. Finish zellij -> Loki-owned PTY terminal migration

    completed · 1/4 steps done

    • Single transport-parameterized xterm view — done
    • node-pty owned-PTY executor in Fleet Runner — not done
    • Cut dispatch path from zellij name-puppeting to owned PTY — not done
    • Remove zellij dependency from the launch flow — not done
  8. Deploy on origin/main + auto-migrate + rollback/alert

    active · 3/4 steps done

    • Push-to-deploy on main (pre-push backgrounds the deploy) — done
    • Post-deploy verification (sign-in / health / providers) — done
    • Auto-run drizzle migrate on deploy (ledger-based) — not done
    • Auto-rollback + alert on failed verification — done
  9. One context assembler: Global+Project+Session into EVERY dispatch

    active · 3/4 steps done

    • Global operating principles injected (Global tier) — done
    • Project brief + active goals injected via getProjectContext — done
    • Session handoff injected on every dispatch path — done
    • Close the /api/inject-core bypass (one assembler, all paths) — not done
  10. i18n missing-key tooling + national-locale SLAs

    active · 0/3 steps done

    • Tooling / CI check that fails on missing translation keys — not done
    • Per-locale completeness report — not done
    • Define national-locale SLAs (de-CH first) — not done
  11. OC seam: genesis flow — one sentence to funded workspace

    active · 1/4 steps done

    • Funding events → FC activity (shipped) — done
    • OC Build-CTA carries project payload into FC new-project flow — not done
    • Counterpart-missing suggestion rows both sides — not done
    • One-conversation genesis orchestration — not done
  12. OC seam: verify BTC pass with a real sats purchase

    active · 3/4 steps done

    • OC pass products live — done
    • Webhook secret set both ends — done
    • Signed test grant verified e2e — done
    • Real sats purchase confirms plan flip — not done
  13. OC seam: backer live-build peek on OC project pages

    active · 0/2 steps done

    • Scoped read-only peek token on FC — not done
    • OC project-page embed behind funding check — not done
  14. OC seam: wallet context for Loki

    active · 0/3 steps done

    • OC v1 GET /wallets honoring wallet.read bearer — not done
    • FC: Economy line in Loki fleet context — not done
    • Graceful degradation when unlinked — not done

Changelog

  1. November 25, 2026

    keller-wake alert again; its fix is still only on local branch fix/keller-wake-reland (0e9fa686, tests pass) because the pre-push check:deploy-ready fails on this box's missing site checkouts; #1747/#1753 still open and red.

  2. November 25, 2026

    grub-initrd-fallback.service (fifth dispatch) is still the box-shaped failed one-shot nobody has reset; nothing changed in the repo; same reset-and-rerun commands handed over.

  3. November 24, 2026

    keller-wake alert again; the fix (#1747 + #1753, re-landed on local branch fix/keller-wake-reland at 0e9fa686, tests pass) is still NOT on origin because the pre-push check:deploy-ready fails on this box's missing site checkouts; #1747/#1753 still open and red.

  4. November 24, 2026

    grub-initrd-fallback.service (fourth dispatch) is still the box-shaped failed one-shot; nothing changed in the repo; reset-and-rerun commands handed over again.

  5. November 24, 2026

    solon-sync 500 (second time) is OrangeCat's solon-sync route hitting its catch-all while OrangeCat (health 200 at 13:55 UTC) and Solon (200) are both up; route unchanged since 2026-11-10 and uses the default Solon URL, so the logged error is needed to choose a fix; no code change, handed over read-and-rerun commands.

  6. November 24, 2026

    review-nudges failure is the same OrangeCat outage that began between 10:20 and 10:25 UTC (app not listening on 127.0.0.1:4003); box-shaped, no code change.

  7. November 24, 2026

    companion-routines failure (10:30 tick) is the same OrangeCat outage that began between 10:20 and 10:25 UTC (app not listening on 127.0.0.1:4003); box-shaped, no code change.

  8. November 24, 2026

    cat-watches failure (10:30 tick) is the same OrangeCat outage that began between 10:20 and 10:25 UTC (app not listening on 127.0.0.1:4003); box-shaped, no code change.

  9. November 24, 2026

    task-reminders failures are the same OrangeCat outage; its journal pins the start: app answered at 10:20:01 UTC, refused from the 10:25 tick on; box-shaped, no code change.

  10. November 24, 2026

    orangecat-webhook-worker failures are the same OrangeCat outage (app not listening on 127.0.0.1:4003, orangecat.ch 502); box-shaped, no code change; restart commands handed over.

  11. November 24, 2026

    payment-reconcile failures are the same OrangeCat outage as cat-mentions (orangecat.ch still 502 at 10:28 UTC, nothing on 127.0.0.1:4003); box-shaped, no code change; restart commands already handed over.

  12. November 24, 2026

    cat-mentions failures are a symptom: OrangeCat itself is DOWN (orangecat.ch and www answer 502, nothing listens on 127.0.0.1:4003; Loki/Solon/Gitea fine); box-shaped, handed the operator diagnose-and-restart commands for orangecat-app.

  13. November 24, 2026

    orangecat-cron@solon-sync 500 is OrangeCat's solon-sync route hitting its catch-all (the Solon fetch or its JSON threw at tick time); Solon answers 200 now with no closed allocation-policy sessions, so nothing was missed and no code change is warranted; handed the operator a safe re-run plus the log line that names the error.

  14. November 23, 2026

    keller-wake fixes (#1747 + #1753, red only from the main-side test bug fixed in #1756) re-landed on fix/keller-wake-reland from current main; their tests pass, but the push was stopped by the pre-push check:deploy-ready (this box has 8 of 28 site checkouts) and is NOT on origin.

  15. November 23, 2026

    grub-initrd-fallback.service failure is box-shaped (a failed one-shot left from an earlier run, nothing in the repo changed); handed the operator the reset-and-rerun commands again.

  16. November 23, 2026

    GET /api/control/open-tabs 502 diagnosed as the Loki app process not answering for over Caddy's 20s retry window (no deploy in 3 days, route itself cannot produce a 502); no repo defect, so no PR; handed the operator read-only box commands to find the crash/restart.

  17. November 23, 2026

    Gitea user cato is not reachable from this sandbox (no gitea binary/process/admin token, /opt blocked); handed the operator exact box commands to activate, make site admin and set a temporary must-change password.

  18. November 23, 2026

    Telegram inbound fix pushed as bitbaum/loki#1765 (85343645, auto-merge on): alert when the chat bot stops receiving, notify bot cannot hijack the chat bot, webhook 403 self-repair, pictures to the notify bot answered and recorded.

  19. November 23, 2026

    Telegram inbound fix committed as 85343645 on fix/telegram-photo-inbound (alert when the chat bot stops receiving, notify-bot cannot hijack the chat bot, webhook 403 self-repair, pictures answered and recorded) but NOT pushed: the pre-push hook fails on 12 browser tests that cannot start Chromium here (libglib missing) and --no-verify was denied.

  20. November 23, 2026

    Started: Telegram photo-to-calendar bug (no inbound record for 2026-11-23 07:24 screenshot).

Roadmap and changelog come from this project's canonical development record, read November 29, 2026.