Skip to main content

Headless Agent Studio Open protocol, trace-store, sidecar, and export CLI.

Project description

agentstudio CLI

agentstudio is the headless Agent Studio Open runtime for protocol smoke tests, local trace storage, deterministic replay exports, and Python sidecar integration. It is intentionally local-first: traces are written to SQLite .ast files and no network call is made unless a command explicitly targets a server URL or export destination.

Quick start

python -m pip install auraone-agent-studio-open
agentstudio self-test --json
agentstudio connect stdio --command python --arg tests/fixtures/mcp_stdio_server.py --json
agentstudio connect http https://mcp.example.com/mcp \
  --oauth-resource-metadata-url https://mcp.example.com/.well-known/oauth-protected-resource \
  --oauth-access-token "$MCP_ACCESS_TOKEN" \
  --mtls-cert ~/.agentstudio/client.pem \
  --mtls-key ~/.agentstudio/client-key.pem \
  --json
agentstudio import-trace tests/fixtures/openai_events.jsonl --format openai --store /tmp/refund.ast
agentstudio store search /tmp/refund.ast refund --json
agentstudio export gh-action tests/fixtures/regressions --out /tmp/agent-regression
agentstudio export phoenix-json /tmp/refund.ast --out /tmp/refund.phoenix.json
agentstudio model --provider openai --model gpt-5.1 --prompt "Summarize the trace" --dry-run --stream --json

For local development, run python -m pip install -e . from this directory.

Commands

  • connect stdio|http|sse|ws: run MCP initialize and manifest discovery across stdio, JSON-RPC-over-HTTP, SSE, and WebSocket transports. HTTP/SSE support custom --header name=value, --bearer-token, --oauth-access-token, --oauth-resource-metadata-url, --mtls-cert, and --mtls-key options for protected remote MCP servers.
  • a2a: load an A2A agent card from a file or URL and run the local contract suite.
  • import-trace: normalize OpenAI-style events, OTLP JSON/proto, Phoenix JSON, and replay JSON into a portable .ast SQLite trace store.
  • otlp receive: run a localhost OTLP HTTP JSON/proto receiver, or pass --grpc --port 4317 for the OTLP gRPC TraceService.
  • store search: full-text search sessions, turns, and tool calls in an .ast file.
  • replay, compare, export: run deterministic assertions, diff trace stores, and emit GitHub Action, JUnit, PR-comment, Phoenix JSON, or AuraOne intake exports.
  • export trace-card: render agent-trace-card Markdown, JSON, or HTML from a recorded trace.
  • model --stream: emit newline-delimited stream events for provider responses; dry-run mode exercises the stream contract without a network call.
  • otel-bridge extract: invoke otel-eval-bridge extraction for local eval cases with default redaction.
  • sidecar: bootstrap or serve the Python sidecar used by the desktop app.
  • self-test: verify engine package imports and CLI wiring.

This package is not the hosted Agent Studio Cloud product and does not include multi-user state, hosted trace storage, or AuraOne account requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auraone_agent_studio_open-0.1.1.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auraone_agent_studio_open-0.1.1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file auraone_agent_studio_open-0.1.1.tar.gz.

File metadata

File hashes

Hashes for auraone_agent_studio_open-0.1.1.tar.gz
Algorithm Hash digest
SHA256 408c6aef799e1fa822dc4c4c8baddf2ae6069c418d5aaad2cbb03b3049a3f2a2
MD5 55cf4608a21dfbf184f35cc730e23e6d
BLAKE2b-256 a4297606c9e8a5425332bbd1b2b7a46ba401862079a2623e5fa3b319bcc6190f

See more details on using hashes here.

File details

Details for the file auraone_agent_studio_open-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for auraone_agent_studio_open-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d19973aa51a132e0417fd2e5d0dc69660ae465f71f5d3336e6a77bd24cd9810f
MD5 4672941fc5be1212fbe420de378b08fc
BLAKE2b-256 19a42c840b8a56eab9422093cb5e4c2feeef612698c36eaac92504da97b38a64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page