Cognithor v0.40.0 adds persistent AI agent identity with ethical constraints

What's in Cognithor v0.40.0
Cognithor, an open-source local-first Agent OS, has released version 0.40.0 with a cognitive identity layer called the Immortal Mind Protocol. This update enables AI agents to maintain persistent identity across sessions with several key features.
Core Features
- 12 cognitive layers that persist across sessions
- 7 ethical Genesis Anchors - hardwired moral constraints enforced at gatekeeper level that agents cannot override
- Dream cycles - background consolidation of episodic memory where the agent literally "sleeps" and processes memories
- Bidirectional Memory Bridge - Cognithor's 5-tier memory system syncs with the identity layer, not just to it
- Per-agent identities via Agent Router - each sub-agent has its own personality profile
- REST API + WebSocket events + WebUI dashboard - allows observation of agent's emotional state, energy, and active memories live
- Reality check/hallucination guard built into identity validation
- Blockchain/Arweave anchoring available (opt-in, disabled by default)
Technical Details
The update includes 9,488 lines added in a single commit, with 198 tests passing and 0 failures. There are 21 new identity-specific tests. The system runs 100% locally with no cloud requirements or subscriptions. The developer tested on RTX 5090 + Ryzen 9 9950X3D hardware but notes it scales down fine.
The gatekeeper enforces a "Genesis Anchor Policy" - if a task violates a core identity constraint, it gets blocked before the planner even touches it.
The developer acknowledges there's still work to do including proper documentation, easier installation, and more channels.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Omnara: Run Claude Code and Codex from Anywhere
Omnara is a web and mobile IDE that lets developers run and interact with Claude Code and Codex sessions from anywhere, with features like cloud syncing and a voice agent.
Claude Code v2.1.251: Model Switch Hooks, Spend Limit Bar, and Security Fixes
Claude Code v2.1.251 adds PreModelSwitch/PostModelSwitch hooks, live subagent streaming to Remote Control, a Spend limit bar in /usage, and fixes symlink and path-traversal vulnerabilities.

Claude-kit: Configuration Management System for Claude Code Projects
Claude-kit is an open-source tool that manages .claude/ directory configurations across multiple projects. It auto-detects tech stacks, generates configs, audits security and quality, and syncs changes without overwriting customizations.

SimSense MCP Connector Gives Claude Artifacts Permanent URLs with Persistent State
SimSense is an MCP connector that lets Claude deploy generated HTML/JS artifacts to permanent URLs called 'sims' with persistent state storage. The tool addresses the limitation where Claude's output disappears when you close the chat window.