{"uid":"cap_QR9iDQY-rY01RUWWDjJSp","slug":"agentrxi-library-docs-f570fb80","name":"AgentRXI Library Docs","description":"Current library docs for agents with stale training: the latest version of an npm or PyPI package, how to use it now, and the breaking changes since the version you know, from its README and changelog.","url":"https://agentrxi.com/v1/libdocs?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"async":{"type":"boolean"},"package":{"type":"string"},"question":{"type":"string"},"ecosystem":{"type":"string","description":"npm | pypi"},"from_version":{"type":"string","description":"Version you know"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gis0gCKYkhGmw57V3kBIP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current README and changelog for an npm or PyPI package, highlighting breaking changes since a specified version, to keep AI agents up-to-date on stale training data.","exampleAgentPrompt":"I'm using LangChain 0.1.0 in Python and my code is probably out of date — can you pull the current docs and tell me what's broken or changed since that version?","exampleUseCases":[{"title":"Migration guide for outdated dependency","prompt":"I have a project using axios 0.21 and I need to upgrade — what breaking changes have happened since then and how do I use the latest axios API?"},{"title":"Unstuck from stale AI training data","prompt":"You're probably trained on an old version of pydantic — can you look up the current PyPI docs for pydantic and tell me the right way to define a model in v2?"},{"title":"Quick onboarding to unfamiliar npm package","prompt":"I've never used the 'zod' npm package before — can you grab the latest README and show me how to validate a schema with the current version?"}],"resultDescription":"Returns the latest version number of the package, current usage documentation drawn from the README, and a summary of breaking changes between the specified from_version and the latest release drawn from the changelog.","failureModes":["Package not found on the specified ecosystem (npm/PyPI) — returns an error indicating unknown package","Invalid ecosystem value (not 'npm' or 'pypi') — returns a validation error","from_version does not exist or is malformed — may return no diff or an error","Package has no changelog or README — returns partial results with available content","Network or upstream registry timeout — returns a service error"],"whenToPreferThis":"Use this endpoint when an AI agent needs current, authoritative documentation for a specific software library — especially when training data may be stale and you need to know the actual latest API, usage patterns, or breaking changes since a known version. Prefer this over general web search when you want structured, focused library documentation rather than blog posts or Stack Overflow answers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:38.152Z","isFirstParty":false,"canonicalSlug":"agentrxi-library-docs-f570fb80"}