Live activity
liveworkspace watchFollow CLI and Studio work through 20 typed activity events. Activity is observable execution, not verification proof.
Everything you need to create, understand, and govern software workspaces from the CLI, CI, and VS Code.
Learn the Workspace Intelligence architectureOpen Workspai.dev for concepts, contracts, architecture maps, guides, and reference material.Install the CLI, create or adopt your first governed workspace, then open the same evidence in VS Code.
Run npm install -g workspai, or use npx workspai for an install-free first run.
Open npmCreate a workspace, or run npx workspai adopt . inside an existing project. Workspai connects it without moving the source.
Install Workspai from the Marketplace, open the workspace, and use the same model, evidence, and repair paths inside your editor.
Open MarketplaceWorkspace identity baseline
Workspai keeps managed workspaces in ~/.workspai/workspacesand uses one shared workspace identity for CLI, CI, VS Code, and agent surfaces. Create, adopt, import, list, and sync commands all resolve that same boundary. Connected projects receive a portable context lens plus a gitignored machine-local link, so users and agents can run workspace-aware commands from the project itself.
The open-source CLI owns the deterministic workspace layer. Bootstrap workspaces, adopt repositories, scaffold kits, produce evidence, and enforce the versioned intelligence chain from the terminal or CI.
Canonical enterprise gate
workspai workspace intelligence run --for-agent generic --strict --jsonThis executes Model → Diff → Impact → Doctor Evidence → Contract Evidence → Analyze Evidence → Readiness Evidence → Verify → Agent Context → Agent Grounding → Explain in contract order. A strict run succeeds only when its required evidence is ready, and writes the complete result to .workspai/reports/workspace-intelligence-run-last-run.json.
Command and schema baseline: Workspai CLI 0.72.1
Or run instantly with npx workspai …. Full CLI reference
Give the work a measurable finish line
npx workspai goal "Prepare this workspace for release" --for-agent genericThe natural-language front door compiles intent into a workspai.goal-pack.v1 pack and workspai.goal-agent-handoff.v1 handoff. Verified Goals preserve release, dependency-security, or coverage success criteria across CLI, CI, IDE, and agent sessions. Planning records the goal; only npx workspai workspace goal verify <goal-id> --json can publish the governed verdict to .workspai/reports/verified-goal-last-run.json.
Make the change carry its own proof
npx workspai change begin --jsonnpx workspai change verify --change <change-id> --strict --jsonProof-Carrying Change pins the active Goal and architecture generation before mutation, then keeps authorization, observed effects, the actual Graph delta, verification, and remaining uncertainty in a workspai.proof-carrying-change-capsule.v1 capsule. Prediction can guide the agent, but it never becomes proof. Use npx workspai change list --json to discover durable changes and npx workspai change capsule validate --change <change-id> --json before trusting or exporting one.
Enter through the canonical project boundary
npx workspai agent bootstrap --for-agent generic --strict --jsonThe workspai.agent-entry.v1 entry resolves its governing workspace in canonical-first mode. The workspai.agent-bootstrap-receipt.v1 receipt requires at least 6 bounded read-order items, keeps live source as exact-implementation, and permits verification claims only from cli-evidence-only. Runtime-aware Skills use workspace-operational-skill.v1 and workspace-skills-index.v1 contracts.
Classify the project before judging it
npx workspai workspace model --json --writeThe workspace-model.v1 Model distinguishes 11 project kinds and records runtime units, lifecycle commands, test surfaces, package structure, CI, release, and ownership evidence. Governance remains explicit as repository, external-declared, external-observed, unknown. Cache reuse also requires semantic producer workspace-model-producer.v3, so a structurally valid but semantically obsolete model is rebuilt.
Diagnose causally, then repair transactionally
npx workspai doctor workspace --fresh --json=summarynpx workspai workspace repair capabilities --jsonDoctor emits the workspai.doctor-diagnosis.v1 diagnosis across 6 required domains. Repair then uses 13 typed adapter families across 4 scope types, 10 failure families, and 6 terminal recovery paths. Mutation authority stays cli-only. Missing tools, unsupported adapters, or risk beyond approval remain decision-required. Compact workspai.doctor-summary.v1 output and the durable workspai.doctor-receipt.v1 receipt preserve verdict, freshness, affected projects, blockers, and the next governed action. The aggregate Studio surface is contract-bound across 32 card kinds; one repair transaction still owns only one causal finding family and one canonical project at a time.
Keep analysis, readiness, and proof separate
npx workspai analyze --jsonnpx workspai workspace verify --from-impact .workspai/reports/workspace-impact-last-run.json --jsonAnalyze publishes ready, needs-attention, blocked findings. Readiness evaluates env, doctor, analyze, verify, dependency gates for the requested action. Verify then emits a workspace-verify.v1 receipt with ready, needs-attention, blocked verdicts, explicit missing evidence, affected-subgraph coverage, and exit codes 0, 1, 2.
Plan a polyglot fleet before executing it
npx workspai workspace run build --plan --jsonnpx workspai workspace run test --runtime rust --strict --jsonPlan mode discovers bounded runtime units without running them. Real test, build, and start stages use npm, Python, Go, Cargo, Maven, Gradle, NuGet, CMake, Meson providers and enforce doctor-workspace and readiness by default. The workspace-run-v1 result is retained at .workspai/reports/workspace-run-last.json. Strict mode turns failed or warning gates into a non-zero exit; verification follows the finding's exact sourceCommand and sourceArtifact instead of guessing a producer.
Ask the Workspace Knowledge Graph first
npx workspai workspace graph search "authentication" --kind endpoint --limit 12 --jsonWorkspai first reconciles the canonical Workspace Model, then derives and enriches this graph from the projects that model authorizes. The graph is bound to the model's stable structural hash and live project fingerprint, using hybrid-git-content-v2 with git-worktree-v2 or content-merkle-v1 per scope, so stale or mismatched graph evidence is rejected. Scoped search removes low-value query terms, ranks relevant identities deterministically, and keeps repeated logical interfaces together while preserving their individual source proofs. Provider results remain explicit when evidence is partial, skipped, failed, or expected but missing. The agent projection reports an omission budget for entities, relations, relatedEntities, proofs, proofReferences, aliases, attributeValues rather than silently truncating evidence. Its schema exposes 24 entity kinds and 25 relation kinds. Runtime registration and endpoint implementation remain distinct, while ambiguous source dispatch stays unbound. CMake, Meson, Bazel, and Protobuf providers enrich native and cross-language relationships. Linked proof paths remain portable and omit machine-local absolute paths by default.
Measure without overclaiming
npx workspai workspace eval report --jsonEvaluation artifacts preserve observed payload and model-usage evidence. Compare compatible runs instead of presenting one fixture as a universal token-saving claim.
More governed CLI domains
Important operational surfaces remain part of the same command and artifact registry.
liveworkspace watchFollow CLI and Studio work through 20 typed activity events. Activity is observable execution, not verification proof.
change beginchange listchange verifychange capsule validateBind a source change to its Goal, authorized effects, observed architecture delta, independent verification, and portable capsule.
pipelineautopilot releaseworkspace policyCompose contract-aware release checks and policy evidence. External delivery remains explicit and provider-bound.
infra planinfra statusinfra upinfra downPlan and operate declared infrastructure stacks through their published capability and evidence boundaries.
mirror statusmirror syncInspect direction, source, destination, version, and drift before synchronizing a governed mirror.
product manifestproduct manifest createproduct planDescribe a versioned product boundary and generate a reviewable factory plan without confusing a plan with delivery.
workspace archiveworkspace exportworkspace hydrateworkspace shareworkspace snapshotMove, verify, hydrate, snapshot, and share workspace state with explicit integrity and recovery evidence.
project coverageproject archiveproject restoreproject workspace relinkKeep project-scoped lifecycle, coverage, archival, and workspace binding operations inside the canonical boundary.
Workspace Intelligence is framework-agnostic. Existing projects can enter a Workspai workspace through import or adopt regardless of language or framework. The list below defines where Workspai can also create a new project from scratch. The current Create Planner publishes 8 workspace profiles, 8 native kits, and 15 executable official-generator paths.
adopt / importAny readable language or framework can join the workspace architecture without moving or regenerating its source. Workspai registers the project, writes a project-native agent entry point, and includes it in model, graph, context, Doctor, and verification workflows.
Examples: Laravel, Rails, Django, WordPress, Rust, PHP, Kotlin, legacy services, and mixed monorepos.
createCreating from zero requires a supported native or ecosystem create lane. The current catalog includes backend, frontend, desktop, and extension projects. Official generators resolve their latest stable release, validate declared runtime requirements, and record the result before Workspai synchronizes workspace evidence.
Only the create lanes listed below are promised for new scaffolds today.
RapidKit Core supplies deeper Python-engine kits and backend modules where applicable.
Python 3.11+
fastapi.standardfastapi.dddNode.js · TypeScript
nestjs.standardGo 1.21+
gofiber.standardGo 1.21+
gogin.standardJava 17+
springboot.standard.NET 8+ · C#
dotnet.webapi.cleanNode.js · TypeScript
frontend.nextjsfrontend.remixfrontend.vite-reactfrontend.vite-vuefrontend.vite-sveltefrontend.vite-solidfrontend.vite-vanillafrontend.nuxtfrontend.angularfrontend.astrofrontend.sveltekitRust · Cargo
rust.axumRust or Node.js · TypeScript
desktop.tauridesktop.electronNode.js · TypeScript
extension.vscodePHP · Composer
php.laravelYour framework is not listed? Adopt or import the existing project today. More create-from-scratch lanes are planned; see the changelog for updates.
All commands are accessible from the VS Code command palette.
Workspai: Show WelcomeOpen the main dashboard webview — project tree, health overview, module inventory, and Studio/Advisor entry points.
Workspai: Select WorkspaceSwitch the active workspace used by the dashboard, sidebar, Studio, and Advisor.
Workspai: Create WorkspaceCreate a workspace boundary before adding or importing projects.
Workspai: Create ProjectScaffold a supported kit through the Workspai CLI bridge.
Workspai: Import ProjectBring an existing local project into the active workspace for governance and evidence-backed context.
Workspai: Open StudioOpen the focused repair surface for card fixes, editor issues, and verification handoffs.
Workspai: Run System CheckAutomated health check across workspace and projects. Flags missing env vars, broken deps, port conflicts, and kit config issues.
Workspai: Show LogsOpen the Workspai extension output channel to inspect debug and runtime logs.
Workspai: Show Telemetry SummaryReview local workflow outcomes and command evidence without exposing workspace source.
Fix with WorkspaiEditor diagnostic action. Opens Studio with file, language, diagnostic, and selected-code evidence.
Explain with WorkspaiEditor diagnostic action. Opens Advisor for explanation without applying changes.
Workspai: AI Fix Preview (Lite)Produces candidate edits for review with No auto-apply behavior.
Workspai: AI Change Impact (Lite)Summarizes risk level, affected scope, and recommended test targets before a change.
Workspai: AI Smart RouteRoutes the current workspace question to the smallest suitable evidence-backed workflow.
Workspai: AI EssentialsOpens the shipped set of scoped AI actions and their review-first boundaries.
Workspai: Analyze Terminal Output with AISends selected terminal output into a scoped diagnosis with evidence and verification guidance.
Workspai: Guided Workspace Memory SetupCreates reviewable workspace grounding and memory policy for supported agent surfaces.
Workspai: AI Recipe PacksOpens 11 reusable AI workflows for release readiness, debugging, architecture, and project operations.
Workspai: AI Workspace Command CenterOpens the consolidated AI workflow launcher for the active workspace.
Fix by WorkspaiArtifact-card action. Opens a Studio repair session backed by Workspai remediation-plan evidence.
Send to AdvisorAsk about a workspace, project, artifact, or command without leaving the selected scope.
Refresh evidenceRun the relevant Workspai command and reload the card/session from the latest artifact.
Verify after fixRun the scoped verify command before a card is allowed to look resolved.
@workspai /ask [question]Context-aware architecture Q&A grounded in your workspace files, modules, and project structure — not generic LLM answers.
@workspai /debug [error]Structured Root Cause → Remediation → Prevention flow. Uses your live VS Code editor diagnostics as context.
Studio fixes issues from artifact cards and editor diagnostics. Advisor explains scope and architecture. For Cursor, Claude, Codex, and CI, run workspace agent-sync --write from the Workspai CLI — same workspace evidence, every tool.
Guided Create
"Create workspace billing-platform-wsp, then add FastAPI API + Next.js web"
Project Assistant
"What breaks if I change this settings model?"
Workspace Advisor
"Explain the auth module and its dependencies"
@workspai in Chat
"@workspai /debug Why does this return 500?"
Editor Issue Actions
"Fix with Workspai for this TypeScript diagnostic"
Fix by Workspai
"Open Studio from the blocked Readiness card"
Explain with Workspai
"Explain this import error without applying changes"
Change Impact
"If I change this auth middleware, what breaks?"
Terminal Evidence Review
"Analyze this pytest failure and suggest the verify command"
Agent Context Pack
"Refresh workspace context for agents"
Agent Sync
"Sync AGENTS.md, Copilot, Cursor, Claude, and skills surfaces"
Workspace Playbooks
"Use the release-readiness playbook for this workspace"
Module Advisor
"How do I wire db_postgres with auth_core?"
Command Evidence History
"Show recent doctor, analyze, readiness, and verify outputs"
We do not label a capability as stable or retention-driving until it has scope evidence, verification path, telemetry outcomes, and release-gate compliance.
Next practical step
Install the CLI, try it in a real workspace, then add the extension when you want the same evidence and repair flow inside VS Code.
Want a concrete starting point? Browse workspace examples or follow the evidence-backed product experience.