{"_id":"@agent-protocol/core","_rev":"2-414c774fd4dadf07319b8f2292a4dc7b","name":"@agent-protocol/core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@agent-protocol/core","version":"0.1.0","_id":"@agent-protocol/core@0.1.0","maintainers":[{"name":"omswami","email":"reach.oms2004@gmail.com"}],"dist":{"shasum":"2944216c6bbaf016764f4e3d64387bc6dc1f0dc3","tarball":"https://registry.npmjs.org/@agent-protocol/core/-/core-0.1.0.tgz","fileCount":15,"integrity":"sha512-xZN6bu7YpsqJN7Qj/PS1M3Ydc7uhpNZq09iuZEJXS3zPtgjj7QBtbZllVZDmvFTBvSfRwHCsPavxoJF84nTiUg==","signatures":[{"sig":"MEQCIBsipj/hCpK+ma4C5cXRzMIELCQFToHD/8deD5qx7KAwAiBBuAj1TKzCYbObGS5FScN4sbS8EYCaPjqmoT6wpwsAXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44643},"main":"dist/index.js","_from":"file:agent-protocol-core-0.1.0.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc -w","build":"tsc"},"_npmUser":{"name":"omswami","email":"reach.oms2004@gmail.com"},"_resolved":"/private/var/folders/21/cvgcsn117nx2b1r3fl_y12yc0000gn/T/5e09f0a314ebf770a3daa8c1acbd66bc/agent-protocol-core-0.1.0.tgz","_integrity":"sha512-xZN6bu7YpsqJN7Qj/PS1M3Ydc7uhpNZq09iuZEJXS3zPtgjj7QBtbZllVZDmvFTBvSfRwHCsPavxoJF84nTiUg==","_npmVersion":"10.9.3","description":"The core logic library for the Agent Protocol. This package acts as the \"Brain\" and \"Muscle\" of the AI Agent, providing session management, wallet tools, and transaction execution logic.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"viem":"^2.43.5","@solana/web3.js":"^1.98.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"wagmi":"^3.1.4","typescript":"^5","@types/node":"^20","@solana/wallet-adapter-react":"^0.15.39"},"peerDependencies":{"viem":"^2.0.0","wagmi":"^2.0.0 || ^3.0.0","@solana/web3.js":"^1.0.0","@solana/wallet-adapter-react":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1767713001421_0.789936179724517","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agent-protocol/core","version":"0.1.1","main":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"peerDependencies":{"@solana/web3.js":"^1.0.0","viem":"^2.0.0","@solana/wallet-adapter-react":"^0.15.0","wagmi":"^2.0.0 || ^3.0.0"},"dependencies":{"@solana/web3.js":"^1.98.4","viem":"^2.43.5"},"devDependencies":{"@types/node":"^20","typescript":"^5","@solana/wallet-adapter-react":"^0.15.39","wagmi":"^3.1.4"},"scripts":{"build":"tsc","dev":"tsc -w"},"_id":"@agent-protocol/core@0.1.1","description":"**The Core definitions for the Agent Protocol.**","_integrity":"sha512-VuFfna7Qrdah5UHJcbQ4vzF5/Q/Ln+c30OtxNx+tHjNjHbPF7/yHQsy7DN6HjCquUdvthasazlySuddhgrhikA==","_resolved":"/private/var/folders/21/cvgcsn117nx2b1r3fl_y12yc0000gn/T/4e0f7e12fb08a8aacccb061de9e0d9b3/agent-protocol-core-0.1.1.tgz","_from":"file:agent-protocol-core-0.1.1.tgz","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-VuFfna7Qrdah5UHJcbQ4vzF5/Q/Ln+c30OtxNx+tHjNjHbPF7/yHQsy7DN6HjCquUdvthasazlySuddhgrhikA==","shasum":"7c0ece68a8a01cb047a038925036f970e3a51ccf","tarball":"https://registry.npmjs.org/@agent-protocol/core/-/core-0.1.1.tgz","fileCount":15,"unpackedSize":47500,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDxkspItycPEHuvOIQWgcJQmBLnPIlkw6ju/f6cIApZ4AIhAKYn/huC3yrD9G6etrVrUvTuM2aASBIy1Y/fiSwcCN2I"}]},"_npmUser":{"name":"omswami","email":"reach.oms2004@gmail.com"},"directories":{},"maintainers":[{"name":"omswami","email":"reach.oms2004@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.1_1767720444300_0.3604494039962294"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-06T15:23:21.348Z","modified":"2026-01-06T17:27:24.669Z","0.1.0":"2026-01-06T15:23:21.578Z","0.1.1":"2026-01-06T17:27:24.444Z"},"description":"**The Core definitions for the Agent Protocol.**","maintainers":[{"name":"omswami","email":"reach.oms2004@gmail.com"}],"readme":"# @agent-protocol/core\n\n**The Core definitions for the Agent Protocol.**\n\nThis package provides the standardized JSON Schema definitions for tools that LLMs (like Gemini, GPT-4) can understand to interact with blockchains.\n\n## Installation\n\n```bash\npnpm add @agent-protocol/core\n# or\nnpm install @agent-protocol/core\n```\n\n## Usage\n\nImport standard tools to pass to your LLM configuration or the `@agent-protocol/ai` components.\n\n```typescript\nimport { ALL_TOOLS, transferSOLTool, swapTool } from \"@agent-protocol/core\";\n\n// ALL_TOOLS contains: [transferSOLTool, transferETHTool, getBalanceTool, swapTool]\n\n// Example: Passing to an LLM\nconst model = genAI.getGenerativeModel({ \n    model: \"gemini-2.5-flash\",\n    tools: [\n        {\n            functionDeclarations: ALL_TOOLS\n        }\n    ]\n});\n```\n","readmeFilename":"README.md"}