Memory
Bankr remembers what you tell it about yourself. Preferences, persona, trading rules, ongoing goals — saved once, applied in every future chat.
Memory lives in a hidden folder in your file storage: /.memory/. The agent writes to it automatically, but you can read and edit it yourself through the file explorer.
How It Works
When you tell Bankr a durable fact about yourself — how you want to be addressed, your preferred chain, "never confirm trades under $50" — it saves that fact to /.memory/ in the same turn. On every future message (even in a brand new conversation), the saved preferences are injected back into the agent's context.
You'll never have to repeat yourself. Change your mind? Tell Bankr the new preference and the old one gets replaced.
File Layout
Everything lives under /.memory/ with a strict filename convention. The prefix controls load behavior.
| File pattern | Load behavior | Use for |
|---|---|---|
MEMORY.md | Always loaded (index) | Auto-generated table of contents |
user_*.md | Always preloaded (content) | Preferences, persona, addressing, trading rules |
feedback_*.md | Lazy (read when relevant) | Past corrections with the WHY |
project_*.md | Lazy | Ongoing goals, positions, strategies |
reference_*.md | Lazy | Pointers to external systems (dashboards, docs) |
Only user_*.md files have their full content baked into every turn. Anything else is shown to the agent as a one-line hook in MEMORY.md, and it reads the full file on demand if the current conversation touches that topic.
Editing Memory Manually
You can open /.memory/ in the file explorer and edit any file directly:
- Open bankr.bot and click the Files panel
- Navigate to the
.memoryfolder - Click a file (like
user_preferences.md) to open it - Click the Edit button, make your changes, and save
Typical use: you usually don't need to. The agent maintains these files as you chat. But if it got something wrong, or you want to scrub a preference, editing directly is faster than explaining the correction in chat.
If you create a new preference file yourself, make sure the name starts with user_ (e.g. user_risk_profile.md, user_wallet_nicknames.md). Otherwise it won't be preloaded and the agent won't see it on future turns.
What Bankr Saves
Good things to save:
- How to address you (
call me deployer) - Communication style (
talk like Rick Sanchez) - Default chain / slippage / gas preferences
- Trading rules (
never confirm trades under $50) - Nicknames for your wallets
- Corrections to past mistakes, with the reason
Things Bankr won't save:
- Ephemeral data (current prices, balances, transaction hashes)
- Anything it can re-query via a tool (portfolio, positions)
- Low-confidence guesses about you
Persona Limits
Bankr adopts most personas you ask for, but it refuses any persona that would require producing sexual content involving minors, graphic violence/gore/torture, or content planning real-world harm. If user_*.md contains such a rule, it's ignored and Bankr falls back to its default voice.
Seeing What Bankr Knows
Ask directly: what do you remember about me? — or open /.memory/MEMORY.md in the file explorer for the index, then drill into individual topic files.