Solitaire: Open-Source Identity Infrastructure for AI Agents

Solitaire is an open-source identity infrastructure project for AI agents that addresses how agents improve their working relationship with users over time, rather than just focusing on memory recall. The project has been in production since February 2024, with development shaped by 600+ real user sessions.
Key Features
The system emphasizes local-first architecture with:
- All storage using SQLite + JSONL in your workspace directory
- Zero network requests from the core engine
- No cloud dependency, no telemetry, no external API calls for memory operations
- Automatic rolling backups without any setup
- All data stays on your machine
Core Functionality
Solitaire includes several technical components developed through production use:
- Persona and behavioral identity that compiles from real interaction, not static config
- Retrieval weighting that adjusts based on what actually proved useful
- Self-correcting knowledge graph with contradiction detection, confidence rescoring, and entity relinking
- Tiered boot context so the agent arrives briefed, not blank
- Session residues that carry forward how the work felt, not just what was discussed
- Guided onboarding where new users build a partner through conversation, not a JSON file
Installation and Compatibility
Install via: pip install solitaire-ai (note: NOT install solitaire, which is an unrelated package)
The architecture is model-agnostic and currently runs on:
- Claude Code
- Cowork
- Hermes
- OpenClaw
- Gemini CLI
A Dify plugin is in prototype, with work ongoing for Open LLM integration.
Current Status
The system has processed 600+ sessions with 15,700+ entries in real production use. It's available on PyPI and the MCP Registry. Two research papers from the longitudinal work are currently in review.
License: AGPL-3.0, with commercial licensing available for proprietary embedding.
The developer is seeking feedback on top-requested integrations, areas for improvement in the memory layer, and any missed opportunities.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Local Memory System for AI Coding Tools Extracts 2,600+ Facts from Conversation Logs
A developer built a local memory layer that ingests conversation logs from Claude Code, Factory.ai, and Codex CLI, extracts structured facts using a local LLM, and auto-injects context into new sessions. After months of use, it has indexed 13,000+ messages and extracted 2,600+ facts.

AgentMail Founder Details Agent-Native Onboarding After OpenClaw Exposed CAPTCHA Block
AgentMail, an email API for AI agents, rebuilt its onboarding flow after its own OpenClaw agent failed at a Cloudflare CAPTCHA. The new system offers a single REST endpoint for programmatic account creation while keeping humans in the loop for verification.

Developer builds .NET SaaS template generator with Claude Code, shares workflow insights
A developer open-sourced NETrock, a .NET 10 SaaS starter template with authentication, ORM, and background jobs, then built a client-side generator for it using Claude Code. The generator lets users pick features and download a working .zip project that stays in their browser.

Persistent Side Panel for Claude Code with Autonomous Content Management
A developer built a TUI panel that sits in an iTerm2 split pane next to the terminal, featuring three fixed panels that Claude autonomously manages to show relevant content like code, diagrams, and status updates.