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.

Original post →

More from coding & agent

coding & agent channel →