google.com, pub-2571979842820424, DIRECT, f08c47fec0942fa0
Artificial intelligence

Confusion Introduces Brain, a Self-Developing Memory System That Graphs the Content of an Agent’s Work and Learns It Instantly.

Most of the AI ​​memory remembers the user. It stores your preferences, preferences, and roles. Confusion takes a different approach. Today, Perplexity was launched The brainself-improving memory system for its agent product, A computer. The brain does not focus on remembering. It remembers what the agent did. That redefines what memory in AI is.

What Confusion‘s Brain

The brain is a self-developing memory system. Construct a graph of the context of the work performed by the computer. At set times, such as at night, the Brain updates that graph. It then teaches itself how to do the job better. The idea is straightforward. When you multitask, Brain makes your computer work better. Brain is streaming today to Perplexity Max and Enterprise Max subscribers a preview of the study.

Two axes of AI Memory

Confusion involves memory two axes. I first what is memory about. I the second time that’s what memory is for.

Traditionally, AI memory has been about the user. It stores likes, preferences, activity styles, contacts, and roles. Your goal is engagement. It helps you feel more engaged with the agent. The brain takes another approach. Its memory is about the agent’s work. It remembers what worked, what failed, and what corrections were made. Its purpose is to work. Busy calls help the agent to improve the most important purpose of memory.

Size Native user memory Brain (working memory)
What is it about User Agent’s work
What it remembers Likes, preferences, work styles, contacts, role What the agent did, what worked, what failed, to fix
It’s yours Feeling more engaged with the agent Helping the agent get better at the job
What it produces User profile Graph the traceable context of the activity

How the Content Graph Works

The brain forms a graph of the living context of the Computer. The graph is traceable. It helps the Computer understand the user’s world and learn from their work. The context layer takes the form of an LLM wiki. That wiki is automatically loaded into the agent’s sandbox. Its pages display ideas, people, projects, and other features in the world of users. A computer can cut through this web of personal information.

The brain system updates the wiki continuously overnight. It includes user sessions, connector results, changes to source documents, and corrections made. That refreshing context gives the Computer a strong signal of what to do and where to look.

The mind also shows its work. All entries in memory are linked to the session, file, or source from which they appear. That tracking is important for error correction and reliability.

Iterative Self-Improvement

The brain gets better as you use the computer. Agents study projects, connectors, artifacts, and other sources that lead to the best results. They also learn from their mistakes. They remember when the user made a correction. They remembered when the well had run out. That results in fewer turns, fewer model calls, and better results. This feedback mechanism is what makes the brain continue to improve. The confused team represents current token use as an investment in the use of more efficient tokens later.

Performance Numbers

Confusion shared the early measurement results from its testing.

Metric Reported change The situation
Answer accurately +25% In the works The computer has seen before
Remember +16% Same initial results
Costs −13% In works that require historical context

Confusion also suggests that the longer a person uses the brain, the better the results. Agents learn the world of users over time. These are the early numbers, the first group.

Use Cases with examples

Where does working memory come in handy? Consider three concrete cases.

  • A data scientist does a weekly overview. The brain remembers reliable sources and past corrections. The next test starts on a better map. Few dead ends follow.
  • The support team checks the tickets through connectors. The brain learns which sources have solved previous tickets. Delivers future tickets quickly.
  • The developer fixes bugs in all batches. Brain remembers which files were important in the past. The computer accesses the root with a few model calls.

In each case, savings come from history. An agent does not re-read the same context twice.

Implementation of the Concept

Perplexity has not yet published the Brain API. The pattern, however, is easy to model. The Python content below is an illustration, not Perplexity code. It runs automatically and prints day 1: needs review then day 2: correct.

# Illustrative, self-contained model of Brain's loop — NOT Perplexity's API.
class ContextGraph:
    def __init__(self):
        self.entries = []      # every logged item keeps a source link
        self.lessons = {}      # task -> reusable lesson learned overnight
        self.pending = []      # corrections waiting for the next sync

    def retrieve(self, task):
        return self.lessons.get(task)            # load relevant memory

    def log(self, task, result, source):
        self.entries.append((task, result, source))

    def log_correction(self, task, fix, source):
        self.entries.append((task, "correction", source))
        self.pending.append((task, fix))         # learn from a dead end

    def synthesize(self):                        # the overnight step
        for task, fix in self.pending:
            self.lessons[task] = fix             # teach itself to improve
        self.pending = []


def agent_execute(task, lesson):
    # with a learned lesson, the agent avoids the known dead end
    return "correct" if lesson else "needs review"


brain = ContextGraph()

# Day 1: no memory yet, so the task needs review
lesson = brain.retrieve("debug repo")
print("day 1:", agent_execute("debug repo", lesson))
brain.log_correction("debug repo", "ignore cached build", source="file:notes.md")

brain.synthesize()                               # overnight Brain sync

# Day 2: same task, now informed by memory
lesson = brain.retrieve("debug repo")
print("day 2:", agent_execute("debug repo", lesson))

An important step synthesize. This is where overnight self-improvement happens.


Try it: Interactive Demo

The embeddable demo below simulates the loop. Perform operations to expand the context graph. Insert a correction to mark the end. Then turn on Brain sync at night. Accuracy and recall increase, and cost decreases, according to Perplexity’s reported figures. It shows a concept and not a product.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button