Guide
How the memory works
fractal is not a pile of sentences. It is a memory that organises itself, knows when a fact has changed and remembers how things were in the past. This page explains what happens to a memory from the moment an agent writes it to the moment it finds it again.
What a memory is
A memory is a sentence worth finding again: a preference, a decision, a fact about a client, a procedure. Every memory has a type, which says how it is handled:
- Facts: true until they change. «Client Rossi pays at 60 days.»
- Events: things that happened at a moment. «On 3 March we moved the delivery.»
- Rules: short instructions on how to work. «Always answer in Italian.» In the panel they are gathered in the «Rules» skill, so every agent receives them as instructions rather than as ordinary memories.
A memory can be pinned (it stays, it never expires) or have an expiry: «Friday's meeting» is of no use in October, and after the given date it stops coming back in searches.
It organises itself
There are no folders or labels to choose. Every new memory finds its own topic, next to similar ones; a topic that grows splits into smaller topics. You can see this in the graph: the squares are topics, with the number of memories inside, and groups name themselves.
That is why search stays fast as memories grow into the thousands: it goes down through topics and opens only those that matter for the question, instead of comparing it with everything.
It corrects itself, it does not contradict itself
When an agent writes a fact it already knows, fractal does not create a duplicate: it counts one more confirmation. When the new fact contradicts an old one («Rossi now pays at 30 days»), the new one takes the old one's place. The old one does not vanish at once: it stays in the history, with the date it stopped being true, and after a safety period (a month, adjustable) it goes away by itself.
You can correct by hand too, from the graph or with the memory_correct tool. A correction made by a person stays distinct from the agents' ones: in the graph, memories touched by people have a dashed border, and every earlier version can be restored.
If a memory is simply wrong, it is better to dismiss it than to delete it: it disappears from results but stays recorded as rejected, so an agent does not deduce it again the next day.
It knows what was true on a given day
Every memory has two dates: when it was true and when we learned it. That allows questions a plain archive cannot answer:
- «How were things on 3 March?»: returns the facts that held that day, not today's.
- «What did we know on 3 March?»: useful to judge a decision taken then, without using information that arrived later.
- «How has this client changed over time?»: the history of a person, a project, a place, version by version.
The graph has a timeline: move it, and the drawing shows the memory as it was on that date.
The agents' decisions
An agent can record a decision: what it saw, how it reasoned, what it chose and which memories it relied on. When a similar case comes up later, the decision comes back with a verdict: applicable if the memories it relied on still hold, to review if one of them has been corrected in the meantime. In the graph, decisions are diamonds, linked to the memories they rest on.
Skills
A skill is a procedure written once, in one place: «how to prepare an offer», «how we release the code». You write it in the panel or draft it from a document or a recording, and every connected agent always receives its latest version. Skills are instructions, not memories: they do not mix with facts and do not move topics around.