---
title: "Watch your agent learn"
url: "https://docs.mekodata.ai/quick-start/watch-your-agent-learn/"
---

# Watch your agent learn

Tell your agent something once, then see a new session recall it

Knowledge is what you give Meko. Memory is what Meko learns from your conversations.

- Cloud
- Local

#### Cloud

Meko Cloud automatically extracts durable facts from your conversations and stores them as memories. Extraction runs in the background, so give it a few seconds before you open the new session.

Start with a baseline. Ask your agent:

```text
Propose a 5 day vacation for me. Do not use Meko or any prior record of my preferences.
```

You get a generic trip, or a list of questions. Now tell it something about yourself:

```text
Please remember that I like to take vacations at tropical beach locations, on a budget.
```

Next, open a new session in the same client, such as a second Claude Code terminal or a **New Agent** in Cursor, and ask:

```text
Propose a 5 day vacation for me.
```

The answer is now personalized:

```output
Here's a 5-day plan tuned to what you've saved: tropical beach + budget.

## Pick a base: Isla Holbox or Puerto Morelos area, Mexico (Yucatán)

Why it fits: Warm water, palm-lined beaches, easy buses from Cancún airport,
hostels and street food keep costs down.
```

The new session never saw your first conversation. It answered from the memory Meko stored.

To see what Meko stored, ask *"What does Meko remember about me?"* That shows the agent can read the memory back.

The Cloud portal shows the record itself. On Meko Cloud, open the datapack: **Memories** lists each memory and its entities, and **Conversations** shows the saved history with decision and execution traces.

#### Local

Extraction is off until you turn it on. With Claude Code installed:

```sh
meko memory-extractor use claude
```

Meko will extract memories from your Claude Code conversations every 5 minutes after one test call. (You can also turn extraction on under **Settings** in the web UI.) (Note that currently `memory-extractor` only works with Claude Code.)

Start with a baseline. Ask your agent:

```text
Propose a 5 day vacation for me. Do not use Meko or any prior record of my preferences.
```

You get a generic trip, or a list of questions. Now tell it something about yourself:

```text
Please remember that I like to take vacations at tropical beach locations, on a budget.
```

To extract immediately after a prompt, use the following command:

```sh
meko memory-extractor run
```

You can also save facts manually:

```sh
meko-cli add_memory "I like to take vacations at tropical beach locations, on a budget."
```

Next, open a new session in the same client, such as a second Claude Code terminal or a **New Agent** in Cursor, and ask:

```text
Propose a 5 day vacation for me.
```

The answer is now personalized:

```output
Here's a 5-day plan tuned to what you've saved: tropical beach + budget.

## Pick a base: Isla Holbox or Puerto Morelos area, Mexico (Yucatán)

Why it fits: Warm water, palm-lined beaches, easy buses from Cancún airport,
hostels and street food keep costs down.
```

The new session never saw your first conversation. It answered from the memory Meko stored.

To see what Meko stored, ask *"What does Meko remember about me?"* That shows the agent can read the memory back.

The CLI shows the record itself. On your computer, run `meko-cli search "vacation"` or open the web UI with `meko ui`.

### Next: [Promote and share](/quick-start/promote-and-share/)
