Personal AI Memory System

Your context.
Your file.
Your control.

OpenYantra is a local-first memory system for personal AI agents. One human, one file, full auditability. No cloud. No database lock-in. Open standard.

1
Memory file
14
Domain sheets
100%
Local-first
MIT
License
~/chitrapat.ods Chitragupta active
Memory
Ledger
Loops
Oracle
Episodic
247
Semantic
133
Prospective
89
Beliefs
41
12
Open Loops
4
Agents
3
Inbox
OK
Health
02 / Architecture

Built on non-negotiable invariants.

Six architectural rules that can never be broken. Every feature is evaluated against all six. Complexity that violates any invariant is rejected at the design stage -- not deferred.

01
Single Memory File
All persistent memory lives in chitrapat.ods -- ISO/IEC 26300 open standard. Human-readable, editable, portable. Never replaced by a database.
Canonical
02
Single Writer Rule
Only Chitragupta (LedgerAgent) writes to memory. All agents are read-only. Every write flows through Sanchitta queue -- no exceptions.
LedgerAgent
03
14-Sheet Schema
Memory structured across Identity, Goals, Projects, People, Beliefs, Tasks, Open Loops, Inbox, and more. Domain separation is strict.
14 Domains
04
Full Auditability
Every write logged, timestamped, SHA-256 signed. Agrasandhanī is append-only. Audit capability can never be removed.
SHA-256
05
Local-First
Runs fully offline. No cloud dependencies, no external APIs required. Your data never leaves your machine.
Offline
06
Bidirectional Sync
.ods is the canonical human file. SQLite is the v3.0 operational sidecar. Both always exist. User edits .ods in LibreOffice; yantra sync re-imports to SQLite.
v3.0
chitrapat.ods
ISO/IEC 26300 open standard.
Human-readable. Edit in LibreOffice.
Canonical source of truth.
Non-negotiable
bidirectional sync yantra sync --watch
chitrapat.db
SQLite sidecar (v3.0).
Sub-ms writes, SQL query power.
Rebuilt from .ods on user edits.
v3.0 -- planned
Write flow -- the only path to memory
01 / Source
Agent
Any AI agent
02 / Queue
Sanchitta
Crash-safe queue
03 / Security
Raksha
Injection scan
04 / Writer
Chitragupta
Sole writer + SHA-256
05 / Store
Chitrapat.ods
+ SQLite sync (v3.0)
03 / Live Simulation

See it running.

Three live simulations: CLI terminal, Web UI Briefing Room, and Mobile app. All running a shared state engine. Click any command -- the state updates across all panels.

Daily
Memory
Maintenance
yantra v2.12 -- zsh
Records
247
Open Loops
12
Ledger
489
Health
OK
http://localhost:7331 -- OpenYantra Briefing Room v2.12
OpenYantra
🌅 Today
📥 Inbox 3
🔓 Open Loops
🚀 Projects
🔮 Oracle
📒 Ledger
🔒 Security
247
Records
12
Open Loops
3
Inbox
OK
Health
🌅 Morning Brief 🔥 7-day streak
Good morning, Revanth.
12 open loops · 3 stale projects · 3 inbox items pending.
Oldest loop: "3-act vs 5-act structure" -- 14 days.
🔮 Oracle -- 2 insights
inbox_loop_match
Inbox: "Priya budget" may relate to loop "Budget approval pending"
stale_project
"OpenYantra Website" -- active but no session mention in 14 days
3 unrouted items
ContentCapturedImportance
Priya mentioned budget revision needed Friday4m ago
6
Research 5-act structure for screenplay2h ago
8
Check with Arun about location permits1d ago
7
TopicPriorityDaysTTL
3-act vs 5-act structure
High
1430d
Budget approval from Priya
High
730d
VidyaKosha BM25 tuning
Med
2190d
ProjectDomainPriorityNext Step
My FilmCreative
High
Write act 2
OpenYantraTech
High
Ship v2.12
Documentary CutCreative
Med
Review rough cut
Cross-reference engine -- reads all sheets, never writes, surfaces non-obvious connections.
inbox_loop_match
"Priya budget" in Inbox shares keywords with loop "Budget approval from Priya"
→ Route Inbox item and link to loop
stale_project
"OpenYantra Website" is Active but not mentioned in last 10 sessions (14d quiet)
→ Next step: Push v2.12 or mark paused
loop_aging
"3-act vs 5-act structure" is 14d old (47% of 30d TTL), not in recent sessions
→ Resolve, delegate, or extend TTL
TimestampAgentSheetOperationStatus
2026-03-21 09:14Claude📥 Inboxadd
written
2026-03-21 09:10Claude🚀 Projectsupdate
written
2026-03-21 08:55TelegramBot📥 Inboxadd
written
✓ No threats detected -- Chitrapat is clean. 489 entries verified.
AgentTierStatus
ClaudeKnown (3)
trusted
TelegramBotExternal (1)
strict scan
Home
9:41
OpenYantra
chitrapat.ods · Active
247
Records
12
Loops
OK
Health
489
Ledger
3-act vs 5-act structure
High · 14d open
Budget approval from Priya
High · 7d open
📥 3 unrouted inbox items
Tap to route
Home
Loops
Capture
Health
Quick Capture
9:41
Capture
Send to Inbox
Priya mentioned budget revision needed by Friday...
LOOP
TASK
GOAL
✓ INBOX
Send to Inbox
Home
Loops
Capture
Health
Health
9:41
Health
All systems nominal
chitrapat.ods
1.2MB · OK
Agrasandhanī
489 entries · Sigs valid
Chitragupta
Last write: 4m ago
VidyaKosha
247 rows indexed · TF-IDF
Raksha
0 quarantined · All clean
Home
Loops
Capture
Health
04 / Documentation

Everything you need to build with it.

Complete documentation, design system, and integration guides -- all in the repository.

One command to install everything.
curl -sSL https://raw.githubusercontent.com/revanthlevaka/OpenYantra/main/install.sh | bash