Sherpa lets you narrow the documents it searches and choose the AI model that reasons over them. These two controls — scope paths and the AI (Brain) selector — are independent and can be adjusted at any point in a conversation. Scope paths limit search results to a specific subfolder; the AI selector determines which provider generates the answer. Both settings are scoped to the current user and persist between sessions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tudoumono/Sherpa/llms.txt
Use this file to discover all available pages before exploring further.
Scope paths
When knowledge retrieval is turned on, Sherpa searches the entire registered document world by default. You can narrow that search to a specific subfolder using the scope panel. Scope works as a folder prefix filter. Selecting02_設計 limits all impact analysis, troubleshooting searches, and spec lookups to documents whose path starts with that prefix. You can select multiple folders at once to span several subtrees simultaneously.
Common shared components — standard copybooks, cross-cutting standards documents, and similar shared resources — are included in every search regardless of which scope paths you have selected. You will not accidentally miss a shared dependency by narrowing scope.
- UI
- API
- Make sure the ナレッジ参照 (Knowledge retrieval) toggle is on — the scope selector is hidden when knowledge retrieval is off.
- Click the 範囲 (Scope) button near the input bar. A folder tree panel opens.
- Click 📂 全体(この取込ディレクトリすべて) to clear any selection and search the entire world.
- Click any folder row to select it. Selected folders are highlighted. Click again to deselect.
- You can select multiple folders. The scope chip above the input bar updates to show your selection.
- Send your question. The answer envelope will confirm which scope paths were applied.
AI model selector
The 頭脳 (Brain) badge near the message input shows the currently active AI provider. Click it to open the provider menu. Your selection is saved viaPUT /settings and applied to all subsequent queries in the session.
| Provider | Default model | Key / Config env var | Notes |
|---|---|---|---|
| Codex | gpt-5.5 | OPENAI_API_KEY | Agentic mode: Codex runs its own grep and file-read tools inside a sandboxed environment. The thinking trace in the right pane shows each step. Best for complex dependency traversals and authoring tasks. This is the recommended default. |
| OpenAI API | gpt-5.5 (configurable) | OPENAI_API_KEY | Standard chat completion. Only document text is sent to the API — original files are never uploaded externally. Model ID is configurable per user. |
| Gemini | gemini-2.5-flash (configurable) | GEMINI_API_KEY | Google’s Gemini API. Model ID is configurable per user. Same text-only data boundary as OpenAI. |
| Ollama (Local LLM) | qwen2.5 (configurable) | Base URL configurable | Runs inference against a local Ollama server. No data leaves your network. Configure the base URL and model ID in Settings. |
| Heuristic (No AI) | — | None required | Template-based fallback. No external API calls. Fastest response, but answers are less nuanced. Used when no AI provider is configured. |
Codex reasoning strength
When Codex is the active provider, you can set its reasoning strength in Settings:| Level | Behaviour |
|---|---|
low (default) | Fastest and cheapest. Suitable for most queries. |
medium | More thorough traversal; better for queries that span many files. |
high | Deepest analysis; highest cost and latency. Use for complex impact analyses across large codebases. |
Configuring provider settings
Open ⚙ APIキー等の詳細設定 from the Brain menu, or navigate to the Settings page directly. Changes are saved immediately viaPUT /settings and take effect on the next query.
GET /settings responses (a boolean openai_key_set / gemini_key_set flag is returned instead).
You can test a provider configuration before saving it:
openai, gemini, ollama, or codex as the provider value.