Skip to main content
Sessions give your Agents memory across multiple interactions. Users can have ongoing conversations, and Agents remember the context from previous messages.

Quick Start

1

Simple Usage

2

With Configuration

Use SessionManager or Postgres storage — see sections below.

Multi-Turn Conversations

Agent with Persistent Sessions

Sessions that survive server restarts:

Multi-Agent Shared Sessions

Multiple Agents sharing conversation context:

Session with Run Tracking

Track individual Agent executions:

Session Context Window Management

Handle long conversations:

Session Metadata

Store user and context information:

Core Concepts

Memory

Semantic memory

Redis

Fast session storage