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.0b4

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.0b4
File Size Uploaded Provenance Actions
media_studio_agent_sdk-0.1.0b4.tar.gz 55.1 kB Without provenance Details for media_studio_agent_sdk-0.1.0b4.tar.gz

Built distribution (wheel)

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

Total release size: 118.4 kB

Release files / media_studio_agent_sdk-0.1.0b4.tar.gz

Download URL media_studio_agent_sdk-0.1.0b4.tar.gz
Size 55.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f69512b8021740b735f04d022a7a12b4c4d06c9967f09ff7e94ce6ea6a6f74ed
BLAKE2b-256 checksum
How to use checksums
39c033303388319de4b5fd176ca7f97883e5f13c8e048bd872c8138de11d8166
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.0b4-py3-none-any.whl

Download URL media_studio_agent_sdk-0.1.0b4-py3-none-any.whl
Size 63.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e54fb449859ae8dab6b50d5d51e17840248ed2a15cd9d563699ea64c68416718
BLAKE2b-256 checksum
How to use checksums
e3707493bb332367ea4c8b44a32f07ceaee0bf6c99c85af2f91cc77905f88c9e
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.0b4

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