agent-smith

by 0x0pointerVerified

"Never send a human to do a machine's job" - Open Source AI hacking agent

106
Stars
10
Forks
Python
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/0x0pointer/agent-smith

Getting Started

Guides for using skills like agent-smith.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

nullpointer.studio

agent-smith

Quality Gate Status Bugs Coverage

The pentest framework built for the tester who wants to think, not babysit. You bring the expertise. agent-smith brings 50+ tools, the methodology, and the execution — and the two of you close findings that neither could reach alone.

⚠️ Authorized testing only. Use against systems you own or have explicit written permission to test. Unauthorized access is illegal.

agent-smith running a full /pentester scan from recon through reporting


Why agent-smith

  • 🧠 The LLM is the brain, not a payload library. Skills teach methodology; the LLM invents the actual attacks. No two scans look 100% alike.
  • 🔗 Skills chain themselves. /pentester finds an injection point and pivots into /web-exploit; /codebase finds an LLM call site and pivots into /ai-redteam. The agent decides what runs next based on what it just found.
  • 🛠 Bring your own LLM. Claude Code, OpenAI Codex, OpenCode (any provider — OpenAI, Gemini, Ollama, OpenRouter, local models), or any MCP-capable client. Smith auto-scales its context budget to small / local models, so it even runs fully local on your own GPU — no API bills, nothing leaving your network. (setup →)
  • 📦 End-to-end deliverables. Findings, PoCs (Burp-ready .http files), threat models, code patches, GitHub issues, and CVE submission packages — all generated for you.
  • 🐳 Sandboxed by default. Every scanner runs inside an ephemeral Docker container. Hard cost / time / call-count limits enforced server-side.
  • 🔍 Depth enforcement. A background QA daemon watches Smith and pushes it to go deeper — catching stalls, premature completion, and shortcut behaviour, escalating to you when it's genuinely stuck. (details →)
  • 🧪 Evidence, not guesses. Every finding is artifact-backed and passes a senior-review adjudication gate. Blind vulns are confirmed out-of-band via a callback server; multi-step attacks are recorded as proven exploit chains; white-box findings carry a source trace whose file:line is resolved against the repo — a hallucinated location is rejected at the door.
  • 📊 A dashboard built for collaboration. Watch findings, topology, coverage, and the threat model populate in real time at localhost:7777 — and steer Smith mid-scan, respond to intervention pauses, and fulfill its resource wishlist. (API →)

The new way: skills as pattern teachings

Most pentest automation ships a giant payload library and runs it linearly. agent-smith does the opposite. Skills are not scripts — they are prompts that teach the LLM a way of thinking. A skill describes the vulnerability class, the surface area, the verification logic, and the chaining rules, then leaves the actual attacks to the model.

Traditional security toolsagent-smith
Fixed payload listLLM-generated payloads, contextual to each target
One tool per phaseSkills compose — /codebase enriches /pentester, which enriches /post-exploit
Stops at first successKeeps probing until the cost / time / coverage budget is hit
Generates a PDFFindings, PoCs, patches, threat models, coverage matrix, CVE packages, and more
Same scan every timeTwo runs against the same target produce different attack paths

The skills are inspiration. The LLM is the operator.


See it in action

/pentester — full autonomous engagement

pentester running from recon through reporting

Recon → fingerprint → exploit → loot → report. The agent decides every step.

/codebase — white-box ASVS review

codebase skill performing an ASVS 5.0 review

Source → routes → sinks → ASVS chapters → enriched context for every downstream skill.

/ai-redteam — OWASP LLM Top 10 + AITG

ai-redteam executing prompt injection and jailbreak chains

Prompt injection, jailbreaks, model extraction, MCP runtime attacks, and post-access infra checks.

/remediate — auto-generated patches

remediate skill writing fixes for every confirmed finding

For every confirmed finding the agent writes a code or config patch and verifies it doesn't break the build.


What you can do

Drop any of these the moment you start your client. /pentester orchestrates everything; the single-purpose skills give you laser focus.

CommandWhat it does
/pentester scan https://staging.example.com depth=thoroughFull hands-off engagement: OSINT → recon → web-exploit → post-exploit → report
/codebase path=./srcWhite-box OWASP ASVS 5.0 review across 16 chapters / 427 requirements
/analyze-cve lodash 4.17.20 CVE-2021-23337Traces a CVE from user input to sink in your tree, decides if you're exploitable, writes a Burp PoC
/ai-redteam https://your-app.com/api/chat depth=thoroughOWASP LLM Top 10 (2025) + AITG v1 + MCP Top 10 runtime attacks
/request-cvesMITRE CVE form + GHSA draft + disclosure report + vendor email, per qualifying finding
/threat-modelingPASTA + STRIDE — component map, data-flow diagram, attack tree, risk register

💡 35+ skills total — full catalog and chaining map in docs/skills.md.


Two ways to work with Smith

The industry is racing toward full automation. We think that's the wrong finish line.

The best pentests have always been about the interplay between a skilled tester and their tooling — the tester brings context, intuition, and judgment; the tools provide speed, coverage, and consistency. agent-smith is built around that conviction. Autonomous mode exists and it's genuinely powerful, but Augmented mode is where the framework does its best work: Smith handles 50+ parallel tool runs, tracks coverage, and writes the deliverables, while you stay in the loop to redirect scope, respond to intervention pauses, and make the calls that no AI should make alone.

The dashboard isn't a progress bar — it's the collaboration interface.

⭐ Augmented Mode — recommended

A human expert drives the strategy. Smith handles the heavy lifting — running 50+ tools in parallel, tracking coverage, writing the report. You steer via the dashboard: respond to intervention pauses, inject directives, shift scope mid-scan.

Best for: High-value engagements · Complex targets · When expert judgment shapes the approach

claude          # interactive — you steer, Smith executes

Autonomous Mode

Give Smith a target — it runs the full engagement end-to-end with no human input. Returns a report with every finding verified and a working proof-of-concept.

Best for: Continuous testing · CI/CD pipelines · Recurring red-team drills · Self-serve by dev teams

claude -p "/pentester scan https://staging.example.com depth=thorough"

Quick start

RequirementNotes
Docker DesktopMust be running — all scanners are sandboxed
Poetrycurl -sSL https://install.python-poetry.org | python3 -
One LLM clientClaude Code · Codex · OpenCode (BYO LLM) · any MCP client
Node.js v18+Optional — server-side Mermaid pre-rendering
git clone --recursive <repo>
cd agent-smith
./installers/install.sh          # Claude Code  (or install_codex.sh / install_opencode.sh)

⚠️ After install, fully restart your client — the MCP server connects at startup.

Full setup — other clients (Codex, OpenCode, custom MCP), self-hosted local models (vLLM / DGX Spark), Windows / PowerShell, and the optional Kali & Metasploit images → docs/installation.md.

🛡️ Running a real engagement? Smith ingests attacker-controlled data and can run commands, so prompt injection is a design reality — run it in an isolated, disposable VM. See docs/production-isolation.md.


How it works

You (/pentester scan target.com)
  └── Your LLM (Claude / GPT / Gemini / local …)
        └── MCP server (python -m mcp_server)
              ├── Lightweight scanners — docker run --rm (nmap, nuclei, httpx, …)
              ├── Kali container       — persistent kali-mcp (nikto, sqlmap, ffuf, …)
              ├── Metasploit container — exploit validation
              └── FastAPI dashboard    — live findings at localhost:7777

The LLM decides what to run; each tool's output is aggregated and returned to the model, which chooses the next action. Hard cost / time / call-count limits are enforced server-side. Full component diagram, repository layout, and scan deliverables → docs/architecture.md.


Every scan builds training data

Every pentest Smith runs is also a structured, redacted dataset of the engagement — each decision → action → result → finding is captured as a schema-versioned event stream and retained per engagement (with the raw artifacts the model actually saw). It's a byproduct: the capture is passive, read-only, leak-scanned, and never influences the scan (opt out with SMITH_EVENTS_DISABLED=1).

The value compounds: the more pentests you run, the more data you accumulate — and the better the model you can distill from it. Pool the streams into a behaviour-cloning dataset and fine-tune a small open-weight base with QLoRA into a LoRA adapter that runs as Smith locally. Diversity of targets beats raw volume.

docs/training-data.md — what's captured, the safety model, and the exporter + DGX Spark QLoRA harness.


Documentation

Getting started

  • installation.md — every client, self-hosted local models, Windows, optional images

Concepts

  • architecture.md — component diagram, project layout, what a scan produces
  • skills.md — full skill catalog, chaining map, per-skill reference
  • training-data.md — every scan builds a redacted dataset you can distill into a local LoRA adapter

Operating Smith

Reference

Contributing

Adding a new skill? Skills live in a separate repo (github.com/0x0pointer/skills) pulled in as a git submodule. After adding a skill there, update the submodule pointer (git add skills && git commit) and re-run the installer to deploy it.


License

GNU Affero General Public License v3.0 — see LICENSE.

Built for offensive-security professionals. Use it to make the internet safer.

Frequently Asked Questions

What is agent-smith?

agent-smith is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 0x0pointer. "Never send a human to do a machine's job" - Open Source AI hacking agent. It has 106 GitHub stars.

Is agent-smith safe to use?

Yes. agent-smith passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install agent-smith?

Clone the repository with "git clone https://github.com/0x0pointer/agent-smith" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is agent-smith written in?

agent-smith is primarily written in Python. It is open-source under 0x0pointer on GitHub, so you can review or fork the full source.

Are there alternatives to agent-smith?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-smith against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details