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

# Session Config • Rust AI Agent SDK

> SessionConfig: Session configuration

# SessionConfig

> Defined in the [**Config Loader**](../modules/config_loader) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Session configuration

## Fields

| Name           | Type                   | Description          |
| -------------- | ---------------------- | -------------------- |
| `session_id`   | `Option&lt;String&gt;` | Session ID           |
| `user_id`      | `Option&lt;String&gt;` | User ID              |
| `persist`      | `bool`                 | Persist session      |
| `storage_path` | `Option&lt;String&gt;` | Session storage path |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/config_loader.rs#L166">
  `praisonai/src/parity/config_loader.rs` at line 166
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Sessions" icon="clock" href="/docs/rust/sessions" />

  <Card title="Rust Memory" icon="database" href="/docs/rust/memory" />

  <Card title="Rust Configuration" icon="gear" href="/docs/rust/configuration" />

  <Card title="Rust Installation" icon="download" href="/docs/rust/installation" />
</CardGroup>
