> ## 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.

# get Session Manager • TypeScript AI Agent SDK

> getSessionManager: API reference for getSessionManager

# getSessionManager

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**session**](../modules/session) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def getSessionManager() -> SessionManager
```

### Returns

<ResponseField name="Returns" type="SessionManager">
  The result of the operation.
</ResponseField>

## Uses

* `SessionManager`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/session/index.ts#L316">
  `src/session/index.ts` at line 316
</Card>

***

## Related Documentation

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

  <Card title="JS Sessions CLI" icon="terminal" href="/docs/js/sessions-cli" />

  <Card title="JS Hierarchy Session" icon="sitemap" href="/docs/js/hierarchy-session" />
</CardGroup>
