Shob ships with a set of built-in agents (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.
build, plan, general, explore, and a few hidden internal ones). You can override any of these agents’ settings, or define entirely new agents, using the agent block in shob.json. Custom agents get their own model, system prompt, permission rules, and appearance — making it easy to build specialised workflows directly into your configuration.
Built-in agents
| Name | Mode | Description |
|---|---|---|
build | primary | The default interactive agent. Executes tools based on configured permissions. |
plan | primary | Plan mode — disallows all edit/write tools. |
general | subagent | General-purpose research and multi-step task execution. |
explore | subagent | Fast codebase exploration: file patterns, keyword search, structural questions. |
agent in shob.json.
The agent config block
Agent fields
Human-readable description of when to use this agent. Shown in the agent picker and passed to subagent routing logic.
Controls where the agent appears:
primary— available as a top-level agent in the TUIsubagent— can be invoked by other agents with thetasktoolall— usable in both roles
Model to use for this agent in
provider/model-name format, e.g. anthropic/claude-opus-4-5. Falls back to the top-level model setting if not specified.Default model variant for this agent (applies only when using the agent’s configured model).
System prompt override for the agent. Replaces the built-in system prompt entirely for custom agents, or extends it for built-in ones.
Sampling temperature (0–2). Higher values produce more varied output; lower values are more deterministic.
Nucleus sampling parameter (0–1). Controls the diversity of token selection.
Maximum number of agentic tool-use iterations before Shob forces a text-only response. Useful for preventing runaway loops in automation.
Accent colour for the agent in the TUI. Accepts a hex code (
#FF5733) or a theme colour name (primary, secondary, accent, success, warning, error, info).When
true, hides the agent from the @ autocomplete menu. Applies only to mode: subagent agents. Default: false.When
true, completely removes the agent (including built-in ones) from Shob’s agent list.Per-agent permission rules. These are merged on top of any global
permission config and the agent’s built-in defaults.Permission rules
Thepermission field controls what tools the agent is allowed to call. Each tool key maps to an action ("allow", "ask", or "deny"), optionally scoped to specific file patterns.
Available tools
| Tool | Description |
|---|---|
bash | Run arbitrary shell commands |
read | Read file contents |
edit | Write or edit files |
list | List directory contents |
glob | Find files by glob pattern |
grep | Search file contents |
webfetch | Fetch a URL |
task | Spawn a subagent |
todowrite | Manage a todo list |
Simple permission (applies to all paths)
Pattern-scoped permission
Shorthand: allow or deny everything
Complete example
Agent markdown files
In addition to theagent block in shob.json, you can define agents as markdown files with YAML frontmatter. Place them in:
.shob/agent/<name>.md— project-scoped~/.config/shob/agent/<name>.md— global
description, mode, tools), and the markdown body becomes the agent’s system prompt.
Create an agent with the CLI
Theshob agent create interactive wizard generates an agent for you using the current AI model, then lets you customise tools and mode before saving the file.
Choose a location
Select whether to save the agent to the current project (
.shob/agent/) or globally (~/.config/shob/agent/).Describe the agent
Enter a plain-English description of what the agent should do. Shob uses your current model to generate a name, a “when to use” description, and a system prompt automatically.
Select tools
Toggle which tools should be available. All tools are enabled by default; deselect any you want to disable.
List all agents
See the CLI reference for
shob agent for the full list of flags and non-interactive usage.