Offisim is a local-first, MIT-licensed AI company runtime plus a
platform/registry backend for installable assets. The GitHub repository is
public. As of 2026-07-22, v1.1.2 is the latest stable published
release. Offisim is still formally prelaunch with no production user-data
migration contract; the published updater, deep-link, signing, and installer
formats are nevertheless external distribution contracts. App Updates discovers
stable releases through the user's existing authenticated GitHub CLI session.
The product is not a generic SaaS dashboard and not a literal game engine. It uses an office metaphor and game-grade presentation to make multi-agent work understandable, trustworthy, and alive.
Run an AI company on your own machine: multi-agent orchestration, spatial office UI, installable assets, and a local-first runtime that keeps execution close to the user.
Docker Compose starts only the optional Platform/registry API and Postgres. It does not launch the desktop product:
docker compose -f docker/docker-compose.yml up --buildIf you are setting up a new machine, start here:
- Install exact
Node.js 24.18.0(.nvmrcand rootengines:>=24.18.0 <25; all local development and desktop builds use this pin) and enablecorepack. - Install
pnpm@11.13.1. - If you plan to run the desktop app, install Rust/Cargo and the Tauri system prerequisites for your OS.
- If you plan to run the platform API, install PostgreSQL and create a local database.
- Copy
.env.exampleto.env.localand fill in the values you need. - Run
pnpm installfrom the repo root.
Common local entrypoints:
- Recommended desktop flow:
pnpm --filter @offisim/desktop dev - Desktop renderer dev server only:
pnpm --filter @offisim/desktop-renderer dev - Platform API:
pnpm --filter @offisim/platform dev - Optional Platform backend Docker:
docker compose -f docker/docker-compose.yml up --build
Offisim does not keep a broad product unit-test suite. Release validation is a smaller set of retained gates that must match the risk of the change:
- engine-neutral gateway, account/model truth, and engine-specific runtime harnesses
- aggregated security harnesses for P0/P1 platform, marketplace, local-tool, attachment, registry, and web fetch/search boundaries
- targeted Rust safety checks for desktop host execution, workspace containment, local shell/git/path commands, and install materialization
- platform schema export/baseline drift checks for
apps/platform/packages/db-platform - package builds for the desktop renderer before any desktop verification
- release
.applive verification from the current worktree path for desktop runtime behavior
Do not reintroduce broad vitest, Playwright, pnpm test, test:ai, or ad-hoc
smoke suites as product gates. Temporary local exploration is allowed, but
release evidence must name the relevant runtime/Rust/platform/build/live
gate that actually proved the behavior.
For desktop release verification, dev webviews, dev servers, localhost browser
results, and old bundle-id launches are not sufficient. Build the desktop
renderer and @offisim/desktop, launch the exact release .app path from this
worktree, and record the app path/hash plus Computer Use or equivalent
release-app evidence.
Detailed machine setup, env notes, and startup combinations live in Docs/00_start_here/LOCAL_DEVELOPMENT.md.
Deployment-specific guidance lives in Docs/00_start_here/DEPLOYMENT.md.
Release gate commands and evidence requirements live in Docs/00_start_here/RELEASE_GATES.md.
For platform-backed local or deployed usage, the most important Offisim environment variables are:
DATABASE_URLCORS_ORIGINSBETTER_AUTH_SECRET
AI engine state is lane-specific. Pi API provider keys entered in AI Accounts are
written to Pi-owned ~/.pi/agent/models.json, while Offisim projects only safe
summaries. External CLI orchestration reuses CLI-owned login, model choice,
sessions, compaction, and global memory without copying them into product storage.
The product and package scope are branded as Offisim / @offisim/*.
- Multi-agent collaboration is the product core. Boss, Manager, PM, employees, meetings, queueing, interrupts, resume, and reporting are first-class.
- Execution lives in the user's local runtime. The marketplace is a registry and distribution surface, not the user's execution plane.
- One engine lane owns each task.
The production gateway currently implements the Pi API engine plus Codex and
Claude Code CLI orchestration adapters in source. Pi and external CLI lanes
coexist, but a run never mixes them. Historical release
.appevidence is retained under its original commit/hash. Publishedv1.1.2includes the post-v1.1.1installed-app Codex launch correction and has exact notarized, installed-distribution evidence under the release-readiness closeout. New worktree changes still require their own release.appverification. - Packages are declarative and auditable. 1.0 does not allow install hooks, postinstall scripts, embedded secrets, or hidden shell bootstrap behavior.
- Desktop is the product environment. Offisim is built as a Tauri desktop app with an internal WebView renderer, not a standalone web runtime.
Not every Market listing kind has an install pipeline in 1.0. The current boundary (mirrored in each listing's description):
- Skill packages — full install support (agent-mediated install and local package import).
- Employee packages — full install support (materialized into the company roster).
- Company templates — preview-only in the Market; companies are created from templates through the first-run company creation flow, not by Market install.
- Office Layout packs — preview-only; zone layouts are applied by the in-product zone creator, there is no layout install pipeline yet.
- Prefab packs — preview-only; prefab install / copy-into-library is not yet implemented.
Preview-only kinds render listing pages and previews but have no install action. Expanding these pipelines is post-1.0 scope.
Current application/package shape:
apps/desktop— Tauri 2 desktop app and release targetapps/desktop/renderer— internal Vite + React WebView renderer owned by the desktop app; currently a clean new-design mount pointapps/platform— registry/auth/review/install support APIpackages/core— local domain logic, repos, tools, install, and audit contractspackages/prefab— scene tokens, layout engine, prefab/state logicpackages/dramaturgy— deterministic Office beat, staging, performance, and ambient logicpackages/asset-schema/install-core/registry-client/db-*/shared-types/doc-engine— contracts and support layers
README.md— this file; project truth and document routingDocs/00_start_here/LOCAL_DEVELOPMENT.md— new-machine setup, prerequisites, env, and local startup commandsDocs/00_start_here/DEPLOYMENT.md— platform/registry backend deployment (Docker) and desktop distributionDocs/00_start_here/RELEASE_GATES.md— the gate commands and evidence requirements for a release
CLAUDE.md— primary AI working instructions (root + per-package underpackages/*/CLAUDE.md,apps/*/CLAUDE.md)
Docs/SYSTEM_FRAMEWORK.md— architecture, runtime layers, persistence, flows, and verification mapDocs/FEATURES.md— maintained feature catalog with owner paths and gatesDocs/CODEBASE_MAP.md— package/code ownership map and cleanup rulesDocs/HARNESS_ARCHITECTURE.md— current engine gateway and host validation architectureDocs/architecture/2026-07-13-engine-neutral-ai-accounts.md— current engine/account/session/workspace decision recordDocs/architecture/2026-06-18-pi-agent-only-runtime.md— superseded Pi-only implementation history
- Package manifest schema →
packages/asset-schema/src/schema/manifest-1.0.0.json+packages/asset-schema/src/manifest.types.ts - Install state machine →
packages/install-core/src/state-machine.ts+packages/shared-types/src/install.ts - Platform HTTP API →
apps/platform/src/routes/ - Local SQLite schema →
packages/db-local/src/schema.ts+packages/db-local/src/schema.sql - Platform Postgres schema →
packages/db-platform/src/schema.ts+packages/db-platform/schema.sql - Desktop AI runtime →
apps/desktop/renderer/src/runtime/desktop-agent-runtime.ts+apps/desktop/src-tauri/src/{pi_agent_host,codex_agent_host,claude_agent_host}/+ bundled API hostscripts/tauri-pi-agent-host.entry.mjs/scripts/build-pi-agent-host.mjsand Claude host entryscripts/tauri-claude-agent-host.entry.mjs(architecture:Docs/HARNESS_ARCHITECTURE.md)
Docs/UI_FRAMEWORK_STACK.md— the approved renderer UI stack (source of truth for new UI work)Docs/design/— per-surface HTML prototype specs (Office, Settings, Market, Personnel, Activity, Workspace, lifecycle, states)Docs/design/spacing-density.md— spacing token reference
README.mdCLAUDE.md(root + relevant package CLAUDE.md)Docs/SYSTEM_FRAMEWORK.md,Docs/FEATURES.md, andDocs/CODEBASE_MAP.md- Code paths listed under Live contracts for the affected surface
packages/db-local/src/schema.sqlorpackages/db-platform/src/schema.tswhen the task touches persistence
When two sources overlap, use this order:
- Code +
git log— the only live truth CLAUDE.md(root and per-package)Docs/SYSTEM_FRAMEWORK.md,Docs/FEATURES.md,Docs/CODEBASE_MAP.md, and area-specific docs- Design prototypes in
Docs/design/when the task touches UI appearance
If a task is about...
- runtime behavior, orchestration, local state, installs → start with
CLAUDE.md, the Live contracts above, andpackages/db-local/src/schema.sql - visual language or marketplace presentation → start with
Docs/UI_FRAMEWORK_STACK.mdandDocs/design/ - user flows, trust, readability, accessibility → start with the per-surface prototypes in
Docs/design/ - office scene / layout / prefabs → start with
packages/prefab(scene tokens, layout engine, prefab/state logic),packages/dramaturgy(deterministic staging/performance), andDocs/design/offisim-office-layout-v3-prototype.html - platform publish / listing / versions / reviews → start with
apps/platform/src/routes/andpackages/db-platform/src/schema.ts
- Do not accidentally turn Offisim into a hosted SaaS execution plane.
- Do not hardcode provider-specific model assumptions into marketplace assets.
- Do not place secrets in assets.
- Do not add install hooks or postinstall scripts in 1.0.
- Do not treat the product as a literal game, but do preserve game-grade presentation quality where it improves clarity and trust.
MIT. See LICENSE.