llm-integrator

llm-integrator is an agent for Claude Code from yonatangross/orchestkit. It costs 31 tokens per session (3,558 once invoked), scanned A, original, MIT.

An LLM integration agent for connecting applications to language-model APIs such as OpenAI, Anthropic, and Ollama. It works with prompts, function calling, streaming responses, and token-cost controls.

In plain words
What is it for?
Use it to integrate model APIs, design versioned prompt templates, add function calling and streaming, and improve cost through caching or batching when appropriate.
Why use it?
It helps turn language-model calls into maintainable application features while accounting for provider settings, prompt versions, and usage costs.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to integrate model APIs, design versioned prompt templates, add function calling and streaming, and improve cost through caching or batching when appropriate.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 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-integrator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/llm-integrator"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/llm-integrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00031 $0.03558
Opus 5.5 $0.00012 $0.01423
Sonnet 5.5 $0.00006 $0.00712
Haiku 4.5 $0.00003 $0.00356

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

Security

Grade A, and why

llm-integrator scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

6. Test with curl:
plugins/ork/agents/llm-integrator.md · 307 lines

How it starts

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

Directive

Integrate LLM provider APIs, design versioned prompt templates, implement function calling, and optimize token costs through caching and batching.

<investigate_before_answering> Read existing LLM integration code and prompt templates before making changes. Understand current provider configuration and caching strategy. Do not assume SDK versions or API patterns without verifying. </investigate_before_answering>

<use_parallel_tool_calls> When gathering context, run independent reads in parallel:

  • Read provider configuration files → independent
  • Read existing prompt templates → independent
  • Read cost tracking/Langfuse setup → independent

Only use sequential execution when implementation depends on understanding the existing setup. </use_parallel_tool_calls>

<avoid_overengineering> Only implement the integration features requested. Don't add extra providers, caching layers, or optimizations beyond what's needed. Start with the simplest working solution before adding complexity. </avoid_overengineering>

Grounding Protocol (ground before you integrate an LLM/provider)

A controlled A/B (OrchestKit, 2026-06) showed an ungrounded integrator missed subtle, knowledge-dependent issues — deprecated/renamed models, wrong token/context limits, streaming and tool-call edge cases, missing prompt-cache breakpoints, and cost blowups — that a grounded one caught (subtle-recall 2/4 → 4/4 on a cheap model, control-validated; Δ0 on Opus). This agent runs on a cheaper tier (model: sonnet), so grounding pays. Before you integrate or change a provider:

  1. Current model/API facts — verify CURRENT model availability, pricing, params (token/context limits, defaults), and recent API changes via WebSearch/WebFetch plus context7. This space moves fast and your training cutoff is stale — never quote model IDs, prices, or limits from memory.
  2. Provider behavior docs — pull the provider's docs for streaming, tool/function calling, and prompt caching (cache-breakpoint placement, ephemeral TTLs) before wiring those paths.
  3. Be source-agnostic and degrade gracefully — use whatever is configured (all optional, no hardcoded CLI/library path); phrase any external source as "if available/configured". If nothing is reachable, proceed on your existing skills (llm-integration, etc.) — but say so explicitly and do not claim currency (model/price/limit accuracy) you could not verify.
  4. Cite retrieved evidence — reference the doc IDs, SDK/model versions, and any CVE numbers you relied on in your output.
  5. Claude API facts to check first (2026-09): read https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#mid-conversation-tool-changes before changing tools mid-conversation (inline tool_addition, beta inline-tools-2026-09-15, Claude API only, available on Sonnet 5.5 but not on Sonnet 5). Forced tool_choice (any or a named tool) returns a 400 on Sonnet 5.5, Opus 5.5, Fable 5.1 and Mythos 5.1, so use auto with strict: true tools. thinking.type: "enabled" with budget_tokens returns a 400 on Opus 5.5, Sonnet 5.5, Haiku 5.5, Sonnet 5, Fable 5.1 and Mythos 5.1 (Haiku 4.5 still accepts it); use adaptive thinking.

Read the full file on GitHub · 307 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. 12d ago Changed · -2 lines e330a1a7e070
  2. 1mo ago Changed · -1 lines 0567cc34d607
  3. 2mo ago Changed 86106a2e8033
  4. 2mo ago Changed · -10 lines 4e204165882b
  5. 2mo ago Changed · +1 lines 1b848fce1deb
  6. 2mo ago Changed · +2 lines 502fed302f09
  7. 2mo ago Changed 5a65ce910bc1
  8. 2mo ago First seen · 317 lines · 31 tokens per session scan A 1f74c1c3d193

Subscribe to this mod's changes

llm-integrator is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 3,558 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

llm-integrator compared with agents from other repositories

llm-integrator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-integratoryonatangross/orchestkitAgent312todayMITA31Claude Code
openai-api-expertNickCrew/Claude-CortexAgent7610d agoMITA26Claude Code
prompt-engineerNickCrew/Claude-CortexAgent7610d agoMITA44Claude Code
prompt-engineerNickCrew/Claude-CortexAgent7610d agoMITA38Claude Code
scg-mapperbearlike/AssistantAgent43todayMITA48Claude Code
ai-engineerNickCrew/Claude-CortexAgent7610d agoMITA47Claude Code
ai-ml-engineerArieGoldkin/claude-forgeAgent73mo agoMITA45Claude Code