Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
context-segmentation — 로컬 AI 에이전트의 장기 작업을 위한 멀티 에이전트 자동 컨텍스트 관리 | Kitploit
도구/GitHubGitHub/9xeb/context-segmentation
CTFMachine LearningPapers & ResearchLearning & EducationAI SecurityLabs & Practice
GitHub9xeb/context-segmentation

context-segmentation

로컬 AI 에이전트의 장기 작업을 위한 멀티 에이전트 자동 컨텍스트 관리

저장소 보기
12개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

SLM 에이전트를 위한 컨텍스트 세분화

이것은 과학 논문 Evaluating Context Segmentation in Locally Deployable SLMs for Cybersecurity CTF Tasks에서 제안된 솔루션의 구현입니다.

설정

Python 3.12.3+와 Docker 엔진이 설치되어 있는지 확인하세요.

Python 환경

root@kitploit:~
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

llama.cpp

Vulkan으로 llama.cpp 시작

root@kitploit:~
docker compose --profile vulkan up -d

또는 Cuda로

root@kitploit:~
docker compose --profile cuda up -d

모델 및 컨테이너 빌드

HuggingFace에서 원하는 대규모 언어 모델(LLM)을 GGUF 형식으로 다운로드한 다음, intercode-ctf 컨테이너를 빌드하세요.

root@kitploit:~
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

벤치마크 실행

전략(plain 또는 explorer)의 N개 벤치마크를 실행합니다

이는 결과를 $MODEL_NAME.$STRATEGY.bench 파일에 누적합니다

root@kitploit:~
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

벤치마크 결과 확인

root@kitploit:~
jq '.' gemma-4-E2b-it-GGUF:Q4_K_M.plain.bench

비고

intercode 디렉터리의 코드는 princeton-nlp/intercode에서 가져와 우리 설정에 맞게 조정되었습니다.

도구 다운로드