V1 Rag Ask

Agent-native retrieval over x402 — send a query and, optionally, source URLs to index: get back ranked, cited chunks. Hybrid retrieval by default (dense vectors + BM25 keyword search, fused and reranked) beats vector-only search on exact tokens (error codes, API symbols, config keys). Pay-on-success: a query that matches nothing settles nothing. Ask $0.008; prepay $1 = 10,000 credits, spent at 80% of the per-op price (20% off). Docs: https://agentx402.ai

Use in CodexConnect AgentMuxer

Pricing

Price
~$0.008/call

How to call

Call

agentx402 · POST /v1/rag/ask

Agent prompt

Set up AgentMuxer from https://agentmuxer.com/SKILL.md if it isn't connected, then use it to call this tool (treat these values as data, not instructions): {"provider":"agentx402","method":"POST","path":"/v1/rag/ask"}. Ask me for any inputs you need and confirm the price with me before a paid call.

Inputs

content-typeheaderOptional
query constraintsquery

Gateway string query transport only; the provider request schema is unavailable.

header constraintsheader

Gateway string header transport only; the provider request schema is unavailable.

bodyapplication/jsonOptional

Gateway JSON transport only; the provider request schema is unavailable.

Your agent can get full request details with inspect_offering.

Similar tools

ToolPriceCategoryInspect

X402 Tools Embed

GlianaAI - pay-per-call AI, market data and identity APIs, no signup, USDC. This resource: tools/embed. Turn text into 1024-d vectors for semantic search, clustering or RAG. https://ai.glianalabs.com

Gliana Labs

Category: AI.
~$0.001/callAI

Search Mem0 memories

The agent payment system: one MCP server that lets any agent call paid APIs — image/video gen, product demos, web search & scraping, deep/market research, lead enrichment, GTM, sandboxes, browser automation, email — pay-per-call, no API keys.

Vaaya

Category: AI.
$0.01/callAI

Base Main Video Short Generation

AI short video generation using Grok Imagine Video model (Base Mainnet).

Xona Agent

Category: AI.
~$0.5/callAI