> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memanto agent activate

> Start a new session for an agent.

# memanto agent activate

Start a new session for an agent. Required before storing or recalling memories.

```bash theme={null}
memanto agent activate AGENT_ID [OPTIONS]
```

**Arguments:**

* `AGENT_ID` - Agent identifier (required)

**Options:**

* `-h, --hours INTEGER` - Activation duration in hours (default: 6)

**Examples:**

Activate with default 6-hour session:

```bash theme={null}
memanto agent activate customer-support
```

Activate with a longer duration:

```bash theme={null}
memanto agent activate customer-support --hours 12
```

**Output:**

```
OK Agent 'customer-support' activated!
Activation duration: 6 hours
Activation expires: 2026-05-10T22:30:00Z
```

**Notes:**

* Session token is saved automatically and reused by other CLI commands
* Only one active session per agent at a time
* Memanto auto-renews sessions near expiry on memory requests; re-run `activate` only after a hard expiry
