Building an AP Agent That Uses Past Invoice Decisions as Long-Term Memory
ctenidae8 · reddit · 2026-09-30
A developer shares an Accounts Payable agent architecture where past policies, approval decisions, exceptions, and reviewer feedback become reusable long-term memory (via Vectorize Hindsight). Flow: extract invoice data → recall memory → evaluate with live external info → decide → retain result as precedent. Stack: React/TypeScript, Node/Express, SQLite, SSE. Key insight: only information that influences future decisions should become memory, not all application data.
Related event: Developers Share Long-Term Memory Designs for AP Invoice Agents(5 posts)→
More from coding & agent
- Generic API-catalog MCP server vs one tool per job: a context-bloat experiment — MandeepKaur9407 · 2026-11-16
- Berkeley paper: LLMs answer with stale values even when the update is in context — ombre-ai · 2026-11-16
- Effective HTML: 4.2k-star agent skills turn wireframes into self-contained interactive prototypes — tom_doerr · 2026-11-16
- skills-gate: one gate skill fronts 148 agent skills at just 389 tokens — Distinct-Pie2389 · 2026-11-16
- Open-weight Karpo-Decision-31B tops Decision Index at 73.9, one forward pass per answer — CodeByPoonam · 2026-11-16
- shadcn boosts @uisdk: one-shot UI rebuild that's instantly E2E-testable by AI — shadcn · 2026-11-16