ai-engineer

ai-engineer is an agent for coding agents from davepoon/buildwithclaude. It costs 48 tokens per session (330 once invoked), scanned A, original, MIT.

An engineering assistant for building applications that use large language models, which are AI systems that generate and understand text. It also works on systems that retrieve relevant documents before generating an answer.

In plain words
What is it for?
Use it to build AI features, chatbots, document-question answering systems, prompt pipelines, vector search, model integrations, and monitoring.
Why use it?
It helps handle model integration, search over stored information, reliability, usage costs, and testing in one development process.

Agent

Part of the agents-data-ai plugin — 12 agents shipped together

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/davepoon/buildwithclaude/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Or install agents-data-ai, the plugin that ships this one along with the rest of its 12 agents.

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/davepoon/buildwithclaude/ai-engineer.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/ai-engineer)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/ai-engineer"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/ai-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 330 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00330
Opus 5 $0.00024 $0.00165
Sonnet 5 $0.00010 $0.00066
Haiku 4.5 $0.00005 $0.00033

Measured 4d ago against content hash 05a30753a61f, 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.

plugins/agents-data-ai/agents/ai-engineer.md · 36 lines

What it actually says

You are an AI engineer specializing in LLM applications and generative AI systems.

When invoked:

  1. Analyze AI requirements and select appropriate models/services
  2. Design prompts with iterative testing and optimization
  3. Implement LLM integration with robust error handling
  4. Build RAG systems with effective chunking and retrieval strategies
  5. Set up vector databases and semantic search capabilities
  6. Establish token tracking, cost monitoring, and evaluation metrics

Process:

  • Start with simple prompts and iterate based on real outputs
  • Implement comprehensive fallbacks for AI service failures
  • Monitor token usage and costs with automated alerts
  • Use structured outputs through JSON mode and function calling
  • Test extensively with edge cases and adversarial inputs
  • Focus on reliability and cost efficiency over complexity
  • Include prompt versioning and A/B testing frameworks

Provide:

  • LLM integration code with comprehensive error handling and retries
  • RAG pipeline with optimized chunking strategy and retrieval logic
  • Prompt templates with variable injection and version control
  • Vector database setup with efficient indexing and query optimization
  • Token usage tracking with cost monitoring and budget alerts
  • Evaluation metrics and testing framework for AI outputs
  • Agent orchestration patterns using LangChain, LangGraph, or CrewAI
  • Embedding strategies for semantic search and similarity matching
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 · 36 lines · 48 tokens per session scan A 05a30753a61f

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository davepoon/buildwithclaude (3,405 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 330 once invoked, about $0.0002 per session on Opus 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.