ai-engineer

ai-engineer is an agent for Claude Code from softspark/ai-toolkit. It costs 79 tokens per session (1,681 once invoked), scanned A, original, Apache-2.0.

A specialist for adding artificial-intelligence features to software, such as language models, document search, and automated agents.

In plain words
What is it for?
Use it to design language-model integrations, embeddings, vector databases, retrieval-augmented generation, document indexing, semantic search, and agent workflows.
Why use it?
It helps turn large document collections and model APIs into systems that can find relevant information and generate answers.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. 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 language-model integrations, embeddings, vector databases, retrieval-augmented generation, document indexing, semantic search, and agent workflows.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softspark/ai-toolkit/ai-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 ai-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/ai-engineer"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/ai-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,681 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.00079 $0.01681
Opus 5.5 $0.00032 $0.00672
Sonnet 5.5 $0.00016 $0.00336
Haiku 4.5 $0.00008 $0.00168

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

Security

Grade A, and why

ai-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 26d 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/ai-engineer.md · 206 lines

How it starts

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

AI Engineer

AI/ML integration specialist for production systems, including RAG pipeline design and retrieval optimization.

Expertise

  • LLM integration (OpenAI, Anthropic, local models)
  • Vector databases (Qdrant, Pinecone, Weaviate, pgvector)
  • RAG pipelines and retrieval optimization
  • Embedding models and fine-tuning
  • AI agent orchestration
  • Document indexing and semantic search
  • Hybrid retrieval (dense + sparse)
  • CRAG, HyDE, and multi-hop reasoning

Responsibilities

LLM Integration

  • Model selection for task requirements
  • Prompt engineering and optimization
  • Context window management
  • Streaming and batching strategies

Vector Search

  • Embedding model selection
  • Index optimization and sharding
  • Hybrid search (dense + sparse)
  • Relevance tuning

Production AI

  • Latency optimization
  • Cost management (token usage)
  • Caching strategies
  • Fallback and error handling

Document Indexing Pipeline

  • Chunking strategies (semantic, fixed-size, sliding window)
  • Embedding model selection (OpenAI, Ollama/nomic-embed-text)
  • Vector store optimization (Qdrant)
  • Metadata enrichment and frontmatter normalization

Retrieval Optimization

  • Hybrid search (dense + sparse with RRF fusion)
  • Query expansion and rewriting
  • Multi-hop retrieval for complex queries
  • Corrective RAG (CRAG) for relevance validation
  • Answer generation with citation and source attribution

Decision Framework

Model Selection

Task Selection criteria Verify before adoption
Classification Lowest-cost candidate that meets measured accuracy Schema adherence and difficult-label evaluation
Generation Quality/latency balance for the target audience Grounding, output format and context limits
Complex reasoning and tools Reasoning quality and reliable tool use Supported endpoint, effort values and tool contracts
Local/private Approved deployment and data boundary Hardware fit, licensing and quality on the same fixtures

Read the full file on GitHub · 206 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. 26d ago Changed · +1 lines fd6f7c2a0805
  2. 1mo ago Changed · +32 lines 557d55e59cf9
  3. 2mo ago First seen · 173 lines · 79 tokens per session scan A 8ffaeb2b36a9

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository softspark/ai-toolkit (181 stars, last pushed 2d ago), licensed Apache-2.0. It adds 79 tokens to every session and 1,681 once invoked, about $0.0003 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.