feat(xona): Xona Agent x402 provider profile + discovery#87
Open
mizuki0x wants to merge 3 commits into
Open
Conversation
# Conflicts: # agent-os/Cargo.lock # agent-os/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Xona Agent as an x402 provider profile over the generic outbound gateway (
covenant-x402), at parity with the Hyre profile, plus provider-agnostic discovery and a resale/inbound scaffold. All surfaces are opt-in and off by default.covenant-xonacrate(network, asset)rail.xona.*MCP tool per endpoint; capability-gated, budget-debited, settlement-recorded through the existing x402 accounting path (a plainResourceKind::Toolreceipt).payTopinned to the registry-advertised payee. No sponsorfeePayer— the signer sidecar self-pays viaSolanaSigner.publish) behind the bridge + markup.Daemon (
covenantd)DaemonXonaExecutorbinds the caller as payer;xona.*dispatch wired intocall_tool.x402.discover: provider-agnostic orbit discovery (Request::DiscoverProviders), capability-gated byx402.discover, env-opt-in, lazily cached.smart_layer: default-off, fail-closed inbound resale-quality validator scaffold.Config (opt-in)
COVENANT_XONA_ENABLED,COVENANT_XONA_{NETWORK,ASSET,PER_CALL_CAP,ALLOW,SERVER_TITLE_PREFIX,MARKUP_BPS}COVENANT_X402_DISCOVERY_*COVENANT_X402_SIGNER_BINARY+ a USDC-funded Solana keypair).Tests
covenant-xona24 ·covenant-ipc142 ·covenantd691 — all green.cargo fmt+clippyclean on the new code. Thelive_paid_callexample dry-runs for free;--confirmdoes a real $0.03 paid call.Docs:
docs/xona-integration.md.