Long memory for coding agents.
Fern is a local MCP server. It indexes your project, your docs and your past sessions, then answers in about a second on your own GPU.
01 Install
uv tool install fern-memory --torch-backend=auto
Python 3.11+ · CUDA, MPS or CPU · about 2.7 GB VRAM
Connect your harness
Zero config. Every open harness shares one local GPU daemon, which unloads after 15 minutes idle.
For a GPU on another machine, in a container or on your LAN. Start the server there first: fern serve --http --port 8765
Manual:
Ask
/fern <question>- Ask in chat. Your agent also calls Fern on its own.
fern ask "<question>"- Ask from the terminal.
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.
The model
Fern-LS1
Looping System 1, our first small model.
1.4B parameters · Apache-2.0 · runs entirely on your machine