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

前置条件:Python >= 3.10;deepseek-harness-runtime-bin 的 macOS wheel 目前只发 macosx_14_0(Sonoma 及以上),macOS 13 及以下没有可安装的平台包。

装完先自检(依赖 / 运行时二进制 / office sidecar / 资产 / MCP 子进程):

media-studio-agent doctor
media-studio-agent doctor --download-office   # .docx/.xlsx/.pptx 技能需要(会联网)

启动

# 沙盒常驻(后台)
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.1b4

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.1b4
File Size Uploaded Provenance Actions
media_studio_agent_sdk-0.1.1b4.tar.gz 81.8 kB Without provenance Details for media_studio_agent_sdk-0.1.1b4.tar.gz

Built distribution (wheel)

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

Total release size: 175.2 kB

Release files / media_studio_agent_sdk-0.1.1b4.tar.gz

Download URL media_studio_agent_sdk-0.1.1b4.tar.gz
Size 81.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c1b1ecd8b04988d2c5143e23fca8aff362b5338d6c91a36e9f54c0e93ed13f33
BLAKE2b-256 checksum
How to use checksums
13f4f2d9f4fba87f556d6d6b7b7c3cd575f014caa4029615b91680760e5319a8
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.1b4-py3-none-any.whl

Download URL media_studio_agent_sdk-0.1.1b4-py3-none-any.whl
Size 93.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b693686500ab2c83e0d754797d6bdd72b3b55c06d6b42fe567e07f9e899bccb
BLAKE2b-256 checksum
How to use checksums
1ed450141f85fc9f86113a207a69440d47026cb78d86c8b64df3c1cdba91391e
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.1b4

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