AI Architecture, skill collection
Agent architecture
Use this pack when designing the runtime that owns an agent’s work: state, tool routing, delegation, recovery, budgets, and human approval. Start with the failure you need to handle, then select the corresponding skill.
agent-architectWhat to give your agent
A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.
- A concrete task and the observable condition that means it is finished.
- The tools the agent may call, including which calls change external state.
- A run budget, a state storage choice, and a record of what requires approval.
Resume a support agent without sending twice
An agent drafts a support response, waits for approval, and sends it. The process crashes after the provider accepts the send but before the local success record is saved.
Define the run state
Store the request identifier, draft version, approval record, and send-operation identifier outside the model context. Make the allowed transitions explicit.
Design recovery around the effect
Persist the operation identifier before sending. On resume, query the provider or use its idempotency support to reconcile an uncertain result. An internal checkpoint alone cannot prove that a message was not sent.
Exercise the harness
Inject a crash before the send and after acceptance. Also change the draft after approval. Check that recovery preserves the intended effect and that changed content needs a new approval.
drafted -> awaiting_approval -> approved -> sending -> sent
Stored: draft_hash, approval_id, operation_id, provider_receipt
Uncertain send: reconcile before retry
Changed draft: return to awaiting_approvalHow to check the result
- No send happens without approval of that draft version.
- A crash after acceptance does not produce a second message.
- Repeated tool failures terminate within the run budget.
A failure to watch for
Saving the conversation is insufficient for recovery. Persist authoritative state and the identity of external operations separately.
This is an illustrative exercise. Run the checks against your own project to establish the result.
Skills in this pack
Open a skill to see its activation guidance, source sections, and individual install command. These descriptions come from the linked source files.
13 of 13 skills
Agent-to-Agent (A2A) Protocolsa2a-protocols
Implement Agent-to-Agent (A2A) communication for cross-framework interoperability. Use this skill when building multi-agent communication, implementing agent protocols, connecting agents across frameworks, or standardizing agent interfaces. Activate when: agent to agent, A2A, agent communication, agent protocol, cross-framework agents, agent interoperability, MCP, agent discovery.
Inside the source file
- The Interoperability Challenge
- Protocol Landscape
- MCP Integration
- Agent-to-Agent Communication
- Handoff Protocol
- REST API for Agents
- Best Practices
- Security Considerations
Install this skill individually
npx skills add latestaiagents/agent-skills --skill a2a-protocolsAgent Checkpointingagent-checkpointing
Implement checkpointing for agent recovery, debugging, and replay. Use this skill when building recoverable agents, implementing replay, debugging agent failures, or creating resumable workflows. Activate when: agent checkpoint, agent recovery, resume agent, agent restart, workflow replay, agent debugging, failure recovery, state snapshot.
Inside the source file
- Why Checkpointing?
- Checkpoint Architecture
- Basic Checkpointing
- Recovery Patterns
- Replay and Debugging
- Checkpoint Management
- Testing with Checkpoints
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-checkpointingAgent Cost Budgetingagent-cost-budgeting
Use this skill when managing AI agent costs. Activate when the user needs to control token usage, implement cost limits for agents, optimize LLM spending, track agent costs, or prevent runaway API bills in agent systems.
Use it when
- Preventing runaway API costs
- Implementing per-task cost limits
- Optimizing multi-agent token usage
- Tracking and reporting AI spending
- Building cost-aware agent behaviors
Inside the source file
- Cost Model
- Budget Management
- Token Estimation
- Cost-Aware Agent
- Multi-Agent Cost Distribution
- Cost Optimization Strategies
- Reporting
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-cost-budgetingAgent Error Recoveryagent-error-recovery
Use this skill when implementing error handling for AI agents. Activate when the user needs agents to handle failures gracefully, implement retry strategies, design fault-tolerant agent systems, or build agents that can recover from errors without human intervention.
Use it when
- Building production-grade agent systems
- Agents need to handle API failures
- Implementing autonomous error recovery
- Designing resilient multi-agent workflows
- Setting up monitoring and alerting
Inside the source file
- Error Classification
- Recovery Strategies
- Error Recovery Workflow
- Monitoring and Alerting
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-error-recoveryAgent Handoff Protocolsagent-handoff-protocols
Use this skill when designing task handoffs between agents. Activate when the user needs to pass work between agents, transfer context between agents, implement agent-to-agent communication, or design protocols for agents to collaborate on sequential tasks.
Use it when
- Agents need to pass work to each other
- Context must be preserved across agent transitions
- Building agent pipelines or workflows
- Implementing specialized agent chains
Inside the source file
- Handoff Fundamentals
- Protocol Patterns
- Context Transfer Strategies
- Handoff Instructions Template
- Error Handling
- Acknowledgment Patterns
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-handoff-protocolsAgent Memory Systemsagent-memory-systems
Use this skill when implementing memory for AI agents. Activate when the user needs agents to remember past interactions, implement context persistence, build knowledge bases for agents, design agent state management, or create shared memory between multiple agents.
Use it when
- Agents need to remember across sessions
- Multiple agents share knowledge
- Long-running tasks require state persistence
- Building agents that learn from experience
Inside the source file
- Memory Types
- Working Memory
- Short-Term Memory
- Long-Term Memory
- Shared Memory (Multi-Agent)
- Memory Retrieval Strategies
- Memory Maintenance
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-memory-systemsAgent Mesh Architectureagent-mesh-architecture
Use this skill when designing peer-to-peer multi-agent systems. Activate when the user needs agents that collaborate without central control, wants resilient agent networks, needs swarm-like agent behavior, or is building decentralized agent architectures.
Use it when
- Resilience is critical (no single point of failure)
- Agents need to collaborate dynamically
- Tasks benefit from emergent behavior
- Scale varies (agents join/leave dynamically)
- Different perspectives improve outcomes
Inside the source file
- Architecture Overview
- Core Components
- Communication Patterns
- Agent Behavior Patterns
- Resilience Patterns
- When to Use Mesh vs Supervisor
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-mesh-architectureAgent Supervisor Patternagent-supervisor-pattern
Use this skill when designing supervisor-based multi-agent systems. Activate when the user needs to orchestrate multiple AI agents, coordinate agent workflows, implement a central controller for agents, design hub-and-spoke agent architecture, or build hierarchical agent systems.
Use it when
- Complex tasks requiring multiple specialized agents
- Need clear visibility into agent decision-making
- Workflows requiring sequential or conditional agent execution
- Systems where human oversight is important
- Tasks with clear subtask decomposition
Inside the source file
- Architecture Overview
- Core Components
- Implementation Patterns
- Supervisor Prompting Best Practices
- State Management
- Monitoring and Observability
- When NOT to Use Supervisor Pattern
- Alternatives
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-supervisor-patternAgent Testing Harnessagent-testing-harness
Use this skill when testing AI agent systems. Activate when the user needs to test agent behavior, write tests for multi-agent systems, implement agent evaluation frameworks, create test harnesses for autonomous agents, or validate agent outputs systematically.
Use it when
- Building reliable agent systems
- Validating agent behavior before deployment
- Creating regression tests for agents
- Implementing continuous testing for agent updates
- Evaluating agent performance metrics
Inside the source file
- Testing Pyramid for Agents
- Unit Testing Agent Components
- Component Testing Agents
- Integration Testing Multi-Agent Systems
- End-to-End Agent Tests
- Evaluation Metrics
- Test Data Management
- Continuous Testing Pipeline
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-testing-harnessAgent Tool Routingagent-tool-routing
Use this skill when implementing tool selection for AI agents. Activate when the user needs agents to choose the right tools, implement dynamic tool routing, integrate MCP servers, design tool selection logic, or build agents that can use external services effectively.
Use it when
- Agents need to choose between multiple tools
- Implementing MCP (Model Context Protocol) integrations
- Building agents with external API access
- Designing tool fallback strategies
- Optimizing tool usage for cost/performance
Inside the source file
- Tool Architecture
- Tool Definition
- Tool Registry
- Router Strategies
- MCP Integration
- Tool Execution
- Monitoring Tool Usage
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-tool-routingDurable State Patternsdurable-state-patterns
Implement persistent agent state that survives failures and restarts. Use this skill when building stateful agents, implementing checkpointing, persisting agent memory across sessions, or recovering from failures. Activate when: durable state, agent persistence, checkpointing, agent recovery, stateful agents, state persistence, cross-session memory, agent restart.
Inside the source file
- Why Durable State?
- LangGraph Checkpointing
- State Schema Design
- Memory Tiers
- Checkpoint Management
- Recovery Patterns
- Storage Backend Comparison
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill durable-state-patternsHuman-in-the-Loop Agentshuman-in-loop-agents
Build agents that pause for human approval, review, and intervention. Use this skill when implementing approval workflows, human oversight, agent interrupts, or review-before-execute patterns. Activate when: human in the loop, HITL, agent approval, human oversight, interrupt agent, pause agent, review workflow, agent supervision.
Inside the source file
- Why Human-in-the-Loop?
- Core Patterns
- Timeout and Escalation
- UI Integration
- Best Practices
- When to Require Approval
- Monitoring HITL Metrics
Install this skill individually
npx skills add latestaiagents/agent-skills --skill human-in-loop-agentsLangGraph Workflows (1.0)langgraph-workflows
Build agent workflows with LangGraph 1.0 state machines and graph patterns. Use this skill when creating agent graphs, implementing state machines, building multi-step agent workflows, or using LangGraph. Activate when: LangGraph, agent graph, state graph, agent workflow, graph nodes, conditional edges, agent state machine, ReAct agent.
Inside the source file
- LangGraph 1.0 Overview
- Core Concepts
- Pattern 1: Basic State Graph
- Pattern 2: Conditional Routing
- Pattern 3: ReAct Agent
- Pattern 4: Parallel Execution
- Pattern 5: Subgraphs
- State Reducers
Install this skill individually
npx skills add latestaiagents/agent-skills --skill langgraph-workflowsInstall the skills
With Node.js and npm available, run this in your project’s terminal. The CLI prompts for skills, agent, and installation scope.
npx skills add https://github.com/latestaiagents/agent-skills/tree/main/skills/mlops/agent-architectChoose scope, then verify discovery
Choose project scope for instructions tied to this repository, or global scope when you want them available across projects. Check the selected agent’s installed skill list, then try a representative task from the example above.
For one skill, open its contents entry and use the individual command. Installation support and skill behavior vary by agent.
Skills CLI documentation and supported agentsInstall commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.
Source and review status
This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.