{"_id":"@agentprodready/ai-provider-anthropic","_rev":"3-ad2cdd4fa799afc351189e23c8e59756","name":"@agentprodready/ai-provider-anthropic","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@agentprodready/ai-provider-anthropic","version":"1.0.0","keywords":["anthropic","claude","ai-provider","agentprodready"],"license":"MIT","_id":"@agentprodready/ai-provider-anthropic@1.0.0","maintainers":[{"name":"ameenmari78","email":"ameenmari78@gmail.com"}],"homepage":"https://github.com/ameenmari/agentprodready#readme","bugs":{"url":"https://github.com/ameenmari/agentprodready/issues"},"dist":{"shasum":"b0fd6b2de3ce4265699af50400d0e3a74c7385b9","tarball":"https://registry.npmjs.org/@agentprodready/ai-provider-anthropic/-/ai-provider-anthropic-1.0.0.tgz","fileCount":17,"integrity":"sha512-gOhfY9y38gvMgKW1aL9UYNlNoIa/LhWrl+8wFMTWCoMf2/KLOGYz/xxBl5tKRRZlasUGJnj3UyZQcK19EDo/jQ==","signatures":[{"sig":"MEYCIQDPOFodsoMtBWy7rf8JHa6au7izKW10HO+C+wqJr6TTbgIhANkgkuj1lauVshEcXPOazrp74UUECM0mAsHjwq2rYtvG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32513},"main":"dist/index.js","type":"module","_from":"file:agentprodready-ai-provider-anthropic-1.0.0.tgz","types":"dist/index.d.ts","engines":{"node":">=22 <25"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"ameenmari78","email":"ameenmari78@gmail.com"},"_resolved":"C:\\Users\\AHLp\\AppData\\Local\\Temp\\17c55501eeae56c8f67dd7b9089cc552\\agentprodready-ai-provider-anthropic-1.0.0.tgz","_integrity":"sha512-gOhfY9y38gvMgKW1aL9UYNlNoIa/LhWrl+8wFMTWCoMf2/KLOGYz/xxBl5tKRRZlasUGJnj3UyZQcK19EDo/jQ==","repository":{"url":"git+https://github.com/ameenmari/agentprodready.git","type":"git","directory":"packages/ai-provider-anthropic"},"_npmVersion":"10.9.3","description":"Anthropic Messages API adapter for AgentProdReady AI Provider","directories":{},"_nodeVersion":"22.18.0","dependencies":{"@anthropic-ai/sdk":"0.116.0","@agentprodready/foundation":"1.0.0","@agentprodready/ai-provider":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ai-provider-anthropic_1.0.0_1786213339852_0.14454812989743382","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agentprodready/ai-provider-anthropic","version":"1.0.1","keywords":["anthropic","claude","ai-provider","agentprodready"],"license":"MIT","_id":"@agentprodready/ai-provider-anthropic@1.0.1","maintainers":[{"name":"ameenmari78","email":"ameenmari78@gmail.com"}],"homepage":"https://github.com/ameenmari/agentprodready#readme","bugs":{"url":"https://github.com/ameenmari/agentprodready/issues"},"dist":{"shasum":"b1aeea60452ffa5b714c5fa30942455c07694eb4","tarball":"https://registry.npmjs.org/@agentprodready/ai-provider-anthropic/-/ai-provider-anthropic-1.0.1.tgz","fileCount":17,"integrity":"sha512-K9xLy/nB/Vi4gQO/by4al3PWY84GkdTGDMK1PASOxEMSrLMq6+NqKr7cL3D+wgtLbqV+nx+ybAOmNAatOJbA8g==","signatures":[{"sig":"MEUCIQDbiPw6CJY1AWrbu4viAqmBTf7Wd2C97H4crptvXs61JwIgMW9yi+my6GtDk2HmggGLhCWDx25Ky1H9O//Uarnr+1A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33566},"main":"dist/index.js","type":"module","_from":"file:agentprodready-ai-provider-anthropic-1.0.1.tgz","types":"dist/index.d.ts","engines":{"node":">=22 <25"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"_npmUser":{"name":"ameenmari78","email":"ameenmari78@gmail.com"},"_resolved":"C:\\Users\\AHLp\\AppData\\Local\\Temp\\cb19fddbcca4b294c3bcaa2fa711a041\\agentprodready-ai-provider-anthropic-1.0.1.tgz","_integrity":"sha512-K9xLy/nB/Vi4gQO/by4al3PWY84GkdTGDMK1PASOxEMSrLMq6+NqKr7cL3D+wgtLbqV+nx+ybAOmNAatOJbA8g==","repository":{"url":"git+https://github.com/ameenmari/agentprodready.git","type":"git","directory":"packages/ai-provider-anthropic"},"_npmVersion":"10.9.3","description":"Anthropic Messages API adapter for AgentProdReady AI Provider","directories":{},"_nodeVersion":"22.18.0","dependencies":{"@anthropic-ai/sdk":"0.116.0","@agentprodready/foundation":"1.0.1","@agentprodready/ai-provider":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ai-provider-anthropic_1.0.1_1786215660303_0.6565982964409083","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@agentprodready/ai-provider-anthropic","version":"1.0.2","description":"Anthropic Messages API adapter for AgentProdReady AI Provider","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"engines":{"node":">=22 <25"},"dependencies":{"@anthropic-ai/sdk":"0.116.0","@agentprodready/foundation":"1.0.1","@agentprodready/ai-provider":"1.0.3"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ameenmari/agentprodready.git","directory":"packages/ai-provider-anthropic"},"homepage":"https://github.com/ameenmari/agentprodready#readme","bugs":{"url":"https://github.com/ameenmari/agentprodready/issues"},"keywords":["anthropic","claude","ai-provider","llm","ai-agent","agentprodready","typescript","nodejs"],"_id":"@agentprodready/ai-provider-anthropic@1.0.2","_integrity":"sha512-eNAvGfR3HiGd3Q1w2HF2bw//808kbXP3lvouliqBML7/2NjEUAPkaE6GKGqdbYTtbbKxRX427dcefgIi+TfE/Q==","_resolved":"C:\\Users\\AHLp\\AppData\\Local\\Temp\\9b973a04f8cd9a03a9dca4194b26621f\\agentprodready-ai-provider-anthropic-1.0.2.tgz","_from":"file:agentprodready-ai-provider-anthropic-1.0.2.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-eNAvGfR3HiGd3Q1w2HF2bw//808kbXP3lvouliqBML7/2NjEUAPkaE6GKGqdbYTtbbKxRX427dcefgIi+TfE/Q==","shasum":"aa97f5f5cfdfec785b3a231cfe69f0a07d6110c9","tarball":"https://registry.npmjs.org/@agentprodready/ai-provider-anthropic/-/ai-provider-anthropic-1.0.2.tgz","fileCount":17,"unpackedSize":33625,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDOVvZmUo29lFH7QJVHcDPsgTQ1jqUWw/zOiCD2dhnY9AiAOYIJKVEKYJXK+N9ZIFG57n+cJFqhNDEEV9GIYp1ZCYQ=="}]},"_npmUser":{"name":"ameenmari78","email":"ameenmari78@gmail.com"},"directories":{},"maintainers":[{"name":"ameenmari78","email":"ameenmari78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-provider-anthropic_1.0.2_1786281380011_0.008061066674375894"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-08T18:22:19.646Z","modified":"2026-08-09T13:16:20.406Z","1.0.0":"2026-08-08T18:22:20.018Z","1.0.1":"2026-08-08T19:01:00.467Z","1.0.2":"2026-08-09T13:16:20.236Z"},"bugs":{"url":"https://github.com/ameenmari/agentprodready/issues"},"license":"MIT","homepage":"https://github.com/ameenmari/agentprodready#readme","keywords":["anthropic","claude","ai-provider","llm","ai-agent","agentprodready","typescript","nodejs"],"repository":{"type":"git","url":"git+https://github.com/ameenmari/agentprodready.git","directory":"packages/ai-provider-anthropic"},"description":"Anthropic Messages API adapter for AgentProdReady AI Provider","maintainers":[{"name":"ameenmari78","email":"ameenmari78@gmail.com"}],"readme":"# `@agentprodready/ai-provider-anthropic`\n\n**First-class Anthropic Messages API adapter** for AgentProdReady (`anthropic-ai`).\n\nNot an OpenAI-compatible gateway — use `openaiCompatible()` for Chat Completions endpoints.\n\n| | |\n|---|---|\n| **Status** | Published `1.0.x` |\n| **Install** | with `@agentprodready/agent-framework` |\n| **Credential** | `ANTHROPIC_API_KEY` only |\n| **Node** | `>=22 <25` · ESM |\n| **License** | MIT |\n\n---\n\n## Install\n\n```bash\nnpm install @agentprodready/agent-framework @agentprodready/ai-provider-anthropic\nexport ANTHROPIC_API_KEY=\"...\"   # PowerShell: $env:ANTHROPIC_API_KEY=\"...\"\n```\n\n---\n\n## Simple Agent API\n\n```js\nimport { createAgent, anthropic } from \"@agentprodready/agent-framework\";\n\nconst agent = createAgent({\n  model: anthropic(\"claude-sonnet-4-20250514\"),\n  instructions: \"You are a helpful assistant.\",\n});\n\nconst result = await agent.invoke(\"Hello\");\nconsole.log(result.text);\nawait agent.close();\n```\n\nSupports chat, tools, and streaming via the Anthropic Messages API.\n\n---\n\n## Ownership\n\n| Owns | Does **not** own |\n|---|---|\n| Anthropic Messages translation + normalized AI results | Capability selection; Security authorization; Runtime |\n| Capability id `anthropic-ai` | Treating Anthropic as `openaiCompatible` |\n\n---\n\n## Docs\n\n- [Anthropic guide](https://github.com/ameenmari/agentprodready/blob/main/docs/guides/anthropic.md)\n- Example: [examples/anthropic-agent](https://github.com/ameenmari/agentprodready/tree/main/examples/anthropic-agent)\n- [AI providers](https://github.com/ameenmari/agentprodready/blob/main/docs/guides/ai-providers.md)\n\n## License\n\nMIT © 2026 ameenmari\n","readmeFilename":"README.md"}