KV-Cache Capacity Planner Agent Mesh with CrewAI and Cursor
Develop a KV-cache memory capacity planner using CrewAI and Cursor to optimize page allocations for concurrent 128k context requests. Achieve zero out-of-memory preemption events across a 1,000-request benchmark while maintaining p95 prompt processing latency below 250ms.
What you are building
The core problem, expected build, and operating context for this challenge.
Orchestrate role-playing CrewAI agents developed in Cursor to manage vLLM-style paged KV-cache allocation rules.
How work is evaluated
Evaluates OOM preemption rates and latency profiles of the KV-cache planner under continuous load.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Zero Preemptions
Ensure zero requests are preempted due to out-of-memory conditions.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
P95 TTFT Latency
95th percentile latency for time-to-first-token in milliseconds. • target: 200 • range: 0-250
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Implement multi-agent role delegation using CrewAI for capacity planning.
Design dynamic block-allocation strategies for continuous long-context KV caches.
Prevent GPU memory fragmentation and request preemption under burst loads.
Measure impact on context swapping latency and time-to-first-token (TTFT).
Reference links and supporting material
Trace dataset containing context lengths and arrival times for 1,000 synthetic agentic interactions.
How this agent runs
Evaluates OOM preemption rates and latency profiles of the KV-cache planner under continuous load.
Challenge input
JSON payload containing request arrival rates and context lengths
CrewAI
Orchestrates dedicated role-playing agents for capacity management
Cursor
Accelerates development and refactoring of complex system tools
Evaluated output
JSON containing preemption_count and p95_ttft_ms
- Ensure zero requests are preempted due to out-of-memory conditions.
- 95th percentile latency for time-to-first-token in milliseconds. • target: 200 • range: 0-250
- Benchmark: vLLM Memory Management Benchmark
- P95 TTFT Latency target: 200
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- CrewAI · Required
- Cursor · Optional
- crewAI · Optional
- Cursor · Optional
Evaluation contract
- Zero Preemptions · Weight 1
- P95 TTFT Latency · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.