rentfree

Living rentfree
in your AI agents

Coding agents forget between sessions. Rentfree remembers, and gives each new session the right context.

npm install -g @rentfree/cli
Read the guide
rf init
Living rent free in your AI agents
TypeScript SDK · v0.0.2
◆ Welcome! Let's set up rf.
◆ Opening rentfree.dev/cli in your browser.
✓ Logged in as you@example.com
✓ API key rf_7Hq2x9Lm… saved
✓ Default collection: default

Built for agents

Memory in every session

One command wires rentfree into Claude Code. Each session starts with what it remembers and is recapped when it ends, with no tokens spent on either.

rf hooks install
Installed 4 hooks in .claude/settings.json:
event command
SessionStart rf hooks run session-start
UserPromptSubmit rf hooks run prompt
Stop rf hooks run stop
SessionEnd rf hooks run session-end

Context within a budget

One call returns what the next turn needs: the profile, then the memories and passages that bear on the question. Text for a model, JSON for a script.

rf context "how do we deploy?"
## Memories
- Deploys go out from main once CI is green.
- Migrations run before the api deploys.
## From your documents
### runbook.md · Deploying
Run the release workflow from main.

Every memory traceable

Each memory keeps the words it came from and every change made to it, so you can see why your agent believes something, and correct it.

rf memories sources mem_8KfQ2
from quote
session ses_4tR event 9 deploy only from main
session ses_8Wm event 3 CI must pass first
source src_2Lk release from main

Quick reference

CommandWhat it does
rf initSign in through the browser. A first sign-in is a sign-up.
rf hooks installGive Claude Code a memory: every session captured, recapped, and recalled.
rf contextWhat an agent needs for its next turn, within a token budget.
rf searchFind memories and document passages, by meaning and by words.
rf rememberWrite a memory yourself.
rf memoriesList, correct, archive, and trace memories.
rf sources addAdd a file, a URL, or text. Adding it again updates it.
rf sessionStart, end, and read back sessions.
rf logLog events to a session, one at a time or in a batch.
rf recap runTurn what was logged into memories, and see what it cost.
rf agentsGive each agent its own key and permissions.
Every command, in the CLI reference

Move in with two commands

npm install -g @rentfree/cli

Then run rf init to sign in, and rf hooks install in your project.

Stop re-explaining your project to your agent