Agent Sessions and Context

The chat panel is where you ask Sero to plan, inspect files, edit code, use tools, and explain what it is doing. This guide covers the day-to-day composer controls that help you give the agent useful context without assuming that every saved detail is included on every turn.

Fast path: include a file and a workspace snapshot

  1. Open or create a workspace session.
  2. Type @ and choose a file from the workspace.
  3. Open composer actions and choose Insert workspace snapshot.
  4. Add the current goal in plain language.
  5. Check the model selector, then send.

Use snapshots for orientation, not as a replacement for asking the agent to inspect current files.

Agent context flow

What a session remembers

A session keeps conversation history and session-scoped settings for the current profile. History, memory, and context controls can help the agent, but they are not guarantees. If an instruction is critical, put it in the current prompt.

Good prompts usually include:

  • the exact outcome you want
  • files or folders to inspect
  • constraints such as “docs-only” or “do not change product code”
  • how much autonomy you expect
  • when to stop and ask

Composer controls

ControlUse it forNotes
Prompt boxWrite the current requestDuring streaming, a new submit may steer or queue depending on shortcut/state.
Model selectorOverride the session model for this turn/sessionLong-term defaults live in Settings/Admin.
Slash commandsInsert or run focused commandsBuilt-in login / logout are handled locally; command availability can depend on focused app/context.
@ file referencesPoint the agent at workspace filesUse Tab/selection from the menu rather than relying on vague file names.
AttachmentsAdd files/images/context supported by the current composerAttachments may be sent to the model/provider used for the turn.
Context editorAdjust session system prompt, tools, skills, and presetsTreat this as session-scoped steering, not a global policy engine.
Workspace snapshotInsert workspace name/root, open editor tabs, and open browser tabsIt intentionally omits git diff/status and terminal history.
Memory visibility toggleShow/hide memory context blocks when presentMemory is selective and budgeted. Not all memories are sent.
Thinking visibility toggleShow/hide thinking blocks when exposedAvailability depends on model/provider behavior.
Stop/abortStop the current turnUse when the agent is going in the wrong direction or running too long.
Queued follow-upsSend another prompt after the current stream endsQueue items can be removed before they are sent.
Voice buttonTranscribe microphone input into the promptRequires OpenAI credentials.

Context editor and presets

The context editor is for session-level instructions and available capabilities. It can expose:

  • system prompt text for the session
  • tool selection where supported
  • skills and presets where available

Use it for durable guidance within a session, such as “prefer documentation-only edits” or “ask before destructive Git operations.” Do not rely on it to override every future model decision. Re-state important constraints in the prompt when the risk is high.

Slash commands and file references

Type / to see slash commands relevant to the current focus. Type @ to search workspace files. These menus help avoid ambiguous requests like “open the config” when multiple files match.

Examples:

@apps/docs-site/docs/guide/models-and-providers.md summarize the provider health states.

/agent explain the current plan before editing files.

Command availability depends on the focused app and installed plugins.

Steering, stopping, and queued follow-ups

While a turn is streaming, a normal submit steers the active turn. On macOS, hold Command when you submit to queue the message as a follow-up. On Windows or Linux, hold Control when you submit. Sero sends the next queued message after streaming stops. You can remove a queued message before Sero sends it.

You can also intervene:

  • Stop/abort if the agent is clearly off track.
  • Send a short steering message when you need to redirect the active turn.
  • Queue a follow-up when you want the next prompt to run after the current response finishes.

Steering is not a fine-grained debugger. If the agent already changed files, review the diff and use source-control or undo tools when needed.

Voice transcription

Voice input captures microphone audio locally in the renderer, sends it through Sero's voice bridge, and appends the transcript to the composer.

Requirements:

  • microphone permission for the Sero/Electron app
  • OpenAI credentials available to the active profile or environment
  • network/provider access for transcription

Common errors:

SymptomWhat to check
Voice button is disabledAdd or restore OpenAI credentials.
Permission prompt never appearsCheck macOS microphone privacy settings.
Transcription failsCheck provider credentials, network access, and /tmp/sero-electron.log.
Transcript is wrongEdit the text before sending; the transcript is only a draft prompt.

Privacy note: spoken text may be sent to the transcription provider configured for the feature. Do not dictate secrets unless you are comfortable sending that audio/text through the provider.