Shob is built from the ground up to run multiple AI agent sessions at once. Instead of waiting for one task to finish before starting another, you can have agents working on a bug fix, writing tests, and drafting documentation all in parallel — each in its own isolated context, each with full visibility into what it’s doing.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/shobcoder/shob/llms.txt
Use this file to discover all available pages before exploring further.
What Are Parallel Sessions?
A session is a single, self-contained conversation between you and a Shob AI agent. Each session has its own message history, context window, tool call log, and set of changes. Sessions are tied to a project directory and persist across restarts, so you can pick up where you left off at any time. Running sessions in parallel means launching two or more sessions against the same project simultaneously. Each session operates independently — they don’t share context with each other, and each agent makes decisions based only on what it sees in its own conversation.Starting Multiple Sessions
From the CLI
Open multiple terminal windows or panes and runshob in each one. Each invocation starts a new session in the current directory:
--session flag:
From the Desktop App
The desktop app provides a tab-based interface for managing multiple sessions visually. Each tab represents an independent session. You can open a new tab, switch between active sessions, and review per-session diffs without leaving the app.All sessions launched against the same project directory share the same filesystem. If two sessions edit the same file simultaneously, their changes will conflict in git. Use separate branches for agents working on overlapping areas of the codebase.
Session Isolation
Although sessions share the underlying filesystem, each one is fully isolated in the following ways:Independent Context
Each session maintains its own conversation history. Agents in different sessions have no awareness of what other agents are doing or have done.
Separate Tool Logs
Tool calls, shell commands, file reads, and permission approvals are tracked per-session. The diff viewer and activity timeline are scoped to each session individually.
Per-Session Revert
You can revert changes from one session without affecting another. Revert state is stored per-session and can be applied or cleared independently.
Independent Model Selection
Each session can use a different model or provider. Run a fast model for quick fixes and a larger model for complex feature work simultaneously.
Use Cases
Parallel sessions shine when you have genuinely independent tasks that don’t touch the same files:Feature development alongside test writing
Start one session to implement a new API endpoint, and another to write integration tests for it. The test-writing session can work from the spec while the implementation session builds it out.
Bug fix while refactoring
Assign a focused bug fix to one session on a hotfix branch, and run a longer refactor task in another session on a separate feature branch.
Multi-area documentation
Run one session to document your API, another to update your README, and a third to generate a changelog — all finishing independently without blocking each other.