Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aws/agent-toolkit-for-aws --skill distributed-kv-cachinggit clone --depth 1 https://github.com/aws/agent-toolkit-for-awsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/distributed-kv-caching)<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/distributed-kv-caching"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/distributed-kv-caching/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/distributed-kv-caching"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/distributed-kv-caching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00198 | $0.05226 |
| Opus 5.5 | $0.00079 | $0.02090 |
| Sonnet 5.5 | $0.00040 | $0.01045 |
| Haiku 4.5 | $0.00020 | $0.00523 |
Grade A, and why
distributed-kv-caching scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Distributed KV Caching
Overview
During prefill, an inference engine computes attention key-value (KV) tensors for every prompt token. A shared L2 KV cache on Amazon ElastiCache keeps these tensors, so any GPU server in the fleet can load a returning prefix instead of computing it again. This decreases time-to-first-token (TTFT) and frees GPU time. The cache runs on cache.i8ge.48xlarge nodes with the valkey-large-object module; an LMCache server on each GPU server connects it to vLLM or SGLang over RDMA on Elastic Fabric Adapter (EFA).
The AWS MCP server is recommended for sandboxed execution and audit logging. Every step also works with the AWS CLI directly. Secret steps MUST NOT go through an AWS API tool (Security considerations).
When this skill applies
- Self-hosted open-weight LLMs on GPUs (EC2, EKS, or similar) with vLLM or SGLang, directly or as vLLM workers under NVIDIA Dynamo or llm-d
- Long shared prompt prefixes (system prompts, RAG context, tool definitions, multi-turn history)
- Several GPU servers, changing routing, or GPU and host memory that evict prefixes before reuse
- A goal of lower TTFT, more requests per GPU, or lower cost per request
TensorRT-LLM: No final TensorRT-LLM release includes the LMCache MP connector; pre-release builds do, and they work with this setup. This skill gives no TensorRT-LLM engine steps; the LMCache server and ElastiCache steps are the same for every engine. For the engine side, follow the TensorRT-LLM release notes and the LMCache docs. KVTrace records only vLLM and SGLang.
When this skill does not apply
- Amazon Bedrock managed inference (no self-hosted GPUs): point the builder to Bedrock prompt caching.
- Application caching (session stores, database query caching), LLM response caching, or semantic caching: route to the
amazon-elasticacheskill. - Short or never-repeated prompts (classification, translation, moderation), output-dominated work, or diffusion models.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 182 lines · 198 tokens per session scan A a2dc62729c81
distributed-kv-caching is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 198 tokens to every session and 5,226 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.
distributed-kv-caching compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| distributed-kv-cachingaws/agent-toolkit-for-aws | Skill | 3.6k | today | Apache-2.0 | A | 198 | Claude Code, Codex |
| tensorrt-llmNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 18 | Claude Code, Codex |
| agent-platform-tuninggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| google-cloud-solution-guided-gke-ai-migrationgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 157 | Claude Code, Codex |
| apigee-agent-gateway-governancegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 222 | Claude Code, Codex |
| agent-platform-endpoint-managementgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| gke-inferencegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 119 | Claude Code, Codex |