Skip to main content
The credit system is a Bindu-specific extension for managing agent marketplace economics — centralized accounting of agent execution costs, creator monetization, and trust-gated access.
Implementation status (2026-05): types only, no runtime enforcement.AgentExecutionCost, ExecutionRequest, and ExecutionResponse ship as TypedDicts in bindu/common/protocol/types.py:873-916 and are accepted on the wire, but there are no JSON-RPC handlers wired to debit or credit balances, no credit ledger storage, and no middleware that blocks execution on insufficient credits. For monetary gating that is live, use the x402 paywall — see Payments.The schemas below are stable; the orchestration around them is in design. Treat the flow diagrams as the target shape, not what runs today.

AgentExecutionCost

Schema:
Use Case: Premium Agent Pricing
What it’s for: Defining the cost and access requirements for running an agent. Creators set credit prices for their agents, and specify minimum trust levels to ensure only qualified users can execute sensitive operations.

ExecutionRequest

Schema:
Use Case: Agent Execution Request
What it’s for: Requesting agent execution with credit verification. The system checks if the executor has sufficient credits and meets the minimum trust level before allowing execution.

ExecutionResponse

Schema:
Use Case: Successful Execution
What it’s for: Returning execution results with credit transaction details. Shows actual credits charged (may differ from estimate), execution status, and output data. Failed executions may charge reduced or no credits depending on policy.

Credit System Flow

Key Features:
  • Pay-per-use model - Users pay credits only for agent executions
  • Creator monetization - Agent creators earn credits when their agents are used
  • Trust-based access - Minimum trust levels prevent unauthorized or malicious usage
  • Transparent pricing - Credit costs are known upfront via AgentExecutionCost
  • Transaction tracking - Every execution generates a transaction record for auditing
Use Cases:
  • Premium AI agents with specialized capabilities
  • Resource-intensive data processing agents
  • Enterprise agents requiring elevated permissions
  • Marketplace for third-party agent services
  • Usage-based billing for agent platforms