Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
context-segmentation — Multi-agent automated context management for long horizon tasks in local AI Agents | Kitploit
Tools/GitHubGitHub/9xeb/context-segmentation
CTFMachine LearningPapers & ResearchLearning & EducationAI SecurityLabs & Practice
GitHub9xeb/context-segmentation

context-segmentation

Multi-agent automated context management for long horizon tasks in local AI Agents

View Repository
1444 months agoNot yet reviewed
Share

Context Segmentation for SLM Agents

This is the implementation of the solution proposed in the scientific paper: Evaluating Context Segmentation in Locally Deployable SLMs for Cybersecurity CTF Tasks

Setup

Ensure you have Python 3.12.3+ installed along with Docker engine

Python environment

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

llama.cpp

Start llama.cpp with Vulkan

docker compose --profile vulkan up -d

or with Cuda

docker compose --profile cuda up -d

Build Models and Containers

Download your desired Large Language Model (LLM) in GGUF format from HuggingFace, then build the intercode-ctf containers.

docker exec -it llamacpp ./llama-cli -hf unsloth/gemma-4-E2B-it-GGUF:Q4_K_M  # or any other GGUF model on HF
docker build -t intercode-ctf -f intercode/docker/ctf.Dockerfile ./intercode
docker restart llamacpp

Run benchmark

Run N benchmarks of a strategy (plain or explorer)

This accumulates results into a $MODEL_NAME.$STRATEGY.bench file

OPENAI_API_BASE=http://127.0.0.1:8080/ \
OPENAI_API_KEY=1234 \ #Mock key (we run locally)
python3 intercode_test.py \
  --model unsloth/gemma-4-E2B-it-GGUF:Q4_K_M \ #HF model
  --strategy plain \ #plain or explorer
  --count 1 #N

Check benchmark results

jq '.' gemma-4-E2b-it-GGUF:Q4_K_M.plain.bench

Remarks

Code in the directory intercode was taken from princeton-nlp/intercode and adjusted to make it work for our setup.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    732
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    405
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    261
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →