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

Blip MCP Server: Draw UI Changes for Claude Code Instead of Describing Them
Blip is an MCP server for Claude Code that replaces verbal UI change descriptions with visual annotations. You draw directly on your running application, and Claude writes the corresponding code based on the annotated screenshot.

Free Wizard Migrates ChatGPT History to Claude Projects — Key Lessons on Token Limits and RAG
A free, no-code tool walks ChatGPT exports into Claude Projects, revealing that 26MB JSON hits token limits and topic splitting is the fix. Claude's RAG only reads parts of large files, so specific queries work best.

GoModel: A Lightweight Open-Source AI Gateway Written in Go
GoModel is an open-source AI gateway that provides a unified OpenAI-compatible API for multiple providers including OpenAI, Anthropic, Gemini, Groq, xAI, and Ollama. It features a 17MB Docker image, 44x smaller than LiteLLM, with environment-variable-first configuration and built-in observability.

Log Reducer MCP Server Cuts Token Usage When Claude Code Reads Logs
Log Reducer is an MCP server that processes log files server-side before sending reduced output to Claude Code, avoiding raw logs in the context window. It applies 19 deterministic transforms that compress logs by 50-90%, with a 2000-line log representing 20,000+ tokens removed from sessions.