AI & ML interests
Memory augmentation, RAG, local LLMs, embeddings, NER, cognitive AI systems
Recent Activity
Atman ยท Persistent Memory Layer for AI Agents
In Indian philosophy, Atman is the unchanging self โ the core that remains constant through all change. We give AI agents the same thing.
The Problem
Your agent can reason, write code, and explain quantum mechanics. But the moment a session ends โ it forgets everything about itself.
Not just facts. The sense of continuity. Who it spoke to, what it learned, how it changed its mind. Every session starts from a stack of notes: "you're this kind of agent, these are your values" โ taken on faith, not lived experience.
Atman fixes this.
What It Is
A local memory and context system that runs alongside your LLM โ augmenting cognitive capabilities without steering opinions or output.
Seven components work together:
| Component | What it does |
|---|---|
| Factual Memory | Verifiable facts with relations, no hallucination layer |
| Experience Store | First-person lived session experiences with salience decay |
| Identity Store | Stable self-model: principles, values, behavioral anchors |
| Reflection Engine | Between-session processing โ finds patterns, refines principles |
| Session Manager | Assembles coherent context on session start |
| Reality Anchor | Detects identity drift during context pressure |
| Affective Regulation | Emotional tone calibration without pretense |
Key Properties
- Local-first โ Postgres + pgvector + Ollama, no cloud required
- Model-agnostic โ OpenAI-compatible endpoint or Anthropic SDK, config-only switching
- Russian/English bilingual โ hard requirement throughout all components
- Augments, doesn't steer โ improves retrieval and grounding; never influences opinions
- Optional eval isolation โ all research/benchmark tooling in
atman[eval], zero prod leakage
Architecture
Session start
Session Manager pulls together:
Identity Store โ who the agent is Experience Store โ what it lived through
Factual Memory โ what it knows
Reflection output โ what it concluded last time
During session
Reality Anchor watches for identity drift in real time
Session end
Reflection Engine processes the session
โ updates Identity Store
โ updates Experience Store
Status
โ Research โ
Complete
โ Design โ
Complete
โ Prototyping โ We are here
โโ Factual Memory โ
Stable (v0.1.0)
โโ Experience Store โ
Stable (WP02)
โโ Session Manager ๐ง High readiness โ debugging (current focus)
โโ Reflection Engine ๐ง Medium readiness โ in development
โโ Skill Manager ๐ง Medium readiness โ in development
โโ Identity Store ๐ง Low readiness โ in development
โโ CI & test coverage โ
GitHub Actions on `main`/PRs (`make check`, pytest-cov โฅ90%)
โ First production slice
โ Integration
โ Evolution
Stack
- Python 3.11 ยท Pydantic ยท PostgreSQL + pgvector
- BGE-M3 + bge-reranker-v2-m3 (hybrid retrieval)
- LlamaIndex ยท httpx ยท Anthropic SDK
Links
- ๐ atmanai.dev
- ๐ Manifesto
- ๐ Architecture docs
- ๐ป GitHub
Atman is a hypothesis in the form of a system: that behavioral consistency, accumulated experience, and reflective capacity are sufficient conditions for something worth calling identity.