A session is a single conversation thread with one agent — start it, send messages back and forth, then cancel or let it finish.Documentation Index
Fetch the complete documentation index at: https://docs.gumloop.com/llms.txt
Use this file to discover all available pages before exploring further.
gumloop sessions is how you do all of that from the terminal.
Create a session
Start a new conversation with an agent, optionally with the first user message:| Flag | Description |
|---|---|
--input | Initial user message text. |
--input-stdin - | Read the initial message from stdin. Mutually exclusive with --input. |
--session-id | Pre-assign a client-side session ID (otherwise the server assigns one). |
--json | Print the raw response payload. |
Get a session
--json for the full transcript.
Send a follow-up
sessions create:
Cancel a session
The CLI returns the agent’s final response after each
create / send call but does not stream tokens as they’re generated. If you need token-by-token streaming, use client.sessions.stream() from the Python SDK directly.