Open-source TS harness isolates PII from LLM context with dual-channel tools
avant-gate-7758 · reddit · 2026-09-19
The author open-sourced avantgate/agent, a zero-infra TypeScript library solving two production agent pains: PII/token leakage from raw DB/CRM objects in LLM context, and heavyweight orchestration for durable steps. Features: a dual-channel DTO pattern that streams full payloads to the UI while feeding only sanitized summaries to the LLM, and in-process memoized steps with human-approval suspension via SQLite/Prisma/Drizzle/Redis. Install: npm install avantgate zod.
More from coding & agent
- Google's 12-page Agentic Engineering guide lays out a 5-stage pipeline for building agent teams — blaizedsouza · 2026-09-19
- AgentRun: a purpose-built harness for high-frequency repetitive knowledge work — blaizedsouza · 2026-09-19
- Compiler Explorer runs 92M compilations a year — here's how it works — blaizedsouza · 2026-09-19
- Netflix builds module-first, agent-friendly Java tooling on OpenJDK foundations — blaizedsouza · 2026-09-19
- MCP lesson learned: collapse CRUD endpoints into fewer tools with enum params, not 20 granular ones — Relevant-Potential17 · 2026-09-19
- Codex vs 1Password: AI agents still can't handle password managers in Chrome — CtrlAltDwayne · 2026-09-19