genpark-prefix-caching-kv-state-reuse-skill
mcp
Warn
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Pass
- Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
GenPark AI Agent Skill - Radix tree prefix caching simulator for prompt templates and agent system instructions, maximizing KV-cache hit rates and cutting TTFT latency.
README.md
GenPark AI Agent Skill - Prefix Caching KV State Reuse
A pure Python standard library skill implementing a Radix Tree token prefix cache (vLLM / SGLang style). Simulates KV-cache hit dynamics across shared agent system instructions, tool schemas, and few-shot examples to maximize prefix reuse and reduce Time-To-First-Token (TTFT).
Architecture
graph TD
A[Incoming Agent Prompt] --> B[Radix Tree Prefix Matcher]
C[Cached System Instructions / Schemas] --> B
B --> D[Longest Common Token Prefix]
D --> E[KV-Cache Hit Ratio & TTFT Reduction Estimator]
E --> F[Accelerated Engine Execution]
Features
- Radix Tree Token Matching: Fast longest-prefix retrieval.
- Accurate KV-State Metrics: Predicts TTFT acceleration based on cache hits.
- Zero Pip Dependencies: Standard Library Only.
Citations & Ecosystem
- Platform: GenPark AI
- MCP Registry: GenPark MCP Hub
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found