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.0

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.0
File Size Uploaded Provenance Actions
fern_memory-0.2.0.tar.gz 58.2 kB Without provenance Details for fern_memory-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 116.8 kB

Release files / fern_memory-0.2.0.tar.gz

Download URL fern_memory-0.2.0.tar.gz
Size 58.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4facaa2e1d6df0c3ef0145064118665e2d41e3711be4a1d34c0d124a27575f05
BLAKE2b-256 checksum
How to use checksums
3ec5a51147b8c308d679d4e40ac58381e6038801e25bba0004d93c4263df9214
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.0-py3-none-any.whl

Download URL fern_memory-0.2.0-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d27017c846d1cbd89a9387214a5988b972e224b26e3dbce1412e2e3f210b833
BLAKE2b-256 checksum
How to use checksums
487ba04e714c0fb142c1e253757d590d6925084e505d611e4bfcd65fcd6ef80b
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.0

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