@talocode/handofflane
v0.1.0
Published
Schema and semantic handoff validation between agent steps — stop silent drift
Maintainers
Readme
HandoffLane
Schema validation between agent steps — stop silent drift when step N output is not safe for step N+1.
Part of Talocode. Hosted at /v1/handofflane/*.
| | |
|--|--|
| npm | npm install @talocode/handofflane |
| Cloud | https://api.talocode.site/v1/handofflane/* |
Why HandoffLane?
Agents rarely fail at “thinking.” They fail at handoffs: slightly wrong JSON, missing fields, wrong types. Valid JSON is not enough — the next step needs a contract.
Usage
import { validateHandoff, repairHandoff } from '@talocode/handofflane'
const schema = {
type: 'object',
required: ['intent', 'confidence'],
additionalProperties: false,
properties: {
intent: { type: 'string', minLength: 1 },
confidence: { type: 'number', minimum: 0, maximum: 1 },
},
}
const r = validateHandoff({ value: payload, schema })
const fixed = repairHandoff({ value: payload, schema })Credits
| Action | Credits | |--------|---------| | validate | 2 | | repair | 4 |
Talocode ecosystem
| Project | What it is | |---------|------------| | VerifyLane | Deterministic verification for agent code | | TraceLane | Agent run / span tracing | | HandoffLane | Schema handoff validation | | StyleLane | Repo constitution / taste packs | | SearchLane | Agent web search & research | | Tera | AI chat / writing / coding API | | Codra | Coding agent | | StackLane | Cloud keys, credits, spend caps | | GateLane | MCP gateway | | Agent Browser | Browser automation |
More: github.com/talocode · talocode.site · docs.talocode.site
License
MIT © Talocode
