All tiny agents
Loops & state
Continuation Loop
Long decodes that commit text only at checkpoints.
What it does
Resends the same request with the latest continuation token, commits text only at checkpoints, retries a dropped stream from the last good token, and counts real context separately from summed input tokens. Fake model. No network.
The guardrail
Checkpoint-only commits for long outputs.
Run it
git clone https://github.com/bobbyhalljr/tiny-continuation-loop.git && cd tiny-continuation-loopnpm installnpx tsx continuation.ts- Repo
- tiny-continuation-loop
- Language
- TypeScript
- Stars
- 0
- Price
- Free
