ai-engineer

ai-engineer is an agent for coding agents from EngineerWithAI/engineerwith-agents. It costs 58 tokens per session (1,650 once invoked), scanned A, original, MIT.

Build production-ready LLM applications, advanced RAG systems, and intelligent agents. Implements vector search, multimodal AI, agent orchestration, and enterprise AI integrations. Use PROACTIVELY for LLM features, chatbots, AI agents, or AI-powered applications.

Agent

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/engineerwithai/engineerwith-agents/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/EngineerWithAI/engineerwith-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/engineerwithai/engineerwith-agents/ai-engineer.svg)](https://agentmods.dev/agents/engineerwithai/engineerwith-agents/ai-engineer)
Your own site
<a href="https://agentmods.dev/agents/engineerwithai/engineerwith-agents/ai-engineer"><img src="https://agentmods.dev/badge/agents/engineerwithai/engineerwith-agents/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,650 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00058 $0.01650
Opus 5 $0.00029 $0.00825
Sonnet 5 $0.00012 $0.00330
Haiku 4.5 $0.00006 $0.00165

Measured today against content hash 10421b310421, 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 today.

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/llm-application-dev/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. today First seen · 143 lines · 58 tokens per session scan A 10421b310421

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository EngineerWithAI/engineerwith-agents (4 stars, last pushed 7mo ago), licensed MIT. It adds 58 tokens to every session and 1,650 once invoked, about $0.0003 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-09-03.