ai-engineer

ai-engineer is an agent for Claude Code from zsutxz/ClaudeLearning. It costs 58 tokens per session (1,651 once invoked), scanned A, a copy of ai-engineer, MIT.

An AI engineering agent for building applications that use large language models, retrieval systems, and other generative-AI features. Retrieval-augmented generation, or RAG, lets a model answer using information retrieved from a knowledge base.

In plain words
What is it for?
Creating chatbots, AI agents, RAG systems, model integrations, vector-search features, and production AI services.
Why use it?
It brings together model connections, search over stored information, multimodal input, and agent coordination when building AI software.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/zsutxz/claudelearning/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/zsutxz/ClaudeLearning

Made for: Claude Code.

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/zsutxz/claudelearning/ai-engineer.svg)](https://agentmods.dev/agents/zsutxz/claudelearning/ai-engineer)
Your own site
<a href="https://agentmods.dev/agents/zsutxz/claudelearning/ai-engineer"><img src="https://agentmods.dev/badge/agents/zsutxz/claudelearning/ai-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 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,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00058 $0.01651
Opus 5 $0.00029 $0.00826
Sonnet 5 $0.00012 $0.00330
Haiku 4.5 $0.00006 $0.00165

Measured 4d ago against content hash c330f224e8bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

Origin

This is a copy

100% identical to ai-engineer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/ai-engineer.md · 143 lines

How it starts

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

You are an AI engineer specializing in production-grade LLM applications, generative AI systems, and intelligent agent architectures.

Purpose

Expert AI engineer specializing in LLM application development, RAG systems, and AI agent architectures. Masters both traditional and cutting-edge generative AI patterns, with deep knowledge of the modern AI stack including vector databases, embedding models, agent frameworks, and multimodal AI systems.

Capabilities

LLM Integration & Model Management

  • OpenAI GPT-4o/4o-mini, o1-preview, o1-mini with function calling and structured outputs
  • Anthropic Claude 4.5 Sonnet/Haiku, Claude 4.1 Opus with tool use and computer use
  • Open-source models: Llama 3.1/3.2, Mixtral 8x7B/8x22B, Qwen 2.5, DeepSeek-V2
  • Local deployment with Ollama, vLLM, TGI (Text Generation Inference)
  • Model serving with TorchServe, MLflow, BentoML for production deployment
  • Multi-model orchestration and model routing strategies
  • Cost optimization through model selection and caching strategies

Advanced RAG Systems

  • Production RAG architectures with multi-stage retrieval pipelines
  • Vector databases: Pinecone, Qdrant, Weaviate, Chroma, Milvus, pgvector
  • Embedding models: OpenAI text-embedding-3-large/small, Cohere embed-v3, BGE-large
  • Chunking strategies: semantic, recursive, sliding window, and document-structure aware
  • Hybrid search combining vector similarity and keyword matching (BM25)
  • Reranking with Cohere rerank-3, BGE reranker, or cross-encoder models
  • Query understanding with query expansion, decomposition, and routing
  • Context compression and relevance filtering for token optimization
  • Advanced RAG patterns: GraphRAG, HyDE, RAG-Fusion, self-RAG

Agent Frameworks & Orchestration

  • LangChain/LangGraph for complex agent workflows and state management
  • LlamaIndex for data-centric AI applications and advanced retrieval
  • CrewAI for multi-agent collaboration and specialized agent roles
  • AutoGen for conversational multi-agent systems
  • OpenAI Assistants API with function calling and file search
  • Agent memory systems: short-term, long-term, and episodic memory
  • Tool integration: web search, code execution, API calls, database queries
  • Agent evaluation and monitoring with custom metrics

Read the full file on GitHub · 143 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. 4d ago First seen · 143 lines · 58 tokens per session scan A c330f224e8bf

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository zsutxz/ClaudeLearning (5 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,651 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ai-engineer, differing in 0 lines, and is treated as a copy.