# Repository Briefing: N1nEmAn/sapper-v2
> Source: https://repoforai.com/repo/N1nEmAn/sapper-v2 (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/N1nEmAn/sapper-v2
- **Official Docs / Website**: https://github.com/N1nEmAn/nvwabase
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (94/100 · Maintenance 31/35 · Adoption 23/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v18-champion (2026-11-01) — https://github.com/N1nEmAn/sapper-v2/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI, Docker, Self-Hosted
- **Momentum**: 2,868 ★ total (+14 24h / +202 7d) · 1,401 forks
- **Topics**: `agentic-workflows`, `ai-agents`, `ai-security`, `autonomous-agents`, `claude-code`, `ctf`, `cybersecurity`, `fact-graph`, `llm`, `multi-agent`, `pentest`, `swarm-intelligence`
- **When to Use**: Best for: Studying long-running multi-agent coordination, especially evidence-backed handoffs and process recovery, or evaluating nvwabase for benign internal workflows. Skip if: You need deterministic execution, verified MCP integration, fully offline inference, or a production service that runs independently of the competition platform out of the box.

## Overview
```text
### Architecture & Core Mechanics
sapper-v2 separates coordination, execution, and recovery. A commander reads a shared board and assigns work to role-based agents in tmux panes. A scripted watchdog handles process recovery and session shutdown without making task decisions. Session creation and message delivery use interactive terminal input, making the operating boundary a CLI rather than a model-specific SDK.

The Nüwa Foundation (nvwabase) supplies the persistent fact–intent graph. Facts are organized into title, summary, and evidence-document layers, and proposed work can be linked back to the observations that prompted it. This separates handoff state from individual chat sessions and lets agents consult evidence selectively. The CLI uses only the Python standard library; an MCP interface is not established by the supplied repository details.

### Key Capabilities & Differentiators
The most transferable feature is continuity across agent turnover: a replacement session can pick up from recorded findings, pending work, and handoff notes instead of replaying its predecessor’s conversation. The runtime separates supervisory decisions from worker execution and supports different models by role. The competition configuration used GLM-5.3 and DeepSeek V4.1 Flash, while Claude Code was the packaged interactive CLI.

The v18-champion release records an 80.18/100 score, 85 flags, and roughly 1 billion tokens in an eight-hour online qualifier run; the runner-up recorded the same flag count and roughly 4.5 billion tokens. That is one competition result, not a controlled comparison of orchestration overhead, model tiers, or reliability on other workloads.

### Trade-offs & Limitations
Compared with a conventional DAG or queue-based workflow engine, model-led scheduling can redirect work as findings change, but its decisions are less predictable. tmux makes sessions directly inspectable and accommodates interactive CLIs, at the cost of relying on terminal behavior rather than a typed worker contract. A watchdog can restore a process; it does not establish that work is idempotent or safe to replay.

The evidence hierarchy can save context and make disputed findings easier to inspect, but persistence does not make an erroneous observation true. Treat recorded conclusions as reviewable, not authoritative. The repository is MIT-licensed and includes an authorized-testing disclaimer; the proposed taggant is not an implemented control. For general orchestration, nvwabase is a cleaner baseline because it omits the competition doctrine.

### Hardware & Deployment Guide
The lightweight footprint is the Python standard-library CLI. The multi-agent runtime additionally uses tmux and interactive agent CLIs. The v18-champion release adds an approximately 1.2 GB Docker image with the fuller Kali toolchain, Claude Code, the sapper CLI, and a 63-entry offline knowledge base. The knowledge base is available offline; that does not make gateway-backed inference offline.

The packaged runtime validates a competition platform API at startup, so it is not a standalone, general-purpose service. No fixed CPU, RAM, or GPU sizing is established. With external inference, host sizing is driven by concurrent sessions, tool processes, and workspace storage; model capacity and cost are separate. For benign internal workflows, evaluate nvwabase separately and verify what workspace content reaches any external model service.
```

## Key Capabilities
```text
- Shared memory: Titles, summaries, and evidence documents give agents three levels of detail for the same finding.
- Task provenance: Fact–intent links preserve the observation that motivated a proposed unit of work.
- Coordination: tmux hosts interactive role sessions, while the shared board provides a separate record of progress.
- Recovery: A strategy-free watchdog restarts the commander; the graph retains context outside the process session.
- Runtime footprint: The Python CLI is standard-library-only, while the packaged competition runtime is approximately 1.2 GB.
- Portability: nvwabase retains the coordination primitives without the competition doctrine.
```

## Quick Start / Clone
```bash
# Option A: build from source
docker build -f docker/Dockerfile.commander -t sapper:latest .

# Option B: download the pre-built image (~1.2GB, full Kali toolchain + sapper + offline KB)
# → [Release v18-champion](https://github.com/N1nEmAn/sapper-v2/releases/tag/v18-champion)
docker load < sapper-v18-mixed.tar.gz
```
