One pipe-friendly binary. Every verb.
The agentstudio CLI is the same surface the desktop and browser editions ride on. JSON output for automation. No desktop runtime required in CI when replay artifacts are already exported.
Nine verbs. One binary.
Each verb does one thing and writes a portable artifact. Pipe them. Combine them. Run them in CI.
Open stdio, SSE, HTTP, or WebSocket MCP connections.
↳ session idCapture a session into a portable .ast trace.
↳ .ast fileRun deterministic replays with mocked tool outputs.
↳ replay reportRun one session against multiple provider profiles.
↳ diff reportInvoke mcp-risk-linter and attach findings.
↳ SARIFValidate cards and run contract tests.
↳ JUnit XMLConfigure provider keys and run smoke checks.
↳ JSON statusStart the local OTLP receiver or import OTEL files.
↳ session idWrite GitHub Action, JUnit, PR comment, trace card, or intake output.
↳ artifact fileThe flags that move the artifact.
Flags are scoped per verb. The same flag name keeps the same meaning across verbs to keep automation predictable.
Spawn a local stdio MCP server.
Connect to an HTTP JSON-RPC MCP endpoint.
Connect to an SSE MCP endpoint.
Connect to a WebSocket MCP endpoint.
Run the server under sandbox-exec or bubblewrap.
Name the recorded session for trace browser indexing.
Pre-fill a tool call before recording.
Inline JSON payload for the tool call.
Comma-separated provider list for cross-model diff.
Use a mocked tool-output fixture for determinism.
Output format: sarif, junit, json.
Output path for the artifact.
Emit a GitHub Actions workflow YAML.
Emit JUnit XML for CI dashboards.
Emit a PR-comment markdown block.
Emit a portable trace-card markdown.
Emit a .auraonepkg intake packet preview.
Require a bearer token for OTLP receiver writes.
Reject OTLP payloads above the local safety limit.
Throttle OTLP receiver writes per client.
Force structured JSON output for automation.
From connect to workflow YAML.
Connect with JSON output, scan the server, and export a GitHub Action that gates future releases.
agentstudio connect --http https://example.com/mcp --json
agentstudio risk-scan ./server --format sarif --out mcp-risk.sarif
agentstudio record --session refund --tool refund.create --json '{"id":"INV-9"}'
agentstudio replay refund.ast --compare anthropic,openai --json
agentstudio export refund.ast --github-action --out .github/workflows/agentstudio.ymlPipe it. Script it. Keep it.
Run the CLI in CI. Skip the desktop runtime. The exported artifact is the contract.