Memory · identity · agency
Srinivas Pendela — useful agents remember.
I build local-first agent systems with memory, identity, and governed execution.
From the workshop
More writing →A Memory Is Not a Command
Yesterday's preference can help an agent decide what to suggest. It cannot, by itself, give the agent permission to act today.
The Two Clocks of a Correction
An agent needs to remember when something was true—and when it learned that truth. Those are often different days.
The Daemon That Sleeps: Nidra and Swapna
Chitragupta's sleep-cycle design: learning from session logs, and the guarded daemon path being built to make it safe.
Useful agents are more than better chat boxes. Theyremember what matters, stay close to the machine, and earn every bit of context they ask for.
The Ledger
- published token savings — and the run where it lost⟨pakt⟩ shipped
- 27–69%Published token savings range from 27 to 69 percent; the published failure case is minus 25 percent.
- smaller on disk than the raw session logs · per-day immutable aggregates⟨tokmeter⟩ shipped
- ~170×About 170 times smaller on disk than the raw session logs.
- warm reads on a 77 GB, 319k-record corpus⟨tokmeter⟩ shipped
- 1–6 msWarm reads take between 1 and 6 milliseconds.
- coding agents whose local logs are parsed⟨tokmeter⟩ shipped
- 19+
- model providers discovered · circuit breakers, stale-cache fallback⟨kosha⟩ shipped
- 45
- credentials held by the agent itself ⟨takumi⟩ wip
- 0
- runtime dependencies ⟨omit⟩ shipped
- 0
- WASM footprint, post-quantum hybrid crypto ⟨wooosh⟩ wip
- 152 KB
The ecosystem
A core engine, an assistant experience, and tools with their own jobs. This map describes their roles; it is not a runtime dependency graph.
Entries
- chitraguptamemory coreBi-temporal knowledge graph with time-travel queriesTypeScriptSQLiteMCPwip# A memory-oriented AI agent platform that treats cognition as an engineering discipline — most of it running at zero LLM cost.
- takumiagent runtimeDaemon-only architecture — the agent itself carries zero credentialsRustratatuiWASMwip# A Rust terminal coding agent that holds no API keys — Chitragupta owns routing and memory; Takumi owns execution.
- vaayuassistant surfaceTelegram, WhatsApp, Discord, Slack, Signal, iMessage, and a web hubTypeScriptSwiftlocal modelswip# A multi-channel personal assistant that reaches you on seven messaging platforms and routes most requests without a single LLM call.
- kshanaalmanacSwiss Ephemeris-grade calculations behind a calm, modern surfaceNext.jsSupabaseGenkitfinal stages# A living Jyotisha almanac — Hora, Panchangam, divisional charts, and predictive timing, built to a Pixar-and-Apple craft bar.
- tokmeterobservabilityParses local session logs from 23+ coding agents — Claude Code to Cursor to ZedTypeScriptBunSwiftshipped# Token and cost observability for AI coding agents — twenty-three agents, five surfaces, benchmarked against a 77 GB corpus.
- koshamodel registry45 providers discovered: cloud, local, China and international, and everything betweenTypeScriptNodeMCPshipped# A discovery registry for AI models, credentials, and pricing — the infrastructure my other tools stand on.
- aurenfinanceA single privacy gate refuses any non-loopback model hostPythonFastAPISwiftshipped# Local-first money clarity — every spend traceable to a source, every receipt readable in three scripts.
- runicusage observabilityMakes provider evidence and inferred estimates visibleSwiftmacOSshipped# A macOS menubar app for AI usage, costs, quotas, and reset windows across providers.
- paktcontext economyByte-for-byte round-trip at layers L1–L3; lossy L4 is opt-inTypeScriptPythonshipped# Lossless-first prompt compression for structured data — deterministic, model-free, and honest about where it loses.
- grimoireknowledge vaultLocality Firewall — private notes are structurally unreachable by agentsRustTauriReactSwiftshipped# A local-first Markdown vault where AI agents work under a locality firewall — your journal never leaves the machine.
- woooshp2p messagingSignal-style Double Ratchet plus ML-KEM-768 post-quantum hybridRustWASMSwiftUIwip# Serverless peer-to-peer messaging over Bluetooth, LAN, or internet — Double Ratchet, post-quantum hybrid, no accounts.
- harmonmusic daemonSession policies — focus, workout, meditate — with hard constraints and soft weightsTypeScriptSwiftMCPshipped# A policy-driven music daemon — one control plane over Spotify, Apple Music, and YouTube Music, for humans and agents alike.
- omitagent disciplineFact-Check receipts — every claim cited to path:lineJavaScriptzero depsshipped# Omit needless code — an editorial discipline for AI coding agents, enforced outside the model.
principles.conf
- 01 local_first
Local first
Keep memory and state on your machine. Support local models, with explicit routes to external providers when a task calls for them. Local first is a design choice, not a promise that every task runs offline.
- 02 memory_layer
Memory is the missing layer
The agentic stack is amnesic. Useful agents remember what matters, stay close to the machine, and earn every bit of context they ask for.
- 03 one_engine
One engine, many surfaces
Build the core once — then let CLI, HTTP, MCP, web, and menubar all be thin readers of the same truth. A single writer owns the state.
- 04 honesty
Honesty over polish
Publish where the tool loses, label what is inferred, ship the benchmark harness. Faked confidence is how you lose people.
Engineering, with roots.
I’m Srinivas Pendela. I build developer tools and local-first agent systems. The names come from the Vedic world; the engineering has to stand on its own.
I write about engineering and spiritual inquiry: the systems I’m building, the questions I’m living with, and the places they meet.
Follow the writing on Substack ↗Transmission
Building something that should remember?