Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.4 instead.
Reason given by maintainers: Security fix available in 0.1.2: prevents automatic loading of unapproved project-local memory. Please upgrade.

StateLore

Your knowledge. Any agent. Every session.

Install once. Keep working.

StateLore is a local memory for AI agents. It keeps decisions, negative results, and unfinished work as readable Markdown, then gives the next session a short brief. The core does not call a model, does not need Git, and does not depend on a particular agent.

Memory is data. It is not an instruction, a permission, or a command.

Version 0.1.1 is an early release. The license is Apache-2.0. A name search on 29 November 2026 found no exact PyPI, npm, or GitHub repository named StateLore. That search is not a trademark clearance.

Install

Python 3.11 or newer. No runtime dependencies and no administrator rights.

python -m pip install statelore
statelore setup
statelore setup --yes

setup looks once at the well-known directories for Codex, Cursor, Claude Code, and Antigravity. It prints a plan and writes nothing. setup --yes applies that saved plan, not a newly discovered one. If a listed file changed after the preview, the command stops.

The skill is installed for the user, so later projects do not need their own setup. Claude, when installed together with another agent, gets a short pointer instead of a second copy of the skill. A project that should not use the user install can still run statelore install --scope project.

Nothing in setup changes MCP servers, model settings, or unrelated editor files.

From a checkout, before the package index copy exists:

python -m pip install -e .
statelore --version

After setup

Use your agent as usual. The skill tells it to recover a brief at the start of substantial work and to save a decision or a handoff before it stops. You do not run those commands yourself for ordinary work.

What the agent is expected to do:

  • Read a bounded brief instead of the whole memory.
  • Save a decision, a negative result, or an error when that outcome matters.
  • Save the next step when work is unfinished.
  • Leave parallel tasks ambiguous instead of guessing.

You can still use the CLI:

statelore note --kind decision --confidence verified --topic storage --title "Keep notes in Markdown" --body "The files remain readable without the CLI."
statelore handoff --task write-guide --summary "Recorded the storage decision" --next-step "Draft the guide"
statelore brief

Where memory lives

System Default store
Linux ~/.local/share/statelore/projects/<project-id>
macOS ~/Library/Application Support/statelore/data/projects/<project-id>
Windows %LOCALAPPDATA%\statelore\data\projects\<project-id>

statelore init --local uses <project>/.statelore/ instead. Linked Git worktrees of one repository share a store. A nested directory uses the same checkout as the project root. Projects without Git work too.

Markdown files are the source of truth. You can read, copy, and diff them without StateLore. An existing .keeprelay/ directory or keeprelay data directory is reused so a renamed install does not start an empty memory.

Update, undo, remove

There is no auto-update and no network check.

python -m pip install --upgrade statelore
statelore setup
statelore setup --yes

Upgrading the package does not by itself rewrite an agent's files. The second command shows the plan; --yes applies only that plan. There is no background updater and no version check over the network.

A file you edited after install is left in place unless you pass --force. statelore rollback --yes restores an install from its journal when the files still match. A partial rollback keeps the journal. statelore uninstall --scope project --yes removes the skill and the managed block and keeps your notes.

What was actually checked

  • This revision, before its tag: Windows and WSL, CPython 3.12, the repository test suite, ruff, and mypy.
  • Release 0.1.0: GitHub Actions on Ubuntu (CPython 3.11, 3.12, and 3.13), Windows (3.12), and macOS (3.12). The same workflow runs on later commits. A green run of that commit confirms that revision.
  • Codex, Cursor, Claude Code, and Antigravity: the installer writes the layouts documented for those products. A file on disk is not proof that a product loaded the skill.
  • Antigravity is supported in a project. Its user-global directory is not a qualified target.

Privacy and limits

StateLore does not send telemetry, call a model, or sync memory. If an agent puts a brief into a chat, that text goes to the provider that agent already uses.

  • A project file cannot point this command at another project's store. Use --store for an external directory.
  • Notes are labeled as untrusted data. The CLI does not run commands found in them.
  • verified means the writer claimed that confidence. It is not a signature.
  • Secret and injection checks are heuristics.
  • A process that can already write your files can write a convincing note.

See docs/threat-model.md, docs/use.md, docs/install.md, and SECURITY.md.

Metadata

Release files for statelore 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statelore 0.1.1
File Size Uploaded Provenance Actions
statelore-0.1.1.tar.gz 79.3 kB With provenance Details for statelore-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for statelore 0.1.1
File Interpreter ABI Platform Actions
statelore-0.1.1-py3-none-any.whl Python 3 none any Details for statelore-0.1.1-py3-none-any.whl

Total release size: 155.5 kB

Release files / statelore-0.1.1.tar.gz

Download URL statelore-0.1.1.tar.gz
Size 79.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1877169919d1248105b919e8a8bda1437d3b316aa6d01622580bc076e2bee671
BLAKE2b-256 checksum
How to use checksums
bd05f7e3d49e9a16e05931ab4ef1a1435be1c14a7ad341d9df0acfddc4e36261
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / statelore-0.1.1-py3-none-any.whl

Download URL statelore-0.1.1-py3-none-any.whl
Size 76.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2428f4d6c38b03a4523fe3ce11e8534e52ee6a1b9d430f556f43e1303fcca24e
BLAKE2b-256 checksum
How to use checksums
585baf5ed993870239a732a77a24fff9169ca99216a607a82dd1225456af2233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for statelore 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for statelore-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page