Skip to content

madarauchiha-314/demo-support

v0.1.0Apache-2.0

The tiny-harness demo: a support agent with an order book and a policy book over MCP, the support-agent skill, and a prompt extension for the shop.

tiny-harness demo

One harness instance, two surfaces, one task: "Refund order #48213: the customer says the blender arrived cracked. Check the order and propose a resolution."

export TEMPORAL_API_KEY="$(secret-tool lookup service temporal project tiny-harness)"
export OPENAI_API_KEY="$(secret-tool lookup service openai project tiny-harness)"
bun install --cwd renderers/web && bun run --cwd renderers/web build
uv run python -m examples.demo          # server + worker, web renderer at /ui
uv run tiny-harness tui --url http://127.0.0.1:8080

No accounts at all: config.embedded.toml needs no Temporal account, and config.ollama.toml adds a local Ollama in place of OpenAI, so the demo runs offline (see the comments at the top of that file).

The plugin in this directory registers two stdio MCP servers (orders, policy), the support-agent skill and a prompt extension. tests/e2e/test_demo.py drives the same task through the A2A client; tests/e2e/test_crash_recovery.py kills the worker at two points and checks the task completes without a duplicated LLM or tool call.