session(1)
πΈ session(1) β the General Commands Manual one, bestie πΈ
okay so real talk: this is session(1) from the General Commands Manual and it's literally the entry point for starting or resuming your interactive chat sessions. buckle up π
β¨ NAME β¨
session β start or resume interactive chat sessions π¬
β¨ SYNOPSIS β¨
session [-n|--name] [--session-id] [--path] [-r|--resume] [--fork]
[--edit] [--history] [--system] [--debug] [--max-tool-repetitions]
[--max-turns] [--container] [--with-extension]
[--with-streamable-http-extension] [--with-builtin] [--no-profile]
[--provider] [--model] [-h|--help] [subcommands]
β¨ DESCRIPTION β¨
Start or resume interactive chat sessions. that's it, that's the vibe. you're either kicking off something new or sliding back into an old convo ππ¦
β¨ OPTIONS β¨
-n,--name <NAME>β give your chat session a name π. and when you pair it with--resume, it'll resume that specific session, if it exists. cute and specific, we love that.--session-id <SESSION_ID>β straight-up hand it a session ID to resume. heads up tho: this one requires--resume. like it literally won't work without it π--path <PATH>β legacy parameter for backward compatibility π«Ά. it pulls the session ID out of a file path, like'/path/to/20250325_200615. jsonl'->'20250325_200615'.-r,--resumeβ continue from a previous session β. if you gave it--nameor--session-id, it resumes that one. otherwise it just grabs the most recently used session. no thoughts, just vibes.--forkβ create a brand new session by copying all the messages from a previous one π§. must be used with--resume. with--nameor--session-idit forks that specific session; otherwise it forks the most recently used one. new session, same lore.--editβ opens the session's conversation in your editor ($VISUAL/$EDITOR/vi) so you can tweak it before resuming βοΈ. and if you combine it with--fork, it creates a new session from the edited result. chef's kiss.--historyβ show previous messages when resuming a session π. context is everything, bestie.--system <TEXT>β drop in extra system instructions to customize the agent's behavior π.--debugβ when it's on, you get complete tool responses with no truncation and full paths π₯. all the tea, unfiltered.--max-tool-repetitions <NUMBER>β caps how many times the same tool can be called consecutively with identical parameters π. helps prevent infinite loops, which is honestly a public service.--max-turns <NUMBER>β limits how many turns (iterations) the agent can take without asking you for input to continue β³.--container <CONTAINER_ID>β runs extensions (stdio and built-in) inside the container you specify π¦. the extension must exist in the container, and for built-in extensions, goose must be installed inside the container too.--with-extension <COMMAND>β add stdio extensions from full commands with environment variables π . can be specified multiple times. format:'[name:]ENV1=val1 ENV2=val2 command args...'. without the optional name, the extension gets named after the command β which is the launcher for anything started through one ('npx','python','uvx', ...); extensions that would end up sharing a name are instead named after their full command line.--with-streamable-http-extension <URL>β add streamable HTTP extensions from a URL π. can be specified multiple times. format:'url...'or'url... timeout=100'to set a timeout other than the default.--with-builtin <NAME>β add one or more builtin extensions bundled with goose by naming them, comma-separated π.--no-profileβ don't load your default extensions; only use the CLI-specified ones π«. minimal era.--provider <PROVIDER>β overrides theGOOSE_PROVIDERenvironment variable for this run π. available providers includeopenai,anthropic,ollama,databricks,gemini-cli,claude-code, and others.--model <MODEL>β overrides theGOOSE_MODELenvironment variable for this run π§ . the model must be supported by the specified provider.-h,--helpβ print help (see a summary with'-h') π.
β¨ SUBCOMMANDS β¨
session-list(1)β list all available sessions πsession-remove(1)β remove sessions. runs interactively if no ID, name, or regex is provided ποΈsession-export(1)β export a session π€session-import(1)β import a session from JSON, a Claude Code / Codex / Pi.jsonl, or an encrypted Nostr share link π₯session-diagnostics(1)β π©Ίsession-help(1)β print this message or the help of the given subcommand(s) π«Ά
β¨ SEE ALSO β¨
goose(1), goose-acp(1), goose-completion(1), goose-configure(1), goose-doctor(1), goose-gateway(1), goose-info(1), goose-mcp(1), goose-plugin(1), goose-recipe(1), goose-review(1), goose-run(1), goose-schedule(1), goose-serve(1), goose-skills(1), goose-term(1) β the whole friend group honestly ππ
ngl bestie, that's the whole page. go start a session, resume a session, fork a session. live your truth π
okay byeee, this page is session from section 1 (session(1)), and that's a wrap πβ¨π¦
π¦ where this page comes from
- opensuse-leap 16.0: goose 1.51.0-bp160.1.1 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND CDLA-Permissive-2.0 AND ISC AND LGPL-3.0-or-later AND MIT AND MIT-0 AND MPL-2.0 AND Unicode-3.0 AND Zlib AND bzip2-1.0.6
- opensuse-leap 16.0: goose 1.51.0-bp160.1.1 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND CDLA-Permissive-2.0 AND ISC AND LGPL-3.0-or-later AND MIT AND MIT-0 AND MPL-2.0 AND Unicode-3.0 AND Zlib AND bzip2-1.0.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms