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.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 fern-memory 0.2.1
File Size Uploaded Provenance Actions
fern_memory-0.2.1.tar.gz 58.7 kB Without provenance Details for fern_memory-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 117.7 kB

Release files / fern_memory-0.2.1.tar.gz

Download URL fern_memory-0.2.1.tar.gz
Size 58.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f6e04a94d7fc4a50e6de603153e7484588aadcdc86edc5734364b6ee435244cf
BLAKE2b-256 checksum
How to use checksums
a542d3a3ba0a4f5d584b927793a345c08fcb4f4e65ed6b96a249f22aff69ac46
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.1-py3-none-any.whl

Download URL fern_memory-0.2.1-py3-none-any.whl
Size 59.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9f0e2c8b0baae23db1859e55c1b0b2d68ff6cfd6101e8fdb14b7dfcb99810f1
BLAKE2b-256 checksum
How to use checksums
23c1395a5fbc9fbc3e8e487e96e7ad2b7356c64dcc6cf7468b3ba8ecbab25b03
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.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.

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