Showcase
Real use cases for every Viewport package. Each one is a tested example in its repository, and each link goes to the page that shows its code, in TypeScript and Python where the package ships both.
Every use case below is an example that runs in its package's repository with no API keys: scripted models, fakes and recorded fixtures stand in for the real services. The links go to the docs page that shows its code.
Core
The shared runtime: the record of a run, one matcher language, recorded tools.
Record a whole agent run
Capture model calls, tool calls and cost in one trajectory, then assert on what ran.
Refuse a large refund in a middleware
A middleware blocks the call, and the refusal is recorded in the trajectory.
Survive a restart mid-run
One episode asks for approval and suspends; the next resumes and finishes the same run.
Tamper-evident receipts
Canonical JSON and a hash chain for every side effect an agent takes.
Evals
Tests for agents that act: what they called, what they changed, what it cost.
Support refund agent
Assert the tools, the arguments and the budget, then replay it in CI with no keys.
Booking with deposits and reminders
A fake booking world and a simulated clock: six weeks of follow-ups run in milliseconds.
Marketing send with an approval
One invariant, approval before any send, checked over every event in the run.
Qualify a cheaper model
Run one suite across two models and compare pass rate, cost and latency.
Replay a production trace
Import a Langfuse, LangSmith or Braintrust trace and test the next agent version against it.
HITL
Human approval before agent side effects, from one policy file.
Refunds over $50 need a human
The agent's call waits while the support desk approves it.
Two approvers for a campaign send
Marketing approves on Slack, compliance approves next. The send runs after both.
An approval that expires
A wire transfer waits four hours for treasury, then is refused when nobody answers.
One worker, many tenants
Each tenant gets its own policy, its own approvers and its own receipt chain.
Context
Load skills, and their tools, only when the task needs them.
Get started with skills
A skill index, a skill that loads on demand, and the tools that come with it.
A support agent inside a token budget
Prompt sections stay within budget and trim by priority.
Keep the prompt cache hitting
Stable tools and a stable prefix, so the cache keeps working as skills load.
Console
A control plane you run yourself.
Pair a daemon on your machine
Connect a local daemon and watch its sessions.
Answer HITL approvals
Approve or deny an agent's request with its evidence on screen.
Reach daemons through a relay
Pair daemons on other networks through a relay you host.
Browse eval runs
Look through runs, trajectories and failures stored on your disk.
Daemon
Run and supervise coding agents on your own machines.
Stream a session to a viewer
Read a session's ordered event log and stream it without gaps or duplicates.
Answer an approval
A policy decides first; anything else waits for a paired controller, bound to the exact action.
Pair a phone or CI
Pair by key over a direct channel or a relay, end-to-end encrypted.