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

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

Built distribution (wheel)

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

Total release size: 131.5 kB

Release files / media_studio_agent_sdk-0.1.0b8.tar.gz

Download URL media_studio_agent_sdk-0.1.0b8.tar.gz
Size 61.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c73e172282b3d9ef217d65e446cf7a583affbf5aff581f1d167145f19ea14b39
BLAKE2b-256 checksum
How to use checksums
ebf08532ca577a19d11b3c29ad53feaba365240ecd35343273e6deea0950aa5d
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.0b8-py3-none-any.whl

Download URL media_studio_agent_sdk-0.1.0b8-py3-none-any.whl
Size 70.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
841180d37011eebab3b808d41bdf7a277ea53d6e8785762cdd415fdf97e6f89c
BLAKE2b-256 checksum
How to use checksums
b9e5b45d38f51bd89b42c445e9b1af2e2f34ac192f603cb2369e4fc24db4233f
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.0b8

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