Skip to content

v1.4.0 — the personal-infrastructure release

Latest

Choose a tag to compare

@lionellau lionellau released this 20 Jun 15:23
· 1 commit to main since this release

Leptin is personal, local-first memory infrastructure for your coding agent — no account, no subscription, installs in ~30 seconds, and your agent can install it on itself. This release repositions around that vision and builds the self-install path to make it real. (It is not a SaaS memory component; the production-scale / governor-over-pgvector angle is deliberately de-prioritized.)

🤖 The agent installs itself

  • leptin setup [host] — one command: create the store, wire the hooks + MCP into your host config, and verify it. Prints a single PASS/FAIL line and exits non-zero on failure, so an agent can run it unattended.
  • leptin connect --write — edits ~/.claude/settings.json directly instead of printing JSON to paste: timestamped .bak backup, idempotent deep-merge that never clobbers your other servers/hooks, and refuses to touch a malformed file. Also --minimal (SessionStart + Stop) and --dry-run.
  • leptin doctor host-wiring check — confirms Leptin is actually wired in (MCP + hooks present, binary resolves); machine-readable via --json as a post-install gate.
  • AGENTS.md — written to the agent: when to install yourself, the exact commands, and how to operate.

Tell your agent: "You keep forgetting decisions we've changed — read AGENTS.md and give yourself persistent memory." It runs pip install … && leptin setup claude-code && leptin doctor --json and checks the result.

🧠 Agent-as-operator + a better free tier

  • The MCP instructions and tool descriptions now speak to the agent about correctness-when-decisions-change ("call recall before acting — your human may have reversed a decision you don't remember"), not token savings.
  • Free offline tier hardened, still zero-dependency: recall scores as max(hash-cosine, word-overlap) so a clear lexical match isn't lost to hash-collision noise, and an absolute offline floor means a no-good-match query returns nothing instead of a confidently-wrong memory. The benchmark's governance share rose ~19% → ~33%.

🧭 Positioning swept clean

"Satiety hormone" and token-budget-as-hero are gone from every surface — package identity, CLI/MCP strings, dashboard, demo, TS client, pyproject metadata, CONTRIBUTING (host-installers are now the highest-leverage area; core deps stay [] forever), and LAUNCH (now discovery-first).

164 tests pass; correctness + footprint benchmarks green on Python 3.10–3.13.

Full changelog: https://github.com/lionellau/leptin/blob/main/CHANGELOG.md