Skip to content

Latest commit

 

History

History
170 lines (136 loc) · 9.54 KB

INTEGRATIONS.md

File metadata and controls

170 lines (136 loc) · 9.54 KB

Agent integrations

Anything that speaks MCP can read a repowise index. This page is about how deeply each agent is wired, which is a different question, and the one every breadth claim in this space gets wrong.

Tiers

The tier is derived from the code, never declared. A descriptor reaches Full only by naming both a hook adapter and a transcript adapter, and Good only by wiring instructions or skills beside MCP, so no document can claim a depth the integration does not have.

  • Full. MCP tools, a managed instructions file, skills, slash commands, hook-level interception of tool calls, and transcript mining after the fact. Every surface repowise has.
  • Good. MCP tools plus a managed instructions file or skills, so the agent is told when to reach for them. No transcript mining, and hooks only where the matrix says so. The agent can ask repowise questions; repowise sees little or nothing of what it does in between.
  • Basic. repowise writes the MCP server config and nothing else. The tools are there; no instructions file or skill tells the agent when to use them.
  • Paste-config. repowise agents print-config <id> emits the MCP server snippet and we write nothing. Zero code and zero maintenance per host.

The matrix

Yes means repowise wires it. Plugin means the host's own plugin ships it and repowise does not write it. No means the surface does not exist for that agent. Indexing is Yes when the agent's own CLI can run as the LLM that writes the index, selected by its provider id (claude_cli, for example). It is separate from the tier: it says nothing about the session. init offers a logged-in agent CLI but uses it only when you pick it or pass --provider. An agent CLI has no embedder, so semantic search needs an embedder key of its own: see Embeddings.

Attribution is Yes when repowise can record the agent's edits as they happen, an opt-in set by attribution.capture and attribution.agents. Every agent's own git-ai notes, Agent Trace files and commit trailers are read either way.

Agent Tier MCP Hooks Skills Commands Instructions Transcripts Indexing Attribution
Claude Code Full Yes Yes Plugin Plugin Yes Yes Yes Yes
Codex CLI Full Yes Yes Plugin Yes Yes Yes Yes Yes
VS Code Good Yes No No No Yes No No No
Cursor Good Yes Yes No No Yes No No Yes
OpenCode Good Yes No No No Yes No Yes No
Hermes Good Yes No No No Yes No No No
GitHub Copilot CLI Good Yes No No No Yes No Yes No
Kiro Good Yes No No No Yes No No No
Windsurf Basic Yes No No No No No No No

Target ids for --target=: claude-code, codex, vscode, cursor, opencode, hermes, copilot, kiro, windsurf.

What Good tier does not include

VS Code, Cursor, OpenCode, Hermes, GitHub Copilot CLI and Kiro sit at Good, and the honest version of that is worth stating plainly. These agents get the MCP tools and the config repowise writes. They do not get hook-level interception: repowise never sees a tool call before it runs, never rewrites a noisy command, and never annotates a result afterwards. Nor is there transcript mining, so nothing learns from the session after it ends.

The one exception is hooks: Cursor runs the distill command-rewrite hook, so noisy commands are rewritten there. Transcript mining is still absent.

That is a real integration and it is most of the value. It is not the same product Full-tier agents get, and breadth that overclaims depth is worse than narrower breadth.

Basic tier

Windsurf sits at Basic. repowise writes no instructions file or skills there, so the MCP tools are reachable but nothing tells the agent when to use them.

Paste-config

Every other MCP host is served without writing a descriptor for it. Print the server entry and paste it into whatever config that host reads:

repowise agents print-config claude-code   # prints, writes nothing

Ask for the target id whose host is closest to yours instead of editing a snippet by hand. The shapes genuinely differ, and not only in their wrapper: hosts disagree about the top-level key, about whether each entry carries a type field, about whether the invocation is one array or a command plus a separate argument list, and about the file format itself, so codex prints TOML and hermes prints YAML where the others print JSON. claude-code is the plain mcpServers JSON most hosts read and is the right default when yours is not listed below. Hosts people ask about most, none of which repowise writes config for today:

Cline, Zed, Continue, Gemini CLI, JetBrains AI Assistant, Amp.

print-config takes one of the target ids above; there is no descriptor to name for a host at this tier, which is the point of the tier.

The MCP surface

repowise registers eighteen MCP tools. What a client is listed depends on how it loads tool schemas. Claude Code loads a schema only when the model asks for that tool, so it gets the standard surface: ten tools in a single repo, eleven in workspace mode. Clients that send every schema with every request (Codex, Cursor, VS Code and Copilot, OpenCode, Windsurf, Kiro, Hermes and any client repowise does not recognise) get the core profile: five tools (six in workspace mode), get_answer, get_context, search_codebase, get_symbol and get_why. A further seven specialists are off for every client.

One setting, mcp.tools, changes it for every client: repowise config set mcp.tools <value>, repowise agents add --tools <value>, the mcp block in .repowise/config.yaml, or the Agents page of a repository's dashboard settings. repowise mcp --tools <value> in one client's server entry pins that client alone and wins over the setting. The value is a profile (core, lean, standard, all), optionally followed by +name or -name; +name or -name alone adjusts each client's default; plain names are the exact list. The server reads it when it starts, so restart it (or the agent) after a change. A tool left out only by a client's default still answers if called; get_overview(include=["tools"]) lists the whole surface. The lean profile is six tools (seven in workspace mode): core plus get_risk.

repowise init and repowise agents add print, for each agent they connect, how many tools it lists and under which profile; init --progress json gives the same facts per agent in the summary's mcp_tools field.

Always-load (Claude Code, off by default). Claude Code keeps every repowise schema behind tool search, so the model's first repowise call usually follows a tool-search turn. repowise config set mcp.always_load true asks it to keep the four read tools (get_answer, get_context, get_symbol, search_codebase) loaded from the first turn instead, for about 2.5k more tokens a turn. Other tools stay deferred, and clients that load every schema up front are unaffected. Restart the agent after the change.

repowise doctor shows the surface each wired agent gets on that agent's row: profile, tool count, any --tools pin in its server entry, and mcp.always_load for Claude Code. --format json carries the same facts under data (profile, tool_count, pinned, always_load, duplicate). The same row warns when an agent loads repowise under two names at once, such as the Claude Code plugin beside a project .mcp.json entry, and names the entry to keep and the one to remove.

Per-tool detail: MCP_TOOLS.md.

Adding an agent

The step-by-step recipes, including indexing backends and hook and transcript adapters, are in docs/architecture/agent-platform.md. In short, an integration target is:

  1. An AgentIdentity in identity.py.
  2. A descriptor module in packages/cli/src/repowise/cli/agent_targets/targets/ exporting a TARGET that satisfies the AgentTarget protocol in types.py.
  3. One line in _TARGET_MODULES in registry.py.
  4. A README badge under the tier derive_tier gives it, checked by tests/unit/cli/test_agent_matrix.py.
  5. python scripts/gen_agent_matrix.py to add the row here.

An indexing backend is its own module in packages/core/src/repowise/core/providers/llm/ subclassing AgentCliProvider, a ProviderSpec in specs.py, and one Backend entry in tests/unit/test_providers/test_agent_cli_contract.py.

Declare only what the agent genuinely has. derive_tier reads the adapter names, so a descriptor that names a hook adapter it has not implemented publishes a Full-tier claim on this page.