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

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

Built distribution (wheel)

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

Total release size: 128.4 kB

Release files / media_studio_agent_sdk-0.1.0b6.tar.gz

Download URL media_studio_agent_sdk-0.1.0b6.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e63fd6abf1f002d4fb23d925c4d22dde266b0ceafe097b6a9eea46fc659c4662
BLAKE2b-256 checksum
How to use checksums
656f6883ee01fe1bcf1589716ee1e4c0168483207579c8bf962e06e09c5f2465
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.0b6-py3-none-any.whl

Download URL media_studio_agent_sdk-0.1.0b6-py3-none-any.whl
Size 68.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08e1b8f5bf35d3e36adff996516517b5fdd1d8f8edbd1ac83b5cf06fa1dd0496
BLAKE2b-256 checksum
How to use checksums
c936b07d3ca78e426faa806531255ff4b1d760905c9b0c6c85563f8ca410e53f
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.0b6

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