Analysis updated 2026-05-18
Build a multi-step AI agent pipeline where each phase must produce validated, typed output before continuing.
Mix a paid frontier model for hard phases with a free local model for cheap verification steps.
Add a quality-check phase that judges another phase's output before accepting it.
| jgauffin/agent-ftw | 0xkinno/neuralvault | 0xmayurrr/ai-contractauditor | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | hard | easy |
| Complexity | 3/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node.js 22 or newer, optional adapters installed separately for specific model providers.
agent-ftw is a TypeScript framework for building AI agents that work in structured, sequential phases rather than as a single open-ended loop. The core idea is that you define an agent as a series of phases, each with its own prompt, a JSON schema describing exactly what output it must produce, and an optional turn budget (a cap on how many back-and-forth exchanges the model gets before the phase must either succeed or fail). When a phase finishes, only its structured output carries forward to the next phase, the raw conversation history is discarded, so the context doesn't balloon over a long pipeline. This schema-enforced handoff between phases is the main differentiator the README emphasizes. Because each phase is required to emit output that matches a defined structure before it can end, the next phase always receives clean, typed data rather than hoping the model remembered to include a field. You can also route different phases to different model backends: a paid frontier model for the phases where quality matters, and a free local model (via Ollama, LM Studio, or vLLM) for cheaper verification steps. An optional checklist feature runs a second model as a quality judge on a phase's output before accepting it. Sub-agents and scoped detours ("side quests") are also supported, each still ending with a typed deliverable. It works with any OpenAI-compatible endpoint and with the Claude SDK, so you can mix providers across phases. The runtime has minimal dependencies: it requires Node.js 22 or newer and a TypeScript toolchain, and the Anthropic SDK adapters are optional and installed separately only if you need them.
A TypeScript framework for building AI agents as a series of structured phases with schema-enforced handoffs instead of one long open-ended loop.
Mainly TypeScript. The stack also includes TypeScript, Node.js, OpenAI API.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.