Tianyi Cui d6a2ab30c8 feat(types): brand bash ids + stop brand erosion; extract Branded to dsh-brand 3 ヶ月 前
..
acp-agent ca2207e26c Fix doc cross-links for the hierarchy; add package-path + shape gates 3 ヶ月 前
coding-agent d6a2ab30c8 feat(types): brand bash ids + stop brand erosion; extract Branded to dsh-brand 3 ヶ月 前
echo-agent 072f97c184 refactor(examples): extract reusable logic into tested packages 3 ヶ月 前
AGENTS.md 072f97c184 refactor(examples): extract reusable logic into tested packages 3 ヶ月 前
CLAUDE.md 072f97c184 refactor(examples): extract reusable logic into tested packages 3 ヶ月 前
README.md dabc2ff411 feat: migrate to pnpm 3 ヶ月 前
base-core.yml 679aaacfc4 refactor(examples): DRY the acp-agent configs via base-core.yml + acp-tail.yml 3 ヶ月 前
base.yml 679aaacfc4 refactor(examples): DRY the acp-agent configs via base-core.yml + acp-tail.yml 3 ヶ月 前

README.md

Examples

Runnable demos (not workspaces) that showcase how the harness is wired.

echo-agent

A mock model + echo tool + stdio UI + JSONL persistence demo. Demonstrates:

  • Loading plugins from a cordis.yml via @cordisjs/plugin-loader + @cordisjs/plugin-include
  • Registering a mock LlmAdapter (streaming scripted responses)
  • Registering a tool via ctx.tools.register()
  • Persisting session events to JSONL via the session/event + session/flush pattern
  • A minimal stdio UI consuming agent/stream-chunk and session events

Run with: pnpm run demo:echo

When prompted, type "echo " to trigger a tool call round-trip.

coding-agent

The real thing: DeepSeek V4 + the bash tool suite + stdio chat + JSONL persistence, wired from cordis.yml. Where echo-agent proves the skeleton with mocks, this is a usable coding assistant.

Run with: pnpm run demo:coding (needs DEEPSEEK_API_KEY in the environment or a gitignored repo-root .env). See coding-agent/README.md for details.