Compare/MemPalace vs Statewright

AI tool comparison

MemPalace vs Statewright

Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.

M

AI Infrastructure

MemPalace

Verbatim cross-session memory for LLMs — highest free LongMemEval score

Ship

75%

Panel ship

Community

Free

Entry

MemPalace is an open-source persistent memory system for LLMs that takes a philosophically different approach from every summarization-based alternative: it stores conversations verbatim, forever, and retrieves them with semantic precision. Where systems like MemGPT or standard RAG pipelines compress memories into lossy summaries, MemPalace treats exact wording as sacred — because often the specific phrasing of something a user said six months ago is the thing that matters. The storage architecture uses a hierarchical "memory palace" metaphor: people and projects are wings, topics are rooms, individual memories are drawers. Semantic retrieval is scoped to sub-trees rather than doing a flat vector search across everything, which dramatically reduces false positives and improves precision at depth. The system claims a 96.6% score on LongMemEval — the highest publicly reported score among free tools — and integrates with any OpenAI-compatible API endpoint. Verbatim storage does mean storage costs grow linearly with usage, and there's no built-in forgetting mechanism yet (which some see as a bug and others as a feature). But for personal assistants, coding agents, and any application where "you told me X last Tuesday" accuracy matters, MemPalace's approach to memory is architecturally more honest than the alternatives.

S

AI Infrastructure

Statewright

State machines that control exactly which tools your AI agent can touch

Mixed

50%

Panel ship

Community

Paid

Entry

Statewright takes a provocative stance on AI agent reliability: instead of making models smarter, restrict what they can do. The framework lets you define explicit state machines that determine which tools an agent can access at each phase of a workflow. During planning, agents get read-only tools. During implementation, edit tools unlock. During validation, only test commands are available. The philosophy is captured in a single line from the README: "Agents are suggestions, states are laws." The core engine is written in Rust for deterministic, zero-LLM evaluation of state transitions. Plugin layers integrate with agents via MCP (Model Context Protocol), enforcing tool restrictions at the protocol level across most major platforms. The framework is Apache 2.0 for its core engine, with FSL licensing for extended features (converting to Apache 2.0 in 2029, self-hosting allowed for developers and teams now). The team published SWE-bench results showing models jumping from 2/10 to 10/10 success rates on five tasks when Statewright constraints were applied—a striking claim that has the HN crowd both skeptical and intrigued. This is genuinely novel territory: rather than prompt engineering or fine-tuning, it's architectural guardrails enforced at runtime. For production agent deployments where agents interacting with dangerous tools (databases, file systems, APIs) need hard constraints, this fills a real gap. 53 stars so far, but the HN traction suggests it's about to pop.

Decision
MemPalace
Statewright
Panel verdict
Ship · 3 ship / 1 skip
Mixed · 2 ship / 2 skip
Community
No community votes yet
No community votes yet
Pricing
Free / Open Source (MIT). Self-hosted.
Open Source (Apache 2.0 core)
Best for
Verbatim cross-session memory for LLMs — highest free LongMemEval score
State machines that control exactly which tools your AI agent can touch
Category
AI Infrastructure
AI Infrastructure

Reviewer scorecard

Builder
80/100 · ship

The hierarchical tree-scoped retrieval is genuinely clever — instead of HNSW across your entire memory corpus, you're running a smaller, context-aware search. The OpenAI-compatible API means dropping this into an existing stack takes an afternoon. LongMemEval at 96.6% with free hosting is a compelling benchmark.

80/100 · ship

Rust deterministic engine enforcing MCP-level tool restrictions is exactly the kind of hard guarantee you need before letting an agent touch production databases. This is infrastructure, not a toy.

Skeptic
45/100 · skip

Verbatim storage with no forgetting is a liability problem waiting to happen — GDPR right-to-erasure, accidental PII retention, and storage costs that scale with time rather than importance. The LongMemEval benchmark was also designed by teams that use summarization; verbatim systems may be overfitted to it.

45/100 · skip

The SWE-bench jump from 2/10 to 10/10 on five tasks is too small a sample to generalize from. Rigid state machines may reduce agent flexibility in ways that create new failure modes—agents that get stuck because a valid path violates the state graph.

Futurist
80/100 · ship

Persistent, accurate memory is one of the remaining gaps between AI assistants feeling like tools and feeling like collaborators. The verbatim approach is philosophically closer to how human memory actually works — not summaries, but specific episodic recall. MemPalace is pointing in the right direction.

80/100 · ship

Formal methods for AI agents—think type systems but for behavior—is a research area that will matter enormously as agents enter regulated industries. Statewright is an early, practical instantiation of that idea. Watch this space.

Creator
80/100 · ship

For creative workflows, the difference between a summary of feedback and the exact words a client used is enormous. MemPalace's verbatim storage means your AI assistant can quote your art director's exact note from three months ago, not a paraphrase that lost the nuance. That's a real creative workflow upgrade.

45/100 · skip

For creative workflows where spontaneity matters, hard state machine constraints sound like they'd kill the magic. I'd rather have a guardrail-light agent that occasionally needs correction than one that asks permission to proceed at every step.

Weekly AI Tool Verdicts

Get the next comparison in your inbox

New AI tools ship daily. We compare them before you waste an afternoon.

Bookmarks

Loading bookmarks...

No bookmarks yet

Bookmark tools to save them for later