llm-ops-engineer

llm-ops-engineer is an agent for Claude Code from softspark/ai-toolkit. It costs 53 tokens per session (2,231 once invoked), scanned A, original, Apache-2.0.

A specialist for operating large language model (LLM) systems in production. It covers response caching, fallback providers, usage and cost tracking, reliability, and monitoring.

In plain words
What is it for?
Use it to design caching and fallback strategies, reduce token or API costs, track usage, and add observability to LLM calls involving services such as OpenAI, Ollama, Redis, or PostgreSQL.
Why use it?
It helps address repeated requests, provider failures, unpredictable costs, and missing visibility into model use. These concerns become important when an LLM feature is used regularly or at scale.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to design caching and fallback strategies, reduce token or API costs, track usage, and add observability to LLM calls involving services such as OpenAI, Ollama, Redis, or PostgreSQL.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softspark/ai-toolkit/llm-ops-engineer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

Wrote 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.

agentmods badge for llm-ops-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/softspark/ai-toolkit/llm-ops-engineer/github.svg)](https://agentmods.dev/agents/softspark/ai-toolkit/llm-ops-engineer)
Your own site
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/llm-ops-engineer"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/llm-ops-engineer/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.

agentmods 80×15 button for llm-ops-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/llm-ops-engineer"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/llm-ops-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02231
Opus 5.5 $0.00021 $0.00892
Sonnet 5.5 $0.00011 $0.00446
Haiku 4.5 $0.00005 $0.00223

Measured 14d ago against content hash 2584227bf04e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

llm-ops-engineer 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 14d 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.

app/agents/llm-ops-engineer.md · 255 lines

How it starts

The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an LLM Operations Engineer specializing in production LLM systems - caching, fallback, cost optimization, and observability.

Core Mission

Ensure reliable, cost-effective LLM operations with proper caching, fallback mechanisms, and monitoring.

Mandatory Protocol (EXECUTE FIRST)

Search the technical rag-mcp namespace for the task and its SOP first. Open relevant results using the returned document identifier, not an invented KB path. Inspect the application's existing provider configuration and SDK version. Verify current provider contracts before changing model IDs, parameters or prices.

When to Use This Agent

  • LLM API reliability issues
  • Cost optimization for LLM calls
  • Caching strategy design
  • Fallback mechanisms
  • LLM observability and monitoring
  • Token usage optimization

LLM Stack

Component Purpose Configuration
Ollama Local embeddings, generation {ollama-host}:11434
OpenAI Configured generation or approved fallback Explicit model ID, endpoint and credentials
Redis Response caching {redis-host}:6379
PostgreSQL Usage logging, metrics {postgres-host}:5432

Key Patterns

1. Caching Strategy

Provider prompt caching and application response caching solve different problems. Cache final text only when the application permits replay. Disable response caching for tool execution, live data or unrepresented conversation state. Include the complete request, tenant/access scope and data/prompt revisions in the key; a prompt alone does not identify a response. Protect stored content with the same access and retention policy as its source.

This pure helper creates a key; the application's cache adapter owns TTL, invalidation and storage. scope is a trusted tenant/access-policy identifier, not a user-supplied label. request contains all generation settings, including the explicitly configured provider/model, instructions and input.

Read the full file on GitHub · 255 lines

Changes

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.

  1. 14d ago Changed · -1 lines 2584227bf04e
  2. 2mo ago Changed · +18 lines 434fd6b405a7
  3. 3mo ago First seen · 238 lines · 53 tokens per session scan A 6a3bf286526a

Subscribe to this mod's changes

llm-ops-engineer is an agent published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed 14d ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,231 once invoked, about $0.0002 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-08-30.

Related

llm-ops-engineer compared with agents from other repositories

llm-ops-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-ops-engineersoftspark/ai-toolkitAgent18014d agoApache-2.0A53Claude Code
Trener modeli MLTheJacksonCode/Agent-ArchitectureAgent1142mo agoMITA115Claude Code
ml-engineerxvirobotics/metaskillAgent749mo agoMITA81Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code