Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

media-studio-agent-sdk

AI302 Media Studio 的 agent 运行时 SDK:FastAPI + WebSocket,逐 step 下发原始 agent 通知,并提供可复查的 run 帧回放。

安装

pip install media-studio-agent-sdk

启动

# 沙盒常驻(后台)
media-studio-agent start --daemon --host 0.0.0.0 --port 8300

# 运维
media-studio-agent status
media-studio-agent logs --follow
media-studio-agent restart
media-studio-agent stop

子命令与 claude-sandbox 一致;旧的扁平调用(media-studio-agent --port 8300) 等价于 start(前台)。

接口速览

  • WS /ws/chat:init → message → 原始运行时通知 + run_started / run_finished 控制帧;每帧带 run_id / seq。
  • GET /runs、GET /runs/{run_id}/frames?since_seq=:与 WSS 一致的帧回放。
  • GET /runs/{run_id}/trace、/trace.txt:根 + 子 agent 的 step 级轨迹。
  • GET /health:服务状态 + 活动运行时数。

部署配置、完整 WS 协议与已知限制见仓库 docs/。

发版

推送 agent-v* tag 触发 .github/workflows/publish-agent.yml;版本与流程见仓库 docs/release.md。

Metadata

Release files for media-studio-agent-sdk 0.1.0b5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for media-studio-agent-sdk 0.1.0b5
File Size Uploaded Provenance Actions
media_studio_agent_sdk-0.1.0b5.tar.gz 55.3 kB Without provenance Details for media_studio_agent_sdk-0.1.0b5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for media-studio-agent-sdk 0.1.0b5
File Interpreter ABI Platform Actions
media_studio_agent_sdk-0.1.0b5-py3-none-any.whl Python 3 none any Details for media_studio_agent_sdk-0.1.0b5-py3-none-any.whl

Total release size: 118.7 kB

Release files / media_studio_agent_sdk-0.1.0b5.tar.gz

Download URL media_studio_agent_sdk-0.1.0b5.tar.gz
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
af8e4e21f950e641698902e2a51bd7c756f608065e638af4c28dc9a914704e5c
BLAKE2b-256 checksum
How to use checksums
efeac01beeae36202226f743c7c160a81720b6f6547cfe5e4e12a07bbca76759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / media_studio_agent_sdk-0.1.0b5-py3-none-any.whl

Download URL media_studio_agent_sdk-0.1.0b5-py3-none-any.whl
Size 63.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8fea6a5bb288620cf525c11ee6cebc5159ed96d88891785a68bfcd4e05c0793
BLAKE2b-256 checksum
How to use checksums
604ac3182a72ddf16da61debb49748e612286c1f5f5786821cc8faf993f75e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for media-studio-agent-sdk 0.1.0b5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page