Help us shape the future of Go! Take the 2026 Go Developer Survey

session

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command session shows a durable multi-turn conversation: each Session.Send is one full agent run seeded with the transcript so far, so the agent remembers earlier turns. The transcript is journaled turn-by-turn, so a Session reopened from the same store resumes the conversation. This program also rebuilds the transcript at the end.

OPENROUTER_API_KEY=sk-... go run ./examples/session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL