Session Management
Learn how to manage sessions in VibeKit for multi-turn conversations
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Learn how to manage sessions in VibeKit for multi-turn conversations
const vibeKit = new VibeKit()
.withAgent({
type: "claude",
provider: "anthropic",
apiKey: process.env.ANTHROPIC_API_KEY!,
model: "claude-sonnet-4-20250514",
})
.withSandbox(e2bProvider)
.withSession("session-id-123");
const session = await vibeKit.setSession("abcd***")
const session = await vibeKit.getSession()
