Prompt real agents
Exercise the agents and model policies your application already owns from one browser workspace.
Same runtime your application owns. A browser console for the development loop. 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})A Playground run crosses the same model, tool, memory, and approval boundaries as a run in your product. That makes a local reproduction useful evidence, not a Studio-only approximation.
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.
This illustrative preview uses a sample conversation to show messages, tool calls, and results together. Explore the full inspection views in the Studio guide.
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.
Read the graph, inspect inputs and outputs, replay a run, or invoke a selected tool handler with explicit arguments.
Follow a streamed call back to its message and session, then inspect the linked trace, timing, model, and token usage.
Inspect static knowledge, dynamic context and tools, retrieval evidence, and records exposed by the memory adapter.
See connected MCP servers and tools alongside registered agents, models, storage status, record counts, and enabled capabilities.
Browse workspace files, running processes, exposed ports, and logs while the agent is still doing the work.
Studio 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.
Browser views, HTTP routes, shared stream semantics, human input, replay, and direct development tools.
Fast 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.
Studio does not include authentication, authorization, or TLS. Keep it on loopback with development credentials and test data. Read the security boundary
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.
Open the graph, inspect the failed step and its recorded input and output, then rerun the saved input or start a corrected run.
Connect an agent run to the files it changed, the process it started, its exposed port, and the logs it produced.
Studio shortens the local development loop. Lens is an optional production companion for observability, evaluation, and release decisions; your agent can also use another observability backend.
Prompt real agents, resolve interactive states, inspect context, and replay local workflows.
Investigate production traces, evaluate datasets, compare releases, and enforce quality gates.
Continue to LensSame runtime identity, from local reproduction to production.
Add Studio to the project that owns your agents, start the local console, and inspect the registered runtime in your browser.
Add @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.