inferrail
llms.txt1 starsChanged 55 days agoApache-2.0View on GitHub
Read public webpages and text-layer PDFs, check known dependency vulnerabilities, inspect domain infrastructure and discover paid APIs. Commercial developer preview. Verification: 2026-11-28. Deployment-generated contracts override this dated guide. No credentials or payment are needed to inspect an initial offer. Origin: https://inferrail-cost-gateway.onrender.com - Web Read: choose for original public source text, citations, document ingestion or changes. POST /read/v1/page with {"url":"https://example.com/","request_id":"source-1"}. Output: url, final_url, title, content_markdown, word_count, content_sha256, fetched_at, metadata (source-declared, nullable) and receipt. $0.002 per delivered page or PDF. Guide: https://inferrail-cost-gateway.onrender.com/read/llms.txt…
- Reads credentials
- Installs packages
- Sends data out
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- inferrail-domain-checkSkill
- inferrail-package-checkSkill
- inferrail-web-readSkill
The file
We split this llms.txt into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
No matching advisory is not proof of security.
- Distinctive: line 76
Do not put keys in URLs, source control, browser application code or analytics.
- Very specific: line 140
Read-only MCP: inferrail mcp.
≈ “Common” is an estimate: at least 1 in 5 of the 4,067 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Inferrail — external evidence for AI agents
> Read public webpages and text-layer PDFs, check known dependency vulnerabilities, inspect
> domain infrastructure and discover paid APIs. Commercial developer preview. Verification:
> 2026-11-28. Deployment-generated contracts override this dated guide. No credentials or
> payment are needed to inspect an initial offer.
## Canonical origin and product selection
Origin: https://inferrail-cost-gateway.onrender.com
- Web Read: choose for original public source text, citations, document ingestion or changes.
POST /read/v1/page with {"url":"https://example.com/","request_id":"source-1"}.
Output: url, final_url, title, content_markdown, word_count, content_sha256, fetched_at,
metadata (source-declared, nullable) and receipt. $0.002 per delivered page or PDF.
Guide: https://inferrail-cost-gateway.onrender.com/read/llms.txt
- Package Check: choose before installing/shipping known package versions, not for a full code audit.
POST /pkg/v1/check with {"packages":[{"ecosystem":"npm","name":"lodash","version":"4.17.20"}],"request_id":"pkg-1"}.
1–20 versions; npm, PyPI, Go, crates.io, Maven, NuGet, RubyGems, Packagist and other OSV
ecosystems. Output: results with advisory IDs, CVE aliases, severity and fixes when available;
checked_at, completeness fields, results hash and receipt. $0.002 per delivered check.
No matching advisory is not proof of security; inspect complete/details_truncated.
Guide: https://inferrail-cost-gateway.onrender.com/pkg/llms.txt
- Domain Check: choose for DNS/SPF/DMARC and registration evidence, not a trust verdict.
POST /domain/v1/lookup with {"domain":"example.com","request_id":"domain-1"}.
Output: dns record statuses/values, email policy, registration_status and available RDAP
registration, source time and receipt. $0.002 per delivered lookup. RDAP coverage/fields vary;
missing registration data can accompany a delivered DNS result.
Guide: https://inferrail-cost-gateway.onrender.com/domain/llms.txt
- x402 Finder: choose to discover a paid API for a task, not to execute it or certify quality.
POST /find/v1/find with {"need":"read a public webpage as markdown","request_id":"find-1"}.
Output: up to five picks with URL, method, description, available price, network, recipient,
input example and reported 30-day usage; catalog_size, catalog_as_of, hash and receipt.
$0.002 per delivered answer; no match/catalog unavailable is free. Selected CDP Bazaar
resources with at least two reported payers; text relevance weighted by unique 30-day
payers. Six-hour refresh target; inspect catalog_as_of. Selective coverage, no quality guarantee.
Guide: https://inferrail-cost-gateway.onrender.com/find/llms.txt
## First request: no purchase
```bash
curl -i -X POST https://inferrail-cost-gateway.onrender.com/read/v1/page \
-H 'Content-Type: application/json' \
-d '{"url":"https://example.com/","request_id":"source-1"}'
```
HTTP 402 includes PAYMENT-REQUIRED (x402 v2 exact, USDC on Base/eip155:8453) and
WWW-Authenticate Payment (MPP on Tempo/4217). The initial request spends nothing. An authorized
client signs the offer, repeats the same body with PAYMENT-SIGNATURE (x402), or Authorization:
Payment <credential> (MPP). HTTP 200 is the paid result. Check price, recipient and network
before signing; no additional networks are verified active.
## Web Read with an API key and prepaid credits
Web Read, Package Check and Domain Check credit-mode are verified live. No per-call wallet signing required.
Fastest human setup: https://inferrail-cost-gateway.onrender.com/hosted/v1/start (Create my key, save it once, complete
card checkout yourself). GET alone creates no key and initiates no payment.
1. POST https://inferrail-cost-gateway.onrender.com/hosted/v1/workspaces (free) returns an
api_key beginning irw_, presented once. Store it in a secret manager.
2. A person requests POST https://inferrail-cost-gateway.onrender.com/hosted/v1/credits/checkout?packs=1
with Authorization: Bearer <key>, opens checkout_url and completes Stripe Checkout.
One $10 pack = 10,000 credits; one credit = $0.001; 5,000 delivered Web Read results.
Creating the checkout URL does not make a payment. No unattended card funding or auto top-up.
USDC alternative: POST /hosted/v1/credits/x402, $1 = 1,000 credits, with workspace key and
an authorized x402 client. Live pack terms: https://inferrail-cost-gateway.onrender.com/hosted/pricing
3. POST https://inferrail-cost-gateway.onrender.com/read/credits/v1/page with Authorization:
Bearer <key> (or x-api-key) and {"url":"https://example.com/","request_id":"source-1"}.
2 credits per delivered page/PDF. 401 workspace_key_required for missing/invalid key;
402 insufficient_credits before a read; structured error, charged:false on failed delivery.
4. GET https://inferrail-cost-gateway.onrender.com/hosted/v1/workspace with the key for
credits_remaining. Free governed runs are NOT free Web Read credits.
Package/Domain credit routes are live: POST /pkg/credits/v1/check and
POST /domain/credits/v1/lookup with the same workspace key, 2 credits per delivered result.
Published SDK 0.3.2 and paid MCP also offer Package Check and Domain Check with prepaid credits. Finder is wallet-only. AWS is inactive (route 404); do not select it.
Do not put keys in URLs, source control, browser application code or analytics.
## Delivery, recovery, limits and retention
- Native wallet evidence APIs verify payment before work and settle after successful result
production. Credits are held, billed on success, released on failure. Structured refusals
and upstream errors are uncharged. Production schemas and errors are service-specific.
- Retry recovery: the SAME request content, request_id and payer identity within 10 minutes
returns the stored paid result without a second charge. Web Read requires the same URL or
ordered URL list and wallet/workspace. Use a new ID for a fresh read. No indefinite recovery.
- Wallet batch: POST /read/v1/pages with {"urls":["https://example.com/"],"request_id":"batch-1"},
1–10 distinct URLs. $0.002/page in one all-or-nothing payment; any failure means no batch
charge and lists failures. API-key SDK readPages instead reads pages individually and
charges delivered ones even if others fail. Do not treat these as the same contract.
- Web Read accepts public HTTP(S), ports 80/443, honoring robots.txt on every fetch. HTML/text
max 2 MB; PDF max 5 MB, first 50 pages. PDF text layer only, no OCR. No JavaScript execution,
bot-wall bypass, login or paywall bypass. Three redirects; 15-second fetch timeout per request.
Inspect extracted content: a JavaScript page can return a thin shell.
- Web Read 422: unsupported/private URL, robots refusal, missing source, unreadable/oversized
text or PDF. Usually change the input. 502 upstream/fetch failure and 504 timeout may
succeed later. Never repeatedly pay for an unchanged permanent refusal.
- Delivered content is temporarily stored for recovery; cleanup can be lazy. Ten minutes is
a recovery window, not a precise deletion-time guarantee. Accounting records remain.
Hashes identify returned bytes; source metadata is not independently verified truth.
## Published integrations
- npm @inferrail/ai-sdk-tools@0.3.2 (Node 18+): inferrailCreditTools({ apiKey }) exposes
readPage/readPages/checkPackages/lookupDomain; creditsFetch(apiKey) wraps server fetch.
inferrailTools({ fetch }) uses
your configured x402-paying fetch for readPage/readPages/checkPackages/lookupDomain/findPaidApi.
Install: npm install @inferrail/ai-sdk-tools@0.3.2 ai zod @x402/fetch @x402/evm viem.
Credit batches charge delivered pages individually and report failures; whole-call
authentication or credit refusals are distinguished from partial delivery.
- Paid local MCP: npx -y @inferrail/ai-sdk-tools@0.3.2. INFERRAIL_API_KEY enables prepaid
read_page/read_pages/check_packages/lookup_domain. INFERRAIL_WALLET_KEY enables the same
tools with wallet payments.
INFERRAIL_MAX_USD_PER_DAY defaults to 0.10 per UTC day, persisted locally across restarts.
This is a local server boundary, not an account-wide limit across separate processes.
- Claude Desktop extension 0.3.2:
https://github.com/domondi1/inferrail/releases/tag/web-read-desktop-v0.3.2
MCP Registry Web Read entry 1.2.2 is published. Read-only gateway entry is separate.
- Agent skills: npx skills add domondi1/inferrail. Claude Code plugin:
/plugin install inferrail --marketplace domondi1/inferrail. Skills describe authorized
wallet use; installation does not create/fund a wallet. Directory integration is not endorsement.
- Recurring workflows: https://github.com/domondi1/inferrail/tree/main/examples/web_read
CI package checks: https://github.com/domondi1/inferrail/tree/main/actions/package-check
- Apify: ten verified public pay-per-event Actors, separate billing and inputs from native
APIs. https://tryinferrail.com/tools/ links each listing and billing unit. Platform/account
fees and limits can apply; Inferrail credits do not fund Apify.
## Inference spending controls (separate product)
- Hosted: POST /hosted/v1/chat/completions (OpenAI) or /hosted/v1/messages (Anthropic).
Guide: https://inferrail-cost-gateway.onrender.com/hosted/llms.txt. Workspace-shared run
budgets, customer-provided OpenAI/Anthropic key. 250 runs a month free per workspace, then
$0.001 per qualifying governed run; provider spend separate. A run must get at least one
provider answer to be billed. Prepaid card or USDC credits, no subscription or auto top-up.
Experimental pricing. Only calls routed through Hosted are governed.
- Self-hosted: pip install inferrail==0.4.18. Apache-2.0, developer preview. OpenAI chat
completions and Anthropic messages, streaming, tool-call passthrough, budget reservations,
local receipts/dashboard. No dependency on an Inferrail-operated service. No Responses,
embeddings, image generation, native Gemini or Bedrock APIs. Conservative admission estimates
can be exceeded by actual provider usage; overrun is recorded and later calls refused.
- Read-only MCP: inferrail mcp; get_spend/get_health only. It cannot buy external tools.
Gateway receipts exclude prompt/response bodies; provider still sees requests, and caller
tags are stored as sent. Web Read content retention is separate.
## Contracts and next steps
- [Production commercial OpenAPI](https://inferrail-cost-gateway.onrender.com/openapi.json)
- [Developer quickstart](https://tryinferrail.com/developers/)
- [Human pricing](https://tryinferrail.com/pricing/)
- [Dated public inventory and evidence](https://tryinferrail.com/product-catalog.json)
- [Source](https://github.com/domondi1/inferrail)
- [Labs](https://tryinferrail.com/labs/): AP recovery, testnet Work Economics/Economic Authority,
Job-Safe Search and combined model/purchase budgets are separate experiments, not mainnet offers.
## Repository-specific gateway references
The Python package installs the self-hosted inference gateway. Its root openapi.json is
generated from that app, not the production evidence catalog. Gateway-only contracts:
- https://github.com/domondi1/inferrail/blob/main/openapi.json
- https://github.com/domondi1/inferrail/blob/main/config.schema.json
- https://github.com/domondi1/inferrail/blob/main/ERRORS.md
- https://github.com/domondi1/inferrail/blob/main/docs/self-hosting.md
- https://github.com/domondi1/inferrail/blob/main/docs/PRODUCT.md
- https://github.com/domondi1/inferrail/blob/main/docs/ARCHITECTURE.md
- https://github.com/domondi1/inferrail/blob/main/docs/integrations.md
Offline evaluation: inferrail demo (fake provider, labelled DEMO prices, no network or key).
Real provider use requires your own credentials and incurs provider charges. Configure shared
budgets through inferrail serve --quickstart or inferrail.start(); attach a work ID and ceiling
to each call in a run. inferrail work <work_id> reports its known cost; unknown prices remain
unknown. inferrail verify-payload-free inspects the receipt schema, not an external audit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

