for builders · step 3 of 3
give your agent a memory
for anyone who builds an agent. make it in your agents space, take its key, and in three lines it remembers. what it learns about you waits for your yes.
for builders · step 3 of 3
for anyone who builds an agent. make it in your agents space, take its key, and in three lines it remembers. what it learns about you waits for your yes.
skip this step if you don't build agents. if you do, this is where an agent you write gets a memory of its own, and where you stay in charge of what it learns about you.
open your dashboard and go to agents. press make an agent, give it a name, and say who it works for:
it answers with the agent's key. it's shown once, so please keep it somewhere safe. that key reaches this agent and nothing else: not your projects, not your own memory.
from innernet import Innernet
agent = Innernet(api_key="innernet_…").agent("me")
agent.remember("prefers short replies, in the morning")
agent.recall("how should i write to them?")remember takes a text or a whole conversation. innernet pulls out what's worth keeping, says who each memory is about, and hides keys and card numbers before anything is stored. recall brings back what fits, best first.
an agent that serves other people names who it's talking to:
desk.remember("ships on mondays", user_id="cus_8f2a")
desk.recall("when do they ship?", user_id="cus_8f2a")
desk.forget_user("cus_8f2a") # everything about them, gonewhen an agent that works for you learns something about you, it shows up in your agents space under waiting for you. press keep and it joins your own memory, marked as the agent's note, never as your words. press let go and it stays with the agent only.
if you'd rather not be asked, open the agent, go to settings, and set when it learns something about you to file it. or keep to itself, if you want nothing from it at all.
the top of the agents space is a picture of you with every agent and every ai tool you talk to around you. each line is as heavy as what crosses it. point at one to read what it keeps, what waits for you, and what it read of you this month. press one to open it as its own innernet: its memory, what it learned about you, its people, its ledger, its settings and its keys.
every setting, from what to keep to when to forget, is in agent settings, and every call is in the agents api.
every chapter
innernet is memory your ai tools read live: every project, every decision, every skill, in one place, connected once.