Skip to main content

Fern

Fern is a local long-memory MCP server for coding agents. It indexes your project, your docs, and your past agent sessions, and verifies answers on your own GPU using the all-in-one Fern-LS1 looped System-1 model.

Setup guide for each harness: coelfern.com

Install

uv tool install fern-memory --torch-backend=auto

Requires Python 3.11+. Runs on CUDA, MPS, or CPU and uses ~1.6 GB VRAM with the default all-in-one Cached-KV + 4-bit RotorQuant + Loop-0 Semantic Head FP8 checkpoint (Fern-LS1-CachedKV-FP8.safetensors, ~1.5 GB download on first use — zero second embedder required). Set FERN_CKPT to use a local checkpoint or FERN_HF_FILE=Fern-LS1.pt for BF16.

Connect a harness

fern install claude    # or: cursor, codex, pi, generic
fern sync-sessions     # auto-link Claude Code, Codex, and Pi session logs into ~/.fern/sessions

All open harnesses share one local GPU daemon, which unloads after 15 minutes idle.

Commands

Command What it does
/fern <question> Ask in chat. Your agent also calls Fern on its own.
fern ask "<question>" Ask from the terminal.
fern check [--staged] Decision Guard: check your git diff against past project decisions & sessions.
fern sync-sessions Auto-discover and link Claude Code, Codex, Pi, and OpenCode sessions.
fern watch Watch project files and keep the encode-once SQLite & vector cache continuously hot.
fern link <path> Add a folder, repo, or paper library to memory.
fern status Show what is indexed.
fern daemon unload Free the GPU now instead of waiting for the idle timer.

License

Apache-2.0. Fern-LS1 is trained from ByteDance/Ouro-1.4B.

Metadata

Release files for fern-memory 0.2.2

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

Source distribution (sdist)

Source distribution for fern-memory 0.2.2
File Size Uploaded Provenance Actions
fern_memory-0.2.2.tar.gz 67.0 kB Without provenance Details for fern_memory-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fern-memory 0.2.2
File Interpreter ABI Platform Actions
fern_memory-0.2.2-py3-none-any.whl Python 3 none any Details for fern_memory-0.2.2-py3-none-any.whl

Total release size: 134.5 kB

Release files / fern_memory-0.2.2.tar.gz

Download URL fern_memory-0.2.2.tar.gz
Size 67.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b49e7e16a55721ae22a54c648d709ed5bbaea1721d25cf5096ca081683148e1c
BLAKE2b-256 checksum
How to use checksums
c205a3d245491078902f9c4af74ac82dad6e4b232cbe3276fe55f30ec078bb81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / fern_memory-0.2.2-py3-none-any.whl

Download URL fern_memory-0.2.2-py3-none-any.whl
Size 67.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a921f77b38813b2b9eed0a5212a045dcca98b93b53d3b01d79049dbcbc3e3fe
BLAKE2b-256 checksum
How to use checksums
6afcc83d714edf08a669457809a432db43c521e21f711ce641b3bf5f8f7189b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for fern-memory 0.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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