Files
deepseek-harness/examples
Tianyi Cui f3402eff58 refactor(sdk): relocate JSON-RPC example and runtime without edits
Move examples/jsonrpc-agent to examples/python-sdk-agent and packages/examples/jsonrpc-demo to packages/sdk/python-runtime while preserving every file byte-for-byte. The directory placement now reflects the example's Python-distribution role and the private runtime carrier's SDK ownership.

This commit deliberately keeps the old package names, commands, configuration, and snapshots inside their new directories. All 42 files are 100% renames; API/profile migration and naming changes follow separately so reviewers do not have to disentangle behavior from filesystem movement.
2026-08-23 10:59:00 +08:00
..
2026-08-10 16:34:20 +08:00

Examples

English | 中文

Runnable demonstrations of the main DeepSeek Harness interfaces and extension points. Each child directory owns its configuration, prerequisites, commands, and detailed behavior.

mcp-memory

Optional overlays that connect supported third-party memory servers through the generic MCP client. See the memory example reference.

headless-agent

A non-interactive agent that accepts one task, runs it, and emits a selected machine-readable or human-readable output format. See the headless example reference.

jsonrpc-agent

An unattended coding agent driven through the Python SDK and JSON-RPC. See the JSON-RPC example reference.

web-cordis

A self-referential agent that can inspect and change its in-memory Cordis plugin tree. See the web-cordis example reference.

web-schedule

An opt-in Web overlay for durable, Session-local reminders. It supports positive whole-second after_seconds delays and absolute at targets through schedule_create, schedule_list, and schedule_delete; active reminders persist in the original Session, resume when that Session becomes live again, and do not run while it is cold. Run dsh web --patch examples/web-schedule/cordis.yml; see web-schedule/README.md for absolute-time authority, delivery, and recovery boundaries.

web-github-review

An opt-in Web overlay with a dedicated signed GitHub endpoint and a programmatic pull_request.ready_for_review rule. Matching deliveries create read-only review Sessions beneath the configured local Workspace; see web-github-review/README.md.

acp-agent

An Agent Client Protocol automation server for programmatic clients, with session, permission, and cancellation support. See the ACP example reference.