building-agents

Featured

Use when building or restructuring an LLM agent — provider adapter, tool calling, structured output, RAG, agent loop, eval gate, cost routing, tracing, MCP server — model-agnostic across OpenAI/Anthropic/Gemini/OSS so a model swap is a config change. NOT vector-store SQL alone (that is `postgresdb`) or service deployment (that is `deployment`).

AI & Automation 648 stars 89 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 98/100

Stars 20%
94
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Building production LLM agents (model-agnostic) A thin provider adapter, a disciplined agent loop, schema-validated tools, provider-neutral RAG, eval gates, OTel tracing, and optionally an MCP server — so swapping OpenAI ↔ Anthropic ↔ Gemini ↔ OSS is a config change, not a rewrite. ## The one rule > Program against a **capability interface**, never a vendor SDK. Vendor specifics (model id, tool-schema shape, JSON mode, caching, token limits) live behind one adapter resolved from config. Model names and prices rot — if one appears in business logic it's a bug, and re-verify the dated tables before quoting a number. **Hand off instead when:** a new non-trivial feature has no approved spec + plan under `02-DOCS/wiki/sdd/` → stop and run [`specify`](../specify/SKILL.md) first (method: [`sdd`](../sdd/SKILL.md)), which routes back here once the plan is approved; one-line/low-risk changes go straight through. Anthropic-SDK internals (caching, thinking, batch) in a file that *only* imports `anthropic` → `claude-api` if your environment has it, since this skill stays multi-provider. Workspace scaffolding → [`harness`](../harness/SKILL.md). Choosing *which* coding agent to use → agent-eval territory. Pure prompt-wording tuning with no architecture change → prompt engineering, not this. A one-shot throwaway prompt, or no retrieval/tools/loop/evals at all → you don't need an agent; call the SDK directly and say so. ## Decision rules (read before writing code) 1. **Adapter first**...

Details

Author
ericrisco
Repository
ericrisco/rsc-harness
Created
5 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ai

Engineering OS playbook for building AI products and automation — LLM features, agents, tool use, RAG, MCP servers, structured outputs, prompt design, model selection, cost/latency, evals, and agentic automations (Claude API, Agent SDK, Vercel AI SDK, OpenAI, LangChain, Pydantic AI, Hugging Face). Use whenever code calls an LLM, the user wants an "AI feature", "agent", "chatbot", "copilot", "automation", "workflow that uses AI", or asks which model to use — even if they don't name a framework.

2 Updated 3 days ago
soummyaanon
AI & Automation Listed

agent-builder

Build, implement, review, or harden a SINGLE production-grade agent — its contract, schemas, tools and permission tiers, durable state, guardrails, traces, and evals. Use when the user wants to create one agent (not a multi-agent product), implement an agent runner, add tools/memory/evals to an existing agent, or review whether one agent is production-ready. For multi-agent products, orchestration, or framework selection, use the agentic-product-architect skill instead. The full operational standard this skill applies is AGENT_STANDARD.md (bundled with this skill); copy-paste artifacts are in templates/.

15 Updated 1 months ago
Moai-Team-LLC
AI & Automation Listed

adapter-dev

SOP for developing new Agent CLI adapters in AgentHub. Agent should use when adding a new agent integration (e.g. Copilot, Gemini CLI, Qwen CLI) or debugging adapter issues around model resolution, environment, or stream parsing.

14 Updated today
TokenDanceLab