pai
A reusable multi-agent memory architecture in TypeScript for a local-first Personal AI platform.
TypeScript / Multi-Agent Systems / Event Sourcing / MCP
Suraj · Software Engineer at Amazon
I work on production backend systems at Amazon. Separately, I build side projects like pai, coding-agent, and a local-first knowledge base for memory, orchestration, and agent workflows.
All systems are made of tradeoffs. Document them.
Software Engineer
at Amazon
Backend systems, distributed services, and agent infrastructure
10 years building backend systems
Seattle, Washington, United States
01 / Work
A reusable multi-agent memory architecture in TypeScript for a local-first Personal AI platform.
TypeScript / Multi-Agent Systems / Event Sourcing / MCP
A local-first knowledge base with markdown notes in `kb/`, a shared core library, a Next.js UI, a `kb` CLI, MCP tools, optional S3 sync, and local semantic search.
Next.js / TypeScript / MCP / CLI / AWS S3 / Transformers.js
How memory persists, flows, and stays inspectable across multiple agents.
TypeScript / Memory / Evaluation / Retention
A Claude Code plugin for building software end to end with five agents, deterministic gates, runtime evaluation, and a dedicated diagnosis mode.
Claude Code / Markdown / Bash / Playwright / Context7
02 / Writing
The real change is not that models can answer better. It is that useful software now needs loops for observation, correction, and carried state.
Systems With ContinuityFirst-run output is the easiest benchmark. Repeated work is where weak continuity shows up.
Systems With ContinuityRepeated work should compound. Most agents still recompute.
Systems With ContinuityMemory that affects behavior needs status, provenance, correction, contradiction handling, and revocation.
Systems With Continuity03 / Experience
Backend engineering across retail, AWS, and robotics teams, with a focus on services that stay reliable under real operational load.
Graduate study in computer science, with the foundations that later shaped my work in distributed systems, cloud infrastructure, and software architecture.
Software engineer at Amazon. Outside work I build tools around memory, orchestration, and reliable software.
04 / Contact
Agent-ready content
Structured profile data for tools, crawlers, and search without crowding the human-facing page.