SDKs and local tools for human approval and oversight of AI agents.
On this page
Overview
HumanLayer's CLAUDE.md distinguishes the SDK platform from local tools for approvals and coding sessions. A protocol diagram traces the flow, while language-specific sections and numbered TODO levels guide implementation.
An architecture diagram follows Claude Code through MCP, the CLI, the daemon, and the cloud API. It also shows where terminal and graphical approval interfaces join the flow.
The TypeScript guidance avoids assuming one package manager or test framework throughout the monorepo. It directs those choices to package.json scripts and dependencies.
Source excerpt starting at line 52.
52### TypeScript Development53- Package managers vary - check `package.json` for npm or bun54- Build/test commands differ - check `package.json` scripts section55- Some use Jest, others Vitest, check `package.json` devDependencies
03 / House vocabulary
Name what each TODO priority means
The annotation vocabulary distinguishes critical blockers, architectural issues, feature gaps, polish, and open questions. The critical level explicitly means work must not merge.
Source excerpt starting at line 78.
78We use a priority-based TODO annotation system throughout the codebase:7980- `TODO(0)`: Critical - never merge81- `TODO(1)`: High - architectural flaws, major bugs82- `TODO(2)`: Medium - minor bugs, missing features83- `TODO(3)`: Low - polish, tests, documentation84- `TODO(4)`: Questions/investigations needed85- `PERF`: Performance optimization opportunities
Ideas for your repo
01Show how requests cross process and protocol boundaries.
02Use package manifests as the authority when tools vary within a monorepo.
03Define a shared priority vocabulary for TODOs.
Sponsored by
Give your agents the whole story.
These instructions explain how to work in HumanLayer. Modem shows your agents what customers said, who is affected, and what changed.