agorio docs
GitHubGitHub
  • Introduction
  • Getting Started
    • Overview
    • UCP
    • ACP
    • AP2
    • MCP
    • Overview
    • Shopify
    • WooCommerce
    • BigCommerce
    • Custom Adapters
    • Overview
    • ShoppingAgent
    • SubAgent
    • AgentChain
    • Session Storage
    • Overview
    • Spending Controls
    • Approval Workflow
    • Audit Trail
    • Agent Identity
    • Policy Engine
    • Procurement
    • Overview
    • Self-Hosting
    • RBAC
    • SSO
    • Billing
    • Overview
      • Overview
        • Acpapierror
        • Acpclient
        • Acpsignatureerror
        • Agentattestation
        • Agentchain
        • Ap2client
        • Ap2error
        • Bigcommerceadapter
        • Bigcommerceadaptererror
        • Claudeadapter
        • Filesessionstorage
        • Geminiadapter
        • Mcpclient
        • Mcperror
        • Memorysessionstorage
        • Mockacpmerchant
        • Mockmcpmerchant
        • Mockmerchant
        • Ollamaadapter
        • Openaiadapter
        • Shopifyadapter
        • Shopifyadaptererror
        • Shoppingagent
        • Tokenbucket
        • Ucpapierror
        • Ucpclient
        • Ucpdiscoveryerror
        • Webhookserver
        • Woocommerceadapter
        • Woocommerceadaptererror
        • Agoriocloud
        • Buildmerchantsignatureheader
        • Buildmockprofile
        • Canonicaljson
        • Canonicalizemandate
        • Createhttpclient
        • Createjwksigner
        • Getfulfillmentstatus
        • Getrefundstatus
        • Isbigcommercestore
        • Isenterpriseplugin
        • Iswoocommercestore
        • Parseattestation
        • Parseorderevent
        • Receiveorderevent
        • Runsubagent
        • Signordereventpayload
        • Summarizeorder
        • Verifyattestation
        • Verifymandate
        • Verifymandateshape
        • Verifymandatesignature
        • Verifymerchantsignature
        • Withratelimit
        • Withretry
        • A2atransport
        • Acpaddress
        • Acpadjustment
        • Acpcheckoutsession
        • Acpclientoptions
        • Acperrorbody
        • Acpestimateddelivery
        • Acpfulfillment
        • Acpfulfillmentevent
        • Acplineitem
        • Acplineitemreference
        • Acpmoney
        • Acporder
        • Acporderconfirmation
        • Acporderevent
        • Acporderlineitem
        • Acporderlineitemquantity
        • Acpshippingaddress
        • Acpsupportinfo
        • Acptotal
        • Agentchainrunoptions
        • Agentchainstep
        • Agentlogevent
        • Agentoptions
        • Agentplugin
        • Agentresult
        • Agentspan
        • Agentstep
        • Agentstreamevent
        • Agenttracer
        • Agentusagesummary
        • Agoriocloudhandle
        • Agoriocloudoptions
        • Ap2clientoptions
        • Ap2paymentresult
        • Attestationoptions
        • Bigcommerceadapteroptions
        • Cartitem
        • Cartlineitem
        • Cartmandate
        • Cartstate
        • Chaincontext
        • Chainresultentry
        • Chatmessage
        • Checkoutresult
        • Claudeadapteroptions
        • Delegatedmandate
        • Delegationlink
        • Discoveryresult
        • Enterpriseplugin
        • Filesessionstorageoptions
        • Geminiadapteroptions
        • Httpclientoptions
        • Ingestbatch
        • Intentmandate
        • Jwkkey
        • Llmadapter
        • Llmresponse
        • Logrecord
        • Mcpclientinfo
        • Mcpclientoptions
        • Mcpinitializeresult
        • Mcpprompt
        • Mcppromptargument
        • Mcppromptgetresult
        • Mcppromptlistresult
        • Mcppromptmessage
        • Mcpresource
        • Mcpresourcelistresult
        • Mcpresourcereadresult
        • Mcpservercapabilities
        • Mcpserverinfo
        • Mcptoolcallresult
        • Mcptooldescriptor
        • Mcptoollistresult
        • Mcptransport
        • Merchantadapter
        • Merchantadapterdiscovery
        • Merchantcontext
        • Mockacpmerchantoptions
        • Mockmcpmerchantoptions
        • Mockmerchantoptions
        • Mockorder
        • Mockproduct
        • Moneyamount
        • Normalizedservice
        • Ollamaadapteroptions
        • Openaiadapteroptions
        • Orderupdateevent
        • Parsedattestation
        • Paymenthandler
        • Plugincontext
        • Pluginmanifest
        • Plugintooldecision
        • Productreview
        • Productreviewresult
        • Ratelimitbucketcontext
        • Refundmandate
        • Resttransport
        • Retryoptions
        • Runendpayload
        • Runstartpayload
        • Runsubagentoptions
        • Sessionstate
        • Sessionstorage
        • Shippingaddress
        • Shopifyadapteroptions
        • Signrequestinput
        • Signedmandate
        • Spanrecord
        • Subagent
        • Subagentbuildcontext
        • Tokenbucketoptions
        • Toolcall
        • Tooldefinition
        • Ucpcapability
        • Ucpclientoptions
        • Ucpprofile
        • Ucpservice
        • Verifymandateoptions
        • Verifyoptions
        • Webhookserveroptions
        • Woocommerceadapteroptions
        • X402mandate
        • X402paymentinstrument
        • X402settlementproof
        • Acpcheckoutstatus
        • Acporderstatus
        • Agenttoolname
        • Bucketfactory
        • Ingestbatchtype
        • Jwkresolver
        • Llmstreamchunk
        • Mandatealgorithm
        • Mandatejwk
        • Mandateverifyresult
        • Mcpcontentblock
        • Transportpreference
        • Verifyresult
        • Webhookevent
        • Default Products
        • Default Sub Agent Max Depth
        • Mcp Protocol Version
        • Shopping Agent Tools
  • Migration
    • Overview
    • Plugins Registry
    • Adapters Registry
    • Certification

On This Page

  • Defined in
Question? Give us feedback →Edit this page
ReferenceAPI Referencetype-aliasesBucketfactory

@agorio/sdk • Docs


Type Alias: BucketFactory

BucketFactory: TokenBucket | (ctx) => TokenBucket

Defined in

src/http/rate-limit.ts:86

AgenttoolnameIngestbatchtype

Ready to run this in production?

The SDK is free and open source. Agorio Cloud adds hosted tracing, governance, and team controls so you can ship agents with confidence.

Start with Agorio Cloud →View pricing

MIT © 2026 Agorio · agorio.dev