# How it works

Connect once, and every chat already knows you.

Alter Ego is a connector. You add one URL, pick where the memory lives, and your assistant reads and writes it as it works.

:::steps
1. **Add the connector.** Paste one URL into your AI app as a custom connector, or into any MCP client that supports remote servers.
2. **Pick your storage.** Sign in with OneDrive, SharePoint, Google Drive, Dropbox, GitHub, Azure DevOps, Azure Blob Storage or S3. The memory lives in a folder or repository of yours.
3. **Just keep chatting.** At the start of a chat the assistant calls `start`, and after every answer it adds one line to your journal. You do not have to set anything up in your own account.
:::

## What happens in a chat

1. The assistant calls [`start`](/docs/tools/#start). It returns your rules, your profile, your contexts and your playbooks.
2. When the chat is about a client or project, it calls [`open_context`](/docs/tools/#open_context) for that context's README and latest journal lines.
3. After every answer it calls [`log`](/docs/tools/#log) with one short line.
4. When you say something should always apply, it calls [`remember`](/docs/tools/#remember).

The connector tells the assistant to do this in its own instructions and tool descriptions. An assistant can still skip a step, and then you can ask it to call `start` or `log`.

## Where the server fits

The server is a thin layer between your AI app and your storage. It passes your files through memory only while a tool runs and keeps only the sign-in state it needs, with provider tokens encrypted at rest. Read [Your data and privacy](/docs/your-data/) for the details.
