Agent Action Protocol (AAP) – MCP got us started, but is insufficient
AgentFreeBackground: I've been working on agentic guardrails because agents act in expensive/terrible ways and something needs to be able to say "Maybe don't do that" to the agents, but guardrails are almost impossible to enforce with the current way things are built.Context: We keep
Capabilities13 decomposed
agent-action-schema-definition-and-validation
Medium confidenceDefines a standardized schema for agent actions that extends beyond MCP's limitations by supporting stateful action chains, conditional branching, and multi-step workflows. Uses a declarative JSON/YAML schema format that agents can parse to understand action preconditions, postconditions, side effects, and rollback semantics. Validates action payloads against the schema before execution to prevent malformed requests from reaching tools.
Extends MCP's stateless request-response model with explicit preconditions, postconditions, and side-effect declarations in the action schema itself, enabling agents to reason about action safety and dependencies before execution rather than discovering constraints through failures
More expressive than MCP for stateful workflows and safer than ad-hoc tool calling because agents can validate action feasibility before attempting execution
multi-step-action-orchestration-with-state-tracking
Medium confidenceOrchestrates sequences of actions where later actions depend on state changes from earlier ones, tracking state mutations across the action chain. Implements a state machine pattern where each action declares what state it reads and writes, allowing the orchestrator to detect conflicts, serialize access, and enable rollback. Supports conditional branching based on action results without requiring the agent to re-plan between steps.
Implements explicit state tracking and conflict detection at the orchestration layer rather than delegating to individual tools, enabling deterministic rollback and preventing state corruption from concurrent or failed actions
More robust than sequential tool calling (which has no rollback) and simpler than distributed transaction frameworks because state mutations are declared in the action schema
action-versioning-and-backward-compatibility-management
Medium confidenceManages multiple versions of actions simultaneously, enabling agents to use different versions based on their requirements or capabilities. Implements a versioning scheme where actions declare their version and breaking changes, and the orchestrator routes requests to compatible versions. Supports gradual migration from old to new action versions without breaking existing agents.
Treats action versioning as a first-class concern with explicit version routing rather than assuming all agents use the latest version, enabling safe evolution of action schemas
More flexible than breaking changes because agents can continue using old versions while new agents adopt new versions
action-observability-and-distributed-tracing
Medium confidenceInstruments action execution with distributed tracing to track request flow across multiple actions and agents, capturing latency, dependencies, and error paths. Implements OpenTelemetry-compatible tracing where each action execution generates spans with metadata (inputs, outputs, duration, status), enabling visualization of action chains and performance analysis. Correlates traces across agents to understand multi-agent workflows.
Integrates distributed tracing at the orchestration layer to capture action execution flow across agents, enabling end-to-end visibility into multi-agent workflows
More comprehensive than application-level logging because traces capture causal relationships between actions and enable visualization of action chains
action-testing-and-simulation-framework
Medium confidenceProvides a testing framework for validating action behavior in isolation and in composition, supporting unit tests, integration tests, and simulation of action sequences. Implements mock actions for testing without external dependencies, and a simulation engine that replays action sequences to verify correctness. Supports property-based testing to verify action invariants.
Provides a dedicated testing framework for action compositions rather than requiring ad-hoc test code, enabling systematic validation of action behavior and error handling
More comprehensive than unit testing individual actions because it tests action compositions and error recovery paths
action-result-streaming-and-progressive-feedback
Medium confidenceStreams action results back to the agent and client in real-time rather than waiting for full completion, enabling progressive feedback loops where agents can react to partial results. Implements a streaming protocol that emits intermediate state changes, progress indicators, and error signals as they occur, allowing agents to make early decisions (e.g., cancel a long-running action if intermediate results are unsatisfactory).
Decouples action completion from result delivery by streaming intermediate state changes, allowing agents to make decisions during action execution rather than only after completion
More responsive than polling-based progress checks and more flexible than fire-and-forget execution because agents can react to intermediate signals
action-capability-discovery-and-negotiation
Medium confidenceEnables agents to discover available actions and their capabilities at runtime through a capability registry, negotiating which actions are available based on agent permissions, resource constraints, and runtime conditions. Implements a service discovery pattern where actions advertise their requirements (e.g., API keys, resource limits, dependencies) and the registry matches agent capabilities to available actions. Supports dynamic capability updates when new tools are registered or permissions change.
Treats action discovery as a first-class concern with explicit capability negotiation rather than assuming all agents have access to all tools, enabling fine-grained permission models and dynamic tool registration
More flexible than static action lists and more secure than MCP's open-ended tool exposure because agents only see actions they're authorized to use
action-error-handling-and-recovery-strategies
Medium confidenceDefines declarative error handling strategies in action schemas, specifying how agents should respond to different failure modes (retry with backoff, fallback to alternative action, escalate to human, etc.). Implements a recovery pattern where actions declare their failure modes and the orchestrator automatically applies the appropriate recovery strategy without requiring agent-level error handling logic.
Moves error handling from agent logic to the orchestration layer by declaring recovery strategies in action schemas, enabling consistent, declarative error responses across all agents
More maintainable than agent-level try-catch blocks because recovery strategies are centralized and reusable across agents
action-audit-logging-and-compliance-tracking
Medium confidenceAutomatically logs all action executions with full context (who initiated, what action, inputs, outputs, state changes, timestamp) to an immutable audit trail. Implements a logging middleware that captures action lifecycle events (requested, started, completed, failed) and stores them in a format suitable for compliance audits, forensic analysis, and debugging. Supports filtering and querying the audit log by agent, action type, time range, or outcome.
Treats audit logging as a first-class concern integrated into the action orchestration layer rather than an afterthought, ensuring no action executions are missed and all context is captured automatically
More comprehensive than application-level logging because it captures all action lifecycle events at the orchestration layer without requiring individual tools to implement logging
agent-permission-and-resource-quota-enforcement
Medium confidenceEnforces fine-grained permissions and resource quotas at the action execution layer, preventing agents from executing unauthorized actions or exceeding resource limits. Implements a policy engine that evaluates agent credentials against action requirements before execution, and tracks resource consumption (API calls, compute time, memory) against per-agent quotas. Blocks execution if permissions are insufficient or quotas are exceeded.
Implements permission and quota enforcement at the orchestration layer as a cross-cutting concern rather than delegating to individual tools, enabling consistent policy enforcement across all actions
More secure than tool-level permission checks because policies are enforced before action execution and quotas are tracked centrally
action-composition-and-macro-definition
Medium confidenceEnables defining composite actions (macros) that are sequences of primitive actions with control flow, allowing agents to invoke high-level workflows as single actions. Implements a composition language where macros declare their inputs, outputs, and internal action sequences, and the orchestrator expands macros into primitive actions at execution time. Supports conditional branching, loops, and error handling within macros.
Treats action composition as a first-class feature with explicit macro definitions rather than requiring agents to manually sequence actions, enabling reusable workflow abstractions
More maintainable than agents manually sequencing actions because macros are defined once and reused across agents
cross-agent-action-coordination-and-synchronization
Medium confidenceEnables multiple agents to coordinate on shared actions and synchronize their execution, preventing race conditions and ensuring consistent ordering. Implements a coordination protocol where agents can request locks on shared resources, wait for other agents to complete actions, or synchronize on barriers. Supports distributed consensus for coordinated decision-making across agents.
Provides explicit coordination primitives (locks, barriers, consensus) for multi-agent systems rather than assuming agents operate independently, enabling safe concurrent action execution
More robust than ad-hoc coordination because synchronization is enforced at the orchestration layer and deadlock/race conditions can be detected
action-result-caching-and-memoization
Medium confidenceCaches action results based on inputs to avoid re-executing identical actions, implementing a memoization layer that stores results keyed by action type and input hash. Supports cache invalidation strategies (TTL, event-based, manual) and cache warming for frequently-used actions. Enables agents to reuse results from previous executions without re-running expensive operations.
Implements transparent result caching at the orchestration layer with pluggable invalidation strategies, enabling agents to benefit from memoization without modifying action code
More flexible than tool-level caching because invalidation strategies can be defined per action and cache can be shared across agents
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Agent Action Protocol (AAP) – MCP got us started, but is insufficient, ranked by overlap. Discovered automatically through the match graph.
Portia AI
Open source framework for building agents that pre-express their planned actions, share their progress and can be interrupted by a human....
Portia AI
Open source framework for building agents that pre-express their planned actions, share their progress and can be interrupted by a human. [#opensource](https://github.com/portiaAI/portia-sdk-python)
OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview
Scored 65.2% vs google's official 47.8%, and the existing top closed source model Junie CLI's 64.3%.Since there are a lot of reports of deliberate cheating on TerminalBench 2.0 lately (https://debugml.github.io/cheating-agents/), I would like to also clarify a few thing
Eliza
TypeScript framework for autonomous AI agents — multi-platform, plugins, memory, social agents.
footprintjs
Explainable backend flows — automatic causal traces, decision evidence, and MCP tool generation for AI agents
agenshield
AgenShield — AI Agent Security Platform
Best For
- ✓teams building multi-agent systems where action contracts must be explicit and enforceable
- ✓developers migrating from MCP who need richer action semantics than request-response pairs
- ✓organizations requiring audit trails and rollback capabilities for agent actions
- ✓agents performing database transactions or API orchestration requiring ACID-like guarantees
- ✓multi-agent systems where actions must be serialized to prevent state corruption
- ✓workflows requiring automatic rollback on failure (e.g., infrastructure provisioning, payment processing)
- ✓systems with long-lived agents that can't be updated immediately
- ✓large deployments where coordinated updates are impractical
Known Limitations
- ⚠Schema complexity grows with stateful workflows — no built-in optimization for deeply nested conditional branches
- ⚠Validation overhead adds latency per action (~50-200ms depending on schema complexity)
- ⚠No native support for async action chains — requires external orchestration for long-running operations
- ⚠Schema versioning and migration between versions requires manual handling
- ⚠State tracking adds memory overhead proportional to action chain depth
- ⚠Rollback only works for actions that explicitly declare their state mutations — legacy tools require adapters
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
Show HN: Agent Action Protocol (AAP) – MCP got us started, but is insufficient
Categories
Alternatives to Agent Action Protocol (AAP) – MCP got us started, but is insufficient
Search the Supabase docs for up-to-date guidance and troubleshoot errors quickly. Manage organizations, projects, databases, and Edge Functions, including migrations, SQL, logs, advisors, keys, and type generation, in one flow. Create and manage development branches to iterate safely, confirm costs
Compare →Are you the builder of Agent Action Protocol (AAP) – MCP got us started, but is insufficient?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →