Skip to content

Studio surfaces

Use this reference to find the page or API area for a task. For installation and a first run, start with Get started with Studio. For the relationship between execution and stored definitions, see the Studio model.

Each section names the implementation checked for its available actions. UI source paths below are relative to apps/studio/frontend/src/. Service files are named without a directory: admin.py, engine_runs.py, invocations.py, run_resume.py, runs.py, schedules.py and sessions.py are in lionhub/src/lionhub/serve/daemon/services/, db_maintenance.py is in lionhub/src/lionhub/orchestration/scheduler/, and the others are in apps/studio/backend/src/lionagi_studio/services/. Navigation labels follow messages/en.json and components/shell/IconRail.tsx. Backend area names refer to service registrations; the running daemon's generated schema is the reference for exact requests and responses.

Mission Control and Attention

Mission Control opens an overview of work running now, recent runs, activity and reported spend, and items needing attention. Select a run to inspect its execution. Activity and spend share a time-window selector. A stale-data indicator distinguishes an interrupted refresh from a current view.

The Attention tab expands the overview's compact queue. Filter active, discharged, or all items. You can acknowledge an item as seen, or resolve, snooze, or mark an eligible item as expected. Acknowledgement keeps the item visible. Pending gates only allow acknowledgement here: follow the item to make the actual approval decision. If Studio cannot read a play’s current metadata, its row shows Unavailable. You can still follow the play name to Fleet.

Backend areas: runs, invocations, schedules, stats, and attention provide the execution summaries, activity, spend, and persistent attention dispositions.

Sources: UI routes/index.tsx, components/mission/MissionControl.tsx, components/mission/AttentionQueue.tsx, and routes/attention.tsx; services runs.py, invocations.py, schedules.py, stats.py, and attention.py.

Fleet

Open Fleet beside Overview to browse active and past runs. Search the list, filter it by status or project, and select a row to open its detail. The project selector includes all projects and runs with no project, plus searchable project names and counts.

Run detail brings together status, recorded messages and tool results, branches, graph activity, and file links when present. Continue this run offers an instruction and branch choice for agent follow-ups. Play, flow, and show-play runs instead offer Continue to replay their saved checkpoint, without an instruction or branch selector. Missing saved state or unsupported run kinds produce an explained refusal. See the Operator guide for live-run queuing, branch selection, and the CLI escape hatch.

Backend areas: runs and sessions provide execution history and branch detail; runs also handles follow-ups, and invocations records launch context.

Sources: UI routes/fleet.tsx, components/fleet/FleetView.tsx, and components/history/ResumeRun.tsx; services runs.py, sessions.py, invocations.py, and run_resume.py.

Operator

Operator is a dock available across Studio. Send instructions, follow the stream, decide permission requests, or stop a turn. A successful tool result containing a run ID offers Open run; a text-only reply does not. The daemon stores conversations so they can be restored after a browser reload, and later turns can reuse the conversation's persisted branch and run record.

Backend areas: operator owns conversations, turns, streamed events, and native permission decisions; linked execution appears through runs and invocations. See Use Operator.

Sources: UI components/operator/OperatorPanel.tsx; services operator.py, runs.py, and invocations.py; conversation identity and permissions are implemented in apps/studio/backend/src/lionagi_studio/operator/engine.py, apps/studio/backend/src/lionagi_studio/operator/store.py, and apps/studio/backend/src/lionagi_studio/operator/permission_mcp.py.

Schedules

Schedules lists standing automations in cards, a table, or a calendar. Create a schedule, enable or disable it, open its definition, edit it, request a fire, and inspect recent fire history. A fire with a linked invocation can open the corresponding execution view.

Schedules support the action kinds agent, command, fanout, flow, flow_yaml, and play. Engines are launch-only. Start an engine on demand with li engine run <kind> <input>.

A legacy engine schedule can still be renamed. If its engine kind becomes unavailable, a manual trigger returns HTTP 400 and an automatic fire records a failed occurrence. Restoring the kind permits subsequent fires.

Backend area: schedules owns definitions, fire requests, history, and limits. See Automate work with schedules.

Sources: UI routes/schedules/index.tsx and components/schedules/; service schedules.py.

Library

Library groups reusable definitions. Browse all visible kinds together or choose a kind tab, search by name, and select an item for its detail. The Studio information architecture decision describes the navigation and its implementation boundaries.

The kind tabs read Agent, Workflow, Playbook, Skill, Plugin, MCP Server, and Hooks.

  • Agent: named profiles. Inspect their configuration and use the creation and editing controls for profiles that are not protected.
  • Workflow: saved graph definitions. Select a workflow to inspect its graph, check its inputs, and launch the checked revision. Open the resulting session in Fleet.
  • Playbook: bundled templates and your installed playbooks. Inspect their agent, inputs, and prompt; clone a bundled template to customize it, or use Run to launch it. Bundled templates remain read-only.
  • Skill and Plugin: installed instructions and packaged components. Inspect their contents and usage. Install these through their filesystem or plugin tooling; Library has no new-skill or new-plugin form.
  • MCP Server: server registrations and their configuration.
  • Hooks: hook assemblies and configuration.

Engine blueprints and presets

The Library has no engine tab: it does not list engine blueprints or presets. A workflow engine node names a saved preset, and presets are stored through /api/engine-defs/. An engine launch records the resolved preset ID and its canonical engine session retains that ID. Historical sessions without this association have no preset history entry. State schema 10 adds the nullable column and lookup index. Upgrade an existing writable store with li state migrate.

The engine catalog provides the following reads.

  • GET /api/engine-catalog/blueprints describes registered engine kinds and their preset inputs. The reviewed topology and its SHA-256 version come from the same packaged resource used by the offline Designer.
  • GET /api/engine-catalog/presets lists presets in ID order, with limit (default 100, maximum 200), optional kind, and an opaque cursor. It is not a snapshot: an insertion before a cursor may be missed; deleting or renaming a preset does not change its ID order.
  • GET /api/engine-catalog/preset?id=<encoded-id> retrieves one preset independently of pages. An empty id is distinct from an omitted parameter. Rows with a NULL, non-text, or NUL-containing ID are outside the catalog.

Trailing IDs longer than 4,096 UTF-8 bytes are deferred when the page has an encodable ID. When all IDs on a page exceed that bound, the page has no next cursor and includes stop_reason: id_exceeds_cursor_bound only if additional rows exist. Proxies may impose request-line limits on encoded IDs and cursors. Unregistered kinds and unreadable options remain listed as unavailable; their stored data is not rewritten. The descriptor's model and budget constraints describe preset/Studio admission only. Workflow compilation checks each engine node's effective options against its registered kind. Node options override the stored preset before the compiler checks allowed keys, required keys and option values. A refusal identifies the workflow node.

Preset creation and updates accept only registered kinds and options consumed by the selected kind. PUT /api/engine-defs/{id} uses field presence: omitted fields stay unchanged; null clears model, budget and description overrides. Name and kind cannot be null, and names are trimmed and must remain nonempty. Options replace the entire object; null replaces them with {}, which a kind with a required option refuses. A kind change validates the retained options unless the same request supplies a replacement. Unrelated edits with an unchanged kind preserve legacy options exactly, including unreadable or unused values. Presets with an unavailable kind remain read-only. Concurrent updates validate and write the same current row atomically; direct StateDB writers are internal and unvalidated. Legacy CLI launches continue to accept their existing options. The catalog can list a recognized option under unused_option_keys when it belongs to another kind. A workflow referencing that preset needs options supported by its selected kind.

Teams

Teams browses crews created with li team. The list shows a team's name, member count, and last modification. Open a team to inspect its members and shared message history, shown newest first. Refresh the list or load more teams as needed. This page is a read-only browser; team creation and message sending remain in the team coordination tools.

Backend area: teams reads the team JSON files under ~/.lionagi/teams. The page is separate from Operator conversation history and Fleet runs.

Sources: UI routes/teams/index.tsx; service teams.py.

System

System, near the bottom of the rail, places these sections on one page:

Section Current actions and information
Health Inspect database and WAL sizes, diagnostics, and phantom-session counts.
Maintenance Run a WAL checkpoint, prune retained execution data, or vacuum the database; inspect the result. Phantom-session pruning asks for confirmation.
Admin events Inspect recorded maintenance and control events; filter by action or target ID and apply the filter.
Data Open engine-run history or the definition browser.
Settings Choose light or dark theme and language; inspect the API base and frontend build version.

Theme is a browser preference. Language is stored in a browser cookie and changing it reloads the page. The displayed API base and build version are read-only. This settings section does not configure provider credentials or edit the daemon's environment.

Backend area: admin supplies health, maintenance, and audit events. Data links open the engine-runs and definitions areas; appearance and language are client preferences.

Sources: UI routes/system.tsx, lib/theme.ts, and i18n/locales.ts; services admin.py, db_maintenance.py, engine_runs.py, and definitions.py.

Approvals

Approvals are a mechanism used by work that needs a decision, rather than a separate page. Open an attention item or the relevant run to inspect a gate. Operator displays its native permission requests directly in the conversation. Granting one request does not approve all later work.

Backend areas: approvals stores approval requests and decisions; operator handles its conversation-specific permission flow. Acknowledging an item in Attention does not grant its pending approval.

Sources: UI components/mission/AttentionQueue.tsx, components/history/RunDetail.tsx, and components/operator/OperatorPanel.tsx; services approvals.py, attention.py, and operator.py.

Projects

Projects attribute work to a named context. Fleet's project filter helps you find matching runs, including those with no attribution. There is no dedicated Projects page or project-management form in the current UI.

The API also provides a project registry with source, local path, repository, description, timestamps, and session counts. Its detail includes agents and playbooks used by the project's sessions. Integrations can create a Studio-managed project, update its path/repository/description, and assign specific sessions or all unassigned sessions. Assignment records a manual attribution. Deleting a registry entry is restricted to Studio-managed projects and does not delete their sessions.

Backend area: projects owns the registry and assignment operations. Fleet's project choices come from the runs area, so the filter represents attributed runs rather than a project-management screen.

Sources: UI components/fleet/ProjectFilter.tsx; services projects.py and runs.py.

Generated API reference

With the daemon running, open its OpenAPI schema. Use your daemon's host and port if they differ from the default. Token-protected deployments require the same bearer authentication for the schema as for API calls.

The schema is generated from the routes mounted by lionhub/src/lionhub/serve/daemon/app.py, with the Studio application attached by apps/studio/backend/src/lionagi_studio/app.py and its routes listed in apps/studio/backend/src/lionagi_studio/registry.py. It describes the API of that running version, including request schemas and response shapes. Consult it for exact endpoints instead of inferring an API path from a page name.

Sources: lionhub/src/lionhub/serve/daemon/app.py, apps/studio/backend/src/lionagi_studio/app.py, apps/studio/backend/src/lionagi_studio/registry.py, and the registered service modules.

For scheduling behavior, see ADR-0070.