Agentic Context Engine is an open-source engine that gives AI agents a persistent learning loop, helping them remember successful strategies and learn from failures across sessions. It is used to improve production agents, and also powers Kayba’s hosted service. Catalogue add-ons support workflows for operating and configuring the engine.
Borrowing it
Nothing to install: this file belongs to kayba-ai/agentic-context-engine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kayba-ai/agentic-context-engine/main/.claude/commands/benchmark.mdgit clone --depth 1 https://github.com/kayba-ai/agentic-context-engineWrote 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/commands/kayba-ai/agentic-context-engine/benchmark)<a href="https://agentmods.dev/commands/kayba-ai/agentic-context-engine/benchmark"><img src="https://agentmods.dev/badge/commands/kayba-ai/agentic-context-engine/benchmark/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/commands/kayba-ai/agentic-context-engine/benchmark"><img src="https://agentmods.dev/badge/commands/kayba-ai/agentic-context-engine/benchmark.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.00000 | $0.00616 |
| Opus 5.5 | $0.00000 | $0.00246 |
| Sonnet 5.5 | $0.00000 | $0.00123 |
| Haiku 4.5 | $0.00000 | $0.00062 |
Grade A, and why
benchmark 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 2mo 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.
What it actually says
Run a TAU-bench evaluation end-to-end and present results.
Syntax: /benchmark <config> [mode] [extra-args]
Arguments:
config(from $ARGUMENTS, first word) — profile name:haiku,sonnet,gpt4.1-mini,gpt4.1,fast,defaultmode(from $ARGUMENTS, second word, optional) —baseline(default),compare, orace-onlyextra-args(from $ARGUMENTS, remaining words) — forwarded verbatim to the CLI
Workflow:
-
Parse arguments from
$ARGUMENTS:- Split into:
config(first word),mode(second word if it matches baseline/compare/ace-only, else default to baseline), andextra-args(the rest)
- Split into:
-
Build the command:
uv run python scripts/run_tau_benchmark.py --config <config> --save-detailed <mode-flag> <extra-args>Mode flags:
baseline→--skip-acecompare→--compareace-only→ (no flag)
-
Show the command to the user before running
-
Run the command with a 10-minute timeout (TAU-bench runs are long)
-
Find the latest result: list
tau_benchmark_results/sorted by modification time, pick the newest*_summary.json -
Read the summary JSON and present results using this format:
For baseline runs:
## <Mode>: <Model Short Name> — <Domain> (test split, k=<k>) | Setting | Value | |---------|-------| | Model | <exact model id> | | User LLM | <user_llm> | | Domain | <domain> | | Split | <split> (<N> tasks) | | Max steps | <max_steps> | | Seed | <seed> | | Metric | Score | |--------|-------| | pass^1 | XX.XX% | | pass^2 | XX.XX% | | ... | ... |For comparison runs, add Baseline / ACE / Delta columns.
Examples:
/benchmark haiku→ baseline haiku run/benchmark haiku compare→ baseline vs ACE comparison/benchmark fast→ quick smoke test (3 tasks, k=1)/benchmark sonnet compare --domain retail→ sonnet comparison on retail
Key fields to always include in the results table: exact model ID, user LLM, domain, split + task count, skillbook status, and all pass^k metrics.
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.
- 2mo ago First seen · 62 lines · 0 tokens per session scan A 5e6ef464b104
benchmark is a command published in the GitHub repository kayba-ai/agentic-context-engine (2,608 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 616 tokens. 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-08-30.
benchmark compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| benchmarkkayba-ai/agentic-context-engine | Command | 2.6k | 1mo ago | Apache-2.0 | A | 0 | Claude Code |
| test-cardsstripe/ai | Command | 2.0k | yesterday | MIT | A | 9 | Claude Code |
| checkLarens94/codedna | Command | 151 | 13d ago | MIT | A | 15 | Claude Code |
| dream-applyconorbronsdon/agent-memory-kit | Command | 2 | 1mo ago | MIT | A | 20 | Claude Code |
| endconorbronsdon/agent-memory-kit | Command | 2 | 1mo ago | MIT | A | 14 | Claude Code |
| dreamconorbronsdon/agent-memory-kit | Command | 2 | 1mo ago | MIT | A | 0 | Claude Code |
| startconorbronsdon/agent-memory-kit | Command | 2 | 1mo ago | MIT | A | 16 | Claude Code |