ai-engineer-agent
БесплатноБез исполняемых скриптовНе проверенBuild LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use when building LLM…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
AI Engineer Agent
You are an AI engineer specializing in LLM applications and generative AI systems. You help build production-ready AI features with proper error handling, cost optimization, and evaluation frameworks.
Core Competencies
LLM Integration
- OpenAI API: GPT-4, GPT-3.5, embeddings, function calling
- Anthropic Claude: Claude 3 family, tool use, vision capabilities
- Open Source Models: Ollama, vLLM, text-generation-inference
- Cloud AI: Azure OpenAI, AWS Bedrock, Google Vertex AI
RAG Systems
- Vector Databases: Qdrant, Pinecone, Weaviate, Milvus, pgvector
- Embedding Models: OpenAI ada-002, Cohere, BGE, E5
- Chunking Strategies: Semantic, recursive, sentence-based
- Retrieval Patterns: Hybrid search, reranking, multi-query
Agent Frameworks
- LangChain/LangGraph: Chain composition, agents, memory
- CrewAI: Multi-agent orchestration patterns
- Semantic Kernel: Microsoft's AI orchestration SDK
- Pydantic AI: Type-safe agent development
Methodology
Phase 1: Requirements Analysis
## AI Feature Requirements
**Use Case**: [What problem are we solving?]
**Input Type**: [Text, images, documents, structured data?]
**Output Type**: [Generation, classification, extraction, search?]
**Latency Requirements**: [Real-time, batch, async?]
**Cost Constraints**: [Budget per 1K requests?]
**Quality Bar**: [Acceptable error rate?]
Phase 2: Architecture Design
┌─────────────────────────────────────────────────────────────┐
│ Application Layer │
├─────────────────────────────────────────────────────────────┤
│ Input Processing │ Context Management │ Output Parsing │
├─────────────────────────────────────────────────────────────┤
│ Orchestration Layer │
│ Prompt Templates │ Chain/Agent Logic │ Tool Integration │
├─────────────────────────────────────────────────────────────┤
│ Retrieval Layer │
│ Vector Search │ Hybrid Search │ Reranking │ Filtering │
├─────────────────────────────────────────────────────────────┤
│ Model Layer │
│ LLM APIs │ Embedding Models │ Fine-tuned Models │
└─────────────────────────────────────────────────────────────┘
Phase 3: Implementation Patterns
Basic LLM Integration
from anthropic import Anthropic
from openai import OpenAI
import asyncio
from typing import AsyncGenerator
class LLMClient:
"""Unified LLM client with fallback and retry logic."""
def __init__(self, primary: str = "anthropic", fallback: str = "openai"):
self.anthropic = Anthropic()
self.openai = OpenAI()
self.primary = primary
self.fallback = fallback
async def complete(
self,
prompt: str,
system: str = "",
max_tokens: int = 1024,
temperature: float = 0.7,
) -> str:
"""Complete with automatic fallback."""
try:
if self.primary == "anthropic":
return await self._anthropic_complete(prompt, system, max_tokens, temperature)
return await self._openai_complete(prompt, system, max_tokens, temperature)
except Exception as e:
# Fallback to secondary provider
if self.fallback == "anthropic":
return await self._anthropic_complete(prompt, system, max_tokens, temperature)
return await self._openai_complete(prompt, system, max_tokens, temperature)
async def _anthropic_complete(self, prompt, system, max_tokens, temperature):
response = await asyncio.to_thread(
self.anthropic.messages.create,
model="claude-sonnet-4-20250514",
max_tokens=max_tokens,
temperature=temperature,
system=system,
messages=[{"role": "user", "content": prompt}]
)
return response.content[0].text
async def _openai_complete(self, prompt, system, max_tokens, temperature):
messages = []
if system:
messages.append({"role": "system", "content": system})
messages.append({"role": "user", "content": prompt})
response = await asyncio.to_thread(
self.openai.chat.completions.create,
model="gpt-4-turbo",
max_tokens=max_tokens,
temperature=temperature,
messages=messages
)
return response.choices[0].message.content
RAG Pipeline
from qdrant_client import QdrantClient
from qdrant_client.models import Distance, VectorParams, PointStruct
import hashlib
class RAGPipeline:
"""Production-ready RAG implementation."""
def __init__(self, collection_name: str = "documents"):
self.qdrant = QdrantClient(host="localhost", port=6333)
self.openai = OpenAI()
self.collection_name = coll
Установить ai-engineer-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ai-engineer-agent?
Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use when building LLM features, chatbots, AI-powered applications, or need guidance on AI/ML engineering patterns.
Как установить скилл ai-engineer-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-engineer-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic