Back to work

Libraries

AgentTK

A TypeScript toolkit for deterministic, agent-friendly CLIs.

AgentTK provides the runtime plumbing for agent-authored command-line tools: command dispatch, built-in help, structured result envelopes, human output, dry-run semantics, recovery helpers, and test utilities.

Agent-authored tools often reimplement command parsing, error envelopes, help text, dry runs, and tests differently every time.

What I built

A small framework for building deterministic CLIs that agents can operate safely.

It is not a CLI generator. The agent still writes the domain tool; AgentTK supplies the reusable runtime contract.

How it works

Define commands, attach help metadata, return ok/fail envelopes, layer concise human output over JSON, and test the behavior without shell-heavy tests.

What it proves

The output is a CLI surface with predictable dispatch, structured results, recovery guidance, and safer mutation semantics.