Prompt real agents
Exercise the agents and model policies your application already owns from one browser workspace.
Studio wraps the agents and pipelines your application owns, then connects the surfaces needed to understand them — playground, review, context, traces, and live runtime state.
Prompt agents, inspect tool calls, and follow local workflows without leaving the browser.
Exercise the agents and model policies your application already owns from one browser workspace.
Inspect agent tool calls, resolve approval requests, and answer bounded questions during a Playground run.
Explore knowledge, evidence, memory, MCP tools, sandbox workspaces, processes, and logs.
Inspect pipeline graphs, sessions, traces, models, run output, and local history.
Studio opens a local server around the exact agent instance your product uses. Its model, instructions, tools, middleware, memory, and policy do not move.
1import { Agent } from '@anvia/core'2import { Studio } from '@anvia/studio'34const agent = new Agent({5 id: 'support',6 name: 'Support',7 model,8 instructions: 'Answer clearly.',9})10new Studio([agent]).start({11 hostname: '127.0.0.1',12 port: 4021,13})Studio registers the agent your product already constructs. There is no second definition to synchronize.
Models, tools, middleware, memory, instructions, and approval policy remain application code.
The local console makes runtime relationships visible without becoming another application framework.
A streamed tool call belongs to a message, that message belongs to a session, and the session can be followed into its trace, context, and replay.
Start a run against the exact agent object registered by your application.
Watch ordered text, tool arguments, results, usage, and errors arrive.
Approve protected work, answer a human question, or cancel safely.
Move from message to session, trace, memory, context, or live Sandbox state.
Correct an input or failed pipeline step and run the linked workflow again.
Use the navigation in the preview. Playground, Pipelines, Traces, and Sandbox each expose a different view of the same local runtime.
Workspace/Chat/assistant
Summarize failed checkout runs from the last hour.
I’ll inspect recent traces and group the failures by cause.
status:error since:1hMost failures came from expired payment sessions (9), followed by inventory locks (5) and address validation (4).
Every surface answers a different debugging question while preserving the relationships between a run, its state, and the capabilities it touched.
Stream a real response, inspect mixed message parts, and handle approvals or human-input requests in context.
streamingapprovalsusageRead the graph, inspect inputs and outputs, replay a run, or invoke a selected tool handler with explicit arguments.
graphsschemasreplayFollow a streamed call back to its message and session, then inspect the linked trace, timing, model, and token usage.
historyidentitymetricsInspect static knowledge, dynamic context and tools, retrieval evidence, and records exposed by the memory adapter.
knowledgeretrievalmemorySee connected MCP servers and tools alongside registered agents, models, storage status, record counts, and enabled capabilities.
serversmodelsstatusBrowse workspace files, running processes, exposed ports, and logs while the agent is still doing the work.
filesprocesseslogsStudio owns its browser UI, local HTTP and streaming routes, inspectors, and optional local stores. Your application keeps credentials, product data, production policy, and deployment authority.
Agents, tools, credentials, model clients, memory adapters, and approval policy stay in application code.
REGISTER EXACT OBJECTSBrowser views, HTTP routes, shared stream semantics, human input, replay, and direct development tools.
127.0.0.1dev datalocal onlyFast disposable sessions and traces with no database left behind.
Session, trace, pipeline, and run history can survive a local restart.
Discover conversations when the agent's memory adapter exposes an inspector.
Three focused loops for the moments when a transcript or a terminal log cannot explain what the agent system actually did.
Prompt an agent to request a protected action, inspect the proposed arguments, approve it, and verify the linked completion.
prompt → tool request → approve → resumeOpen the graph, inspect the failed step and its recorded input and output, then rerun the saved input or start a corrected run.
input → failed step → inspect → rerunConnect an agent run to the files it changed, the process it started, its exposed port, and the logs it produced.
run → workspace → process → logsStudio shortens the development loop around a live local runtime. Lens keeps the production history needed for durable observability, evaluation, and release decisions.
Prompt real agents, resolve interactive states, inspect context, and replay local workflows.
local · interactive · disposableInvestigate production traces, evaluate datasets, compare releases, and enforce quality gates.
durable · self-hosted · operationalAdd Studio to the project that owns your agents, start the local console, and inspect the registered runtime in your browser.
Read the Studio guideAdd @anvia/studio to the server-side TypeScript project that owns your agents.
Pass the same agent objects to Studio and add a local development script.
Start the process, then open 127.0.0.1:4021/playground in your browser.