agentic-tool-integration
Skill2.9k starsChanged 9 months agoMITView on GitHub
Wiring a new tool the AI agent can call (not the recon pipeline): the tool registry, the phase map, the hardcoded dispatch chokepoint, and the duplicated execution paths that make a tool work in single mode but silently break in parallel plans. Trigger: adding or editing a tool the agent invokes; editing agentic/prompts/tool_registry.py, PhaseAwareToolExecutor in agentic/tools.py, agentic/orchestrator_helpers/nodes/execute_tool_node.py or execute_plan_node.py, TOOL_PHASE_MAP / DANGEROUS_TOOLS in agentic/project_settings.py, or a new MCP server in mcp/servers/.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about samugit83/redamon
- @agentwire.thecompound.tech“https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg”Bluesky · Oct 2, 2026 · 1 likes
- raphabot/awesome-cybersecurity-agentic-ai“Add RedAmon to Tools”GitHub · Oct 1, 2026
- kyrolabs/awesome-langchain“Add RedAmon to Agents”GitHub · Oct 1, 2026
- enaqx/awesome-pentest“Add RedAmon to Multi-paradigm Frameworks”GitHub · Oct 1, 2026
- The-Art-of-Hacking/h4cker“Add RedAmon to AI Agentic Tools for Cybersecurity”GitHub · Oct 1, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub and Bluesky (7 times).
On GitHub · 6
- Oct 1, 2026Add RedAmon to Tools — raphabot/awesome-cybersecurity-agentic-ai0 reactions
- Oct 1, 2026Add RedAmon to Agents — kyrolabs/awesome-langchain0 reactions
- Oct 1, 2026Add RedAmon to Multi-paradigm Frameworks — enaqx/awesome-pentest0 reactions
- Oct 1, 2026Add RedAmon to AI Agentic Tools for Cybersecurity — The-Art-of-Hacking/h4cker0 reactions
- Oct 1, 2026Add RedAmon to Pentest & Red-Team Agents — scadastrangelove/awesome-ai-security-tools0 reactions · 1 comment
1 more on GitHub
- Jun 6, 2026[Add] RedAmon (samugit83/redamon) — PyTorchKR/landscape0 reactions
On Bluesky · 1
- Oct 2, 2026https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg — @agentwire.thecompound.tech1 likes and repost
In this repository24 other files it gives its agents.
- agentic/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- recon/AGENTS.mdAGENTS.md
- recon_orchestrator/AGENTS.mdAGENTS.md
- webapp/AGENTS.mdAGENTS.md
- agentic/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- recon/CLAUDE.mdCLAUDE.md
- recon_orchestrator/CLAUDE.mdCLAUDE.md
- webapp/CLAUDE.mdCLAUDE.md
- add-community-skillSkill
- add-partial-reconSkill
- builtin-agent-skillSkill
- graph-db-writesSkill
- llm-provider-integrationSkill
- mcp-server-toolsSkill
- orchestrator-container-spawnSkill
- priority-board-triageSkill
- project-settings-cascadeSkill
- recon-ai-enrichmentSkill
- recon-tool-integrationSkill
- redamon-testingSkill
- supply-chain-scanSkill
- traffic-captureSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
If it sends attack traffic: also add it to DANGEROUS_TOOLS (frozenset, project_settings.py:22), a per-tool section in …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Adding any tool the agent uses during a chat session (CLI wrapper, MCP tool, or API tool).
For a recon-pipeline tool (runs during a scan, writes the graph), use
recon-tool-integration instead. For the
per-setting/default multi-layer wiring, use
project-settings-cascade. For a whole
new attack skill (not a tool), use builtin-agent-skill.
Critical Rules
- NEVER
importa package not already in the agent image.agentic/is baked into theredamon-agentimage; a missing import crash-loops the container. Confirm it is in agentic/requirements.txt or the Dockerfile first. - NEVER add a tool without a
TOOL_REGISTRYentry in agentic/prompts/tool_registry.py. The registry is the single source of truth the LLM reads; an unregistered tool is invisible to the agent. All four fields (purpose,when_to_use,args_format,description) are required, and the description must clear the 100-char minimum in agentic/tests/test_tool_registry_completeness.py, which fails on any unregistered or stub entry. - NEVER forget the dispatch branch for a non-MCP / API tool.
PhaseAwareToolExecutor.execute()at agentic/tools.py:2070 has hardcodedif/elifdispatch. A Type D (API) tool or an MCP tool needing key injection MUST add anelif; without it the tool is registered but never dispatched. MCP tools with no key injection go through theelsebranch automatically. - NEVER edit
execute_tool_node.pywithout mirroring it inexecute_plan_node.py. execute_tool_node.py (single tool) and execute_plan_node.py (parallel plans) duplicate long-running detection and session/listener handlers. Update one only and the tool works interactively but silently misbehaves in parallel plan execution. - NEVER rely on the Prisma default to reach existing projects. The
agentToolPhaseMapdefault applies to NEW projects only. Existing projects need a jsonbUPDATEor the agent never sees the tool there. Seeproject-settings-cascade. - ALWAYS add the tool to
TOOL_PHASE_MAPin agentic/project_settings.py. If it sends attack traffic: also add it toDANGEROUS_TOOLS(frozenset, project_settings.py:22), a per-tool section in agentic/prompts/stealth_rules.py, and the right list inCATEGORY_TOOL_MAP(_check_roe_blocked, execute_plan_node.py:47).
Pick the integration type (simplest that fits)
| Type | Use when | Core files beyond the registry |
| A kali_shell | tool is in Kali, 300s timeout OK, no parsing | Dockerfile + kali_shell description only (no registry entry) |
| B MCP tool on existing server | CLI tool, custom timeout/parsing, fire-and-forget | @mcp.tool() in an existing mcp/servers/*.py (auto-discovered) |
| C new MCP server | stateful/interactive, own port | new mcp/servers/*_server.py + SERVERS in run_servers.py + URL in MCPToolsManager |
| D API/HTTP tool | external API, key-gated | ToolManager class + elif dispatch in tools.py + orchestrator key hot-reload |
Naming is uniform across every layer: MCP fn / registry key / phase-map key =
execute_<tool>; Prisma field camelCase; Python setting SCREAMING_SNAKE; DB
column snake_case via @map().
Commands
docker compose build agent && docker compose up -d agent # mandatory: agentic/ is baked
docker compose exec webapp npx prisma db push # if you added a Prisma field (NEVER prisma migrate)
./agentic/run_tests.sh # gate; includes the registry completeness testResources
- docs/readmes/coding_agent_prompts/PROMPT.ADD_AGENTIC_TOOL.md - the full per-type file checklist and worked references
- Related skills:
project-settings-cascade,builtin-agent-skill,recon-tool-integration
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

