The Practice and Architecture of AI Agents (Skills, RAG, and Engineering Practices)

Multiple articles systematically analyze the practice, architecture, operational details, and case studies of AI agents.
Key insights
Skills as Modular Capabilities
Claude Skills are described as modular 'folders' containing instructions, scripts, and resources that AI agents can automatically discover and load based on task relevance. Skills support repetitive and domain-specific scenarios such as brand guidelines and data analysis, applying style rules or built-in processing formulas automatically. The skills utilize a progressive disclosure mechanism, preloading approximately 100 tokens of metadata to assess relevance, and loading complete instructions when necessary while managing multiple skills without overloading the context window.
Boundaries Between Skills and Other Components
The article distinguishes skills from other components: prompts are one-time conversational instructions, projects are static knowledge bases (fact-based), MCP is responsible for external data access, and sub-agents are independent entities with tools; skills focus on procedural guidance on 'how to do' and can be invoked by any agent. An example workflow includes projects storing strategic documents, MCP pulling real-time data, skills defining analytical frameworks, sub-agents executing coding, and prompts used for final adjustments.
Progressive Loading Enhances Efficiency and Scalability
The design of skills employs a layered loading approach: first, approximately 100 tokens of metadata are preloaded to quickly assess relevance; if matched, complete instructions (less than 5000 tokens) are loaded, and script or file resources are only loaded when needed. This mechanism allows agents to manage multiple skills simultaneously without overloading context, thus improving consistency, saving resources, and supporting large-scale deployments. The article mentions an open-source skills library for customization and sharing.
Vercel's Practice: Prioritizing Low-Cognition, High-Repetition Tasks with Human Oversight
The Vercel team summarizes that agents are best suited for handling low-cognition, highly repetitive 'low-hanging fruit' tasks such as data entry, preliminary research, and qualification screening. Building agents should start from team pain points, identifying automation opportunities through simple interviews, and designing agents in a semi-autonomous mode, routing to human oversight before key decisions. Vercel also provides open-source templates and functions to accelerate development.
Vercel's Actual Impact: Lead Processing and Anti-Abuse Ticket Cases
Vercel reports on two internal projects: a potential client processing agent replaced manual background research and email drafting, reducing the work that originally required 10 people to just 1, allowing the team to focus on more complex sales tasks; the anti-abuse agent was used to analyze reports and recommend handling solutions, with a 59% reduction in ticket closure time after combining human oversight. These cases illustrate the benefits and deployment methods of agents in measurable scenarios.
Definition and Architectural Highlights of RAG Agents
RAG Agents are defined as agents that retrieve relevant context from specified knowledge sources, driving reasoning based on retrieval content to generate citable answers or actions. Core steps include retrieval, anchoring, reasoning, action, and verification; the architecture includes query embeddings, vector databases, retrievers, re-rankers, and reading/reasoning components, emphasizing observability (queries, latency, cost tracking).
Best Practices for RAG Retrieval and Chunking
The article outlines RAG's retrieval strategies and chunking recommendations: using hybrid search (keywords + vectors) to balance recall and precision, query rewriting to expand retrieval, multi-hop retrieval for complex issues, re-ranking the top 50-200 results to select the best 5-10; chunking recommendations are 200-800 tokens with 10-20% overlap, prioritizing SQL extraction for tables while retaining headers and timestamps to handle timeliness conflicts and citation tracing.