ai-engineer · qdhenry — Claude Code subagent: what it does, how to install
ai-engineer designs RAG pipelines, configures vector databases, and writes agent workflows for LLM applications. Built for developers adding AI features.
no license ★ 1,357 updated 2026-03-01
.claude/agents/ai-engineer.mdWhat ai-engineer does
Running on the Sonnet model, this subagent handles the mechanics of building LLM-driven software. It designs vector retrieval pipelines, configures databases like Pinecone, Weaviate, or Chroma, and connects models from OpenAI, Anthropic, or Google. The agent follows an iterative approach, enforcing structured outputs like JSON and writing tests alongside application code.
It relies on built-in editing tools alongside two dedicated MCP connections. The subagent queries context7 to inspect framework documentation and uses sequential-thinking to reason through multi-step architectures. Missing MCP servers will limit its research and planning abilities.
What it helps with
- design a RAG architecture with vector retrieval
- connect LLM APIs from Anthropic, OpenAI, or Google
- set up multi-agent workflows using LangChain or LangGraph
- reduce token usage across prompt pipelines
Example prompts for the agent
- Set up a retrieval pipeline using Chroma for product documentation.
- Implement API error handling and retries for Anthropic completions.
- Build a structured JSON extractor with a reusable prompt template.
How to install ai-engineer
Manually: put the files in place
.claude/agents/ai-engineer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/ai-engineer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/ai-engineer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about ai-engineer
How do I install ai-engineer in Claude Code?
Add the agent definition file to your project directory at .claude/agents/ai-engineer.md.
What does the ai-engineer subagent do?
It assists with RAG architectures, prompt templates, vector database setups, and multi-agent workflows for production LLM apps.
Which MCP servers does ai-engineer require?
The configuration references context7 for fetching framework docs and sequential-thinking for step-by-step architectural planning.
Similar subagents
All subagents for AI and ML →ai-engineer by other authors comes first.