agent-brain-providers

agent-brain-providers is a command for coding agents from SpillwaveSolutions/agent-brain. It costs 14 tokens per session (1,147 once invoked), scanned A, original, MIT.

A command for viewing and changing the services used to create searchable code representations and summaries. It can show available services and the current configuration.

In plain words
What is it for?
Use it to list services, inspect configuration, find the configuration file, or interactively switch embedding or summarization services.
Why use it?
It helps you find which services Agent Brain can use and check whether the intended configuration is active.

Command

Part of the agent-brain-plugin plugin — 29 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/spillwavesolutions/agent-brain/agent-brain-providers
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain

Or install agent-brain-plugin, the plugin that ships this one along with the rest of its 29 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-brain-providers

README.md
[![agentmods](https://agentmods.dev/badge/commands/spillwavesolutions/agent-brain/agent-brain-providers.svg)](https://agentmods.dev/commands/spillwavesolutions/agent-brain/agent-brain-providers)
Your own site
<a href="https://agentmods.dev/commands/spillwavesolutions/agent-brain/agent-brain-providers"><img src="https://agentmods.dev/badge/commands/spillwavesolutions/agent-brain/agent-brain-providers.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.01147
Opus 5 $0.00007 $0.00574
Sonnet 5 $0.00003 $0.00229
Haiku 4.5 $0.00001 $0.00115

Measured 4d ago against content hash 1391972d628e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-brain-providers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-brain-plugin/commands/agent-brain-providers.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Brain Providers

Purpose

Lists available providers and shows current configuration for embeddings and summarization. Use this command to understand what providers are available and which are currently active.

Usage

/agent-brain:agent-brain-providers [action]

Actions

Action Description
list List all available providers (default)
show Show current provider configuration
switch Interactive provider switching

Execution

List Available Providers

Show all supported embedding and summarization providers. This is a plugin-level informational command. To view the active provider configuration from the CLI, use:

agent-brain config show

Or for JSON output:

agent-brain config show --json

To find which config file is active:

agent-brain config path

Interactive Provider Switch

When action is switch, use AskUserQuestion to guide the user:

Step 1: Choose what to configure

What would you like to configure?

Options:
1. Embedding Provider - For vector/semantic search
2. Summarization Provider - For code summaries during indexing
3. Both - Configure both providers

Step 2: For embeddings, choose provider

Which embedding provider would you like to use?

Options:
1. Ollama (nomic-embed-text) - FREE, local, no API key required
2. OpenAI (text-embedding-3-large) - High quality, cloud-based
3. Cohere (embed-english-v3.0) - Multi-language support

Step 3: For summarization, choose provider

Which summarization provider would you like to use?

Options:
1. Ollama (llama3.2) - FREE, local, no API key required
2. Anthropic (claude-haiku-4-5-20251001) - High quality
3. OpenAI (gpt-5-mini) - Fast, cost-effective
4. Gemini (gemini-3-flash) - Google's model
5. Grok (grok-4) - xAI's model

Step 4: Generate configuration

Based on selections, output the configuration:

# Add to your .env file or export:
export EMBEDDING_PROVIDER=<selected>
export EMBEDDING_MODEL=<selected>
export SUMMARIZATION_PROVIDER=<selected>
export SUMMARIZATION_MODEL=<selected>

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 176 lines · 14 tokens per session scan A 1391972d628e

Subscribe to this mod's changes

agent-brain-providers is a command published in the GitHub repository SpillwaveSolutions/agent-brain (117 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 1,147 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.