{"_id":"@agentkarma/sdk","_rev":"12-949396f55b960a36e5e991251786e5ea","name":"@agentkarma/sdk","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"@agentkarma/sdk","version":"0.1.0","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.1.0","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"dist":{"shasum":"5015848ce92f5dec18d0f50d0d2357186c763bd5","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.1.0.tgz","fileCount":33,"integrity":"sha512-EFcDNpnEnby9mjSXToSHiDKR8j8fwheFKNKFhX1kC8W3heYYXWOI504Q2zaegBiodpBqPM15B3lWSwvlMwCJ6Q==","signatures":[{"sig":"MEYCIQCRNYw1h+hn0gqnIZWyRoNmYJ/RbkocOMmaIqDOJN4EBwIhAIhUb7ND0qnvUvVRFjx59u/bvnWfohNMVNIZm1HoX6Tk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":151255},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ec5339e14d36df56181dc474b8e5a4349a0512ee","scripts":{"test":"bun test","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1781593905822_0.49237879805821994","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agentkarma/sdk","version":"0.2.0","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.0","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"873c5b22f17667aeeb3678f3e4057db17bea88b7","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.0.tgz","fileCount":48,"integrity":"sha512-7GMSGhCynF4FAHNu7NGK6b7Ph52v8bnBWbZLeXdoqHIpOXjHt30t9c/2NChCVyjb22yOkF0ufD04P3QP395RSQ==","signatures":[{"sig":"MEUCIE/aHXLVvIgflwv5W+LPaM2zOdR7SCFIWWLmhzFQi8AOAiEAwBEM8bfoekgHWuP5AJ/9otl2epveTyN2K5HBC0oXb84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":216628},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js"}},"gitHead":"c40aad96836b5e18a58b54680b444446b916f629","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1782375005145_0.198701876339324","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agentkarma/sdk","version":"0.2.1","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.1","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"1dccc6ab2a7d89e233d272f37c70613a16ff5d80","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.1.tgz","fileCount":48,"integrity":"sha512-sxJgPQ6uZfVDb8SRK6I7YMIyk2zSzvzWcnsyLztKlVqI2TqZe7aTYMG/CXzftqG+Vxsz1M4MrCNFx9c9S0YXyA==","signatures":[{"sig":"MEUCIAzeSwbw/i96Lazw6N0rXwDCooVguZxVNYyB0tjZH2+4AiEAo4NZTrHKAi2vMKDVPqKudwsaGoSCg+15YDGSPrredOI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":217049},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"abf53f58744a071b47fdbbfb77cddf58be50a10b","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1782379043991_0.5991324475008848","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agentkarma/sdk","version":"0.2.2","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.2","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"6335ae122fc5ac79c1f079b691ad85663e1036a8","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.2.tgz","fileCount":48,"integrity":"sha512-5oiUpRK2kHO8PGoDK8Tlwwmy6Fee1Di4wHFNi+yi1tgJSxihZBmCoHQadhbFIcegGZWTGs8xYBpfbatN4zAAqg==","signatures":[{"sig":"MEQCIEluD+DQzKOVEe5htIIKDiMwA+v4yYAOcHHQ8M1BrwfwAiBEIU5wvkDmrqlq2h+jKL3vj1q6eWXcaQRbHA9R8oXtGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":217155},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"cdc1dce58c726700028f371c8a8fa3afe103e1d2","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1784212843102_0.3806508254558676","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@agentkarma/sdk","version":"0.2.3","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.3","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"3f9bb204fda1e4715c2d21c58f8f2eb44150334a","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.3.tgz","fileCount":48,"integrity":"sha512-ndjnaEoBdmNm0tP9rTlp1vwActP88yhCVZwjfI/FCAeOE/jPUyo52IZStbceIFb+UEIoHVrCB7oo/j6yoD7NCw==","signatures":[{"sig":"MEYCIQDjhOMKWy2Mbca39TYCuOUdMtdJEsK5AcSRAS2ZwGa71gIhAPeaHst8JF1fixY/8HjGXR9xVsip5StL9QT1K/EOp9ln","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219720},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"b867ccff3b01badc173cc1d65178d23b1e3a02da","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.3_1785838244594_0.9763506410449438","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@agentkarma/sdk","version":"0.2.4","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.4","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"9af7cd6be403d37f86e0085db8230773baffce80","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.4.tgz","fileCount":48,"integrity":"sha512-tqTi17/U7kNO8gJC0il0qlc+HOseLYwJvUupE+0QDEQ/H8/wqAI6fxvyAFSr/hG9BSAXEcOZbJgvXEiHTJyNyg==","signatures":[{"sig":"MEQCIDJceP6BUZscDOUYMKNmB0vfJBZaxaEJtIjOFWT8ARv3AiA+UI2nYPo639C7zgomdU3h6RmywIdWNbG5m9QG/o6y2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220147},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"4a3480f7ec5b91d88e41dd4ef58dec2626b8598c","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.4_1788340439155_0.999814204494617","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@agentkarma/sdk","version":"0.2.5","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.5","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"c7adcd1d13102df2cf2c306ed60ed5500b16c5f2","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.5.tgz","fileCount":48,"integrity":"sha512-oSwpUqNtAYOEmj0RVAnJJYi05qgkg+4QdSvf4xF3AmXCRB2u3woDCHV+dW4LiAISW5H5I88wjhr8MiMgcOA0cQ==","signatures":[{"sig":"MEUCIQCTydqjdlWiiR9EgcmROgyUe1agNG2cx3oNgml0LsJMDAIgAPbHlu6Wn/S0hAWZN5jO0Ny/dJXo8YYKJyCgkNLhR10=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":227692},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"5702b12ca5c49b07d6a254d647168eed6fe8859e","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.5_1788342628804_0.14742783087166544","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@agentkarma/sdk","version":"0.2.6","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.2.6","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"ec435950f3a245900d2ff0454ac60160f5a2d6e5","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.2.6.tgz","fileCount":48,"integrity":"sha512-9PCqFY/cdMn7YcgDEdJ97tGz3GhD4GV+x62YOH1uj36E8M/sqlnB7Uev7aNpGsnIklsfvTjR0O6IPd4K9lUDLA==","signatures":[{"sig":"MEQCIDsut2/M1mahgf19KlwT69Zylv6jjiQ/DImD8qM9nEAMAiADUtZDQ236PQ1ta0RklK2mml6IM0d4g9l3aQxeGpGzLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":228155},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"eba09908e988321925a9257fe83e295ca42501f7","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.6_1788343945054_0.3112084446898846","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agentkarma/sdk","version":"0.3.0","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.3.0","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"1f31b74cf743e7924159bfbb20d04e285f795e9a","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.3.0.tgz","fileCount":48,"integrity":"sha512-PlKK4/HAKCq4n9fgmLT5ELLZKQwjTTEV6vTQGB0dWczzc+3jekN7ww8/nWg6L9pI0766gaz3raOVEeGlZNBieg==","signatures":[{"sig":"MEUCIQC/7NbwO7MeEnIITZKyrwT33CyrlpFWWTQJlWmdrAXONAIgPkla8qSO6tCGwTSl5b+xSSGByUDctqNhhFRX2lTnEAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238966},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"e11d29edb68e7427a83e2e06a3bdd28d94613d96","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1788359307829_0.12322889772944023","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agentkarma/sdk","version":"0.4.0","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.4.0","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"c624e398259a08cbee181561556c3ee3574698db","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.4.0.tgz","fileCount":48,"integrity":"sha512-QBJ7jyU5vXizJiF02GrGANg+03xoj9KzeVH72lHpUWVXNEB2/kVdFoHLNCnSvpJxy/ezL2DpWuWLn08zzFzSMA==","signatures":[{"sig":"MEUCIQDI4pnMUbcPgEJm3FEw30y/RP6aaHuCS5tcX0y4WUTuyQIgP2mOz8tIJzWc3VMl1Xls8gaPfYeKj3Tl/zEyO0SVq0s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":242763},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"c63fed5483bb4be79573742cc619ac697baff206","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1789047262639_0.520695167261285","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@agentkarma/sdk","version":"0.4.1","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","_id":"@agentkarma/sdk@0.4.1","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"homepage":"https://agentkarma.io","bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"dist":{"shasum":"a5360d0d6e7986766d64278f98f7c2665eee3258","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.4.1.tgz","fileCount":48,"integrity":"sha512-y+XytUWQutpw49niu1SvIQGRTEYbU+0C/eVwQIdXF4qKDr1kHhQNsgLsvENsvzGZHpst3OZEE1FiWyHA0+XHng==","signatures":[{"sig":"MEYCIQDLO0JBvZhLEIeJHzQhGQIixmwfz/4XscfvTkTf8SXoqQIhALg8/UHpjsBvUgXgvinjE58mw7sIm7mlTdppQ6KEcp/X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":242816},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./package.json":"./package.json"},"gitHead":"44a3a7ecf673646b7fd59f051b5b9b6ed8c9d100","scripts":{"test":"bun test","build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"repository":{"url":"git+https://github.com/agentkarmaio/sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.13","typescript":"^6.0.2","@types/node":"^25.5.2","@modelcontextprotocol/sdk":"^1.29.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.1_1789047329989_0.41610982913867933","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agentkarma/sdk","version":"0.5.0","description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","license":"MIT","author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"homepage":"https://agentkarma.io","repository":{"type":"git","url":"git+https://github.com/agentkarmaio/sdk.git"},"bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./tools":{"types":"./dist/tools.d.ts","import":"./dist/tools.js","default":"./dist/tools.js"},"./mcp":{"types":"./dist/mcp.d.ts","import":"./dist/mcp.js","default":"./dist/mcp.js"},"./package.json":"./package.json"},"bin":{"agentkarma-mcp":"dist/mcp-cli.js"},"sideEffects":false,"engines":{"node":">=18"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json && chmod +x dist/mcp-cli.js","typecheck":"tsc -p tsconfig.json --noEmit","test":"bun test","clean":"rm -rf dist","prepublishOnly":"npm run build"},"keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"peerDependencies":{"@modelcontextprotocol/sdk":">=1.0.0 <2"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"devDependencies":{"@modelcontextprotocol/sdk":"^1.29.0","@types/node":"^25.5.2","bun-types":"^1.3.13","typescript":"^6.0.2"},"_id":"@agentkarma/sdk@0.5.0","gitHead":"b15f19bd8274477f9ce04f10af32a88eb563f024","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-dl8t4L/QWRhJmki5Bxmh6TZ7qo+TitoGOtl+a7kI+kLXwYPtmIGKQrAVVqXiAMrxHZK1w8fVFRfgGiMd0/OD8Q==","shasum":"75c3a329f9c2ffad6e1b4af235fd60cac175c05b","tarball":"https://registry.npmjs.org/@agentkarma/sdk/-/sdk-0.5.0.tgz","fileCount":48,"unpackedSize":244593,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCE/d+Sen3kZQ/zwEQnsdTVLsUKo2VxhSyVMQUQ0MDHKwIgbXZJZoJgViyMF04M5f5gfjAMxuMk7L9vcgXCzNnDpFg="}]},"_npmUser":{"name":"knrs","email":"kerem@noras.tech"},"directories":{},"maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.5.0_1789061459917_0.2978476100932692"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-16T07:11:45.629Z","modified":"2026-09-10T17:31:00.275Z","0.1.0":"2026-06-16T07:11:45.956Z","0.2.0":"2026-06-25T08:10:05.299Z","0.2.1":"2026-06-25T09:17:24.137Z","0.2.2":"2026-07-16T14:40:43.269Z","0.2.3":"2026-08-04T10:10:44.749Z","0.2.4":"2026-09-02T09:13:59.319Z","0.2.5":"2026-09-02T09:50:28.929Z","0.2.6":"2026-09-02T10:12:25.187Z","0.3.0":"2026-09-02T14:28:28.004Z","0.4.0":"2026-09-10T13:34:22.777Z","0.4.1":"2026-09-10T13:35:30.170Z","0.5.0":"2026-09-10T17:31:00.071Z"},"bugs":{"url":"https://github.com/agentkarmaio/sdk/issues"},"author":{"name":"Kerem Noras","email":"kerem@noras.tech"},"license":"MIT","homepage":"https://agentkarma.io","keywords":["agentkarma","reputation","agents","trust","erc-8004","x402","solana","celo","preflight","mcp","model-context-protocol"],"repository":{"type":"git","url":"git+https://github.com/agentkarmaio/sdk.git"},"description":"TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.","maintainers":[{"name":"knrs","email":"kerem@noras.tech"}],"readme":"# @agentkarma/sdk\n\nTypeScript SDK for [AgentKarma](https://agentkarma.io) — the reputation layer for autonomous on-chain agents.\n\nAdd a `check_trust_before_execute` step to any agent flow in under 10 minutes.\n\n- Framework-agnostic (Node 18+, Bun, Deno, browsers, edge runtimes)\n- Zero runtime dependencies\n- Typed responses for the public REST API\n- Local trust-policy evaluator with explainable allow/deny decisions\n- MCP-ready: a framework-agnostic tool catalog (`@agentkarma/sdk/tools`) + a turnkey MCP server (`@agentkarma/sdk/mcp`, `npx agentkarma-mcp`)\n- Never proxies, signs, or executes transactions on your behalf\n\n## Install\n\n```sh\nnpm install @agentkarma/sdk\n# or\nbun add @agentkarma/sdk\n```\n\n## Quick start — Solana karma lookup\n\n```ts\nimport { createAgentKarmaClient } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\nconst snap = await ak.getKarma('AgentTradingBotWalletAddress…');\n\nconsole.log(snap.provider?.score);          // 0–100\nconsole.log(snap.provider?.confidenceBadge); // 'receipt-backed' | 'behavior-inferred' | 'declared'\nconsole.log(snap.autonomy.label);            // 'agent-like' | 'mixed' | 'human-like' | null\n```\n\n## Multi-chain lookups\n\nAgentKarma indexes four chains: `solana`, `celo`, `stellar`, `arc`. `getKarma` defaults to `'solana'` for back-compat — pass `chain` for anything else so the SDK applies the right address validation (the Solana base58 shape would reject a Stellar `G…` or EVM `0x…` address). The SDK never auto-detects a chain from the address. The chain is sent on the wire (`?chain=`) so the server never guesses either: an EVM address can hold rows on both `celo` and `arc`.\n\n```ts\nimport { createAgentKarmaClient } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\n\n// Stellar — 56-char StrKey address, starts with G\nconst stellar = await ak.getKarma(\n  'GCC4T6DGC4RGV5PBILZIHWXORDSN366EE5Y3QXVDPIKCZT5W2T6OZ567',\n  { chain: 'stellar' },\n);\nconsole.log(stellar.provider?.score);\n\n// Celo / Arc — lowercase 0x address\nconst celo = await ak.getKarma('0xcfc0…5b96', { chain: 'celo' });\n```\n\nAddress formats per chain:\n\n| Chain | Address format |\n|---|---|\n| `solana` | base58, 32–44 chars |\n| `celo`, `arc` | EVM `0x` + 40 hex chars (lowercase) |\n| `stellar` | StrKey, 56 chars, starts with `G` |\n\nThe succession, bond, and surety methods take `chain` as an explicit first argument (see the method table below). The history and feedback endpoints are Solana-only today.\n\n## Quick start — Celo ERC-8004 lookup\n\n```ts\nimport { createAgentKarmaClient } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\nconst agent = await ak.getCeloAgent(9058);\n\nconsole.log(agent.owner);                  // 0x…\nconsole.log(agent.registration?.name);     // declared name from the agent registration JSON\nconsole.log(agent.reputation?.average);    // mean of unrevoked feedback values\n```\n\n## Enrichment blocks (server ≥ 2026-09, SDK ≥ 0.3.0)\n\n`getKarma` responses carry optional, additive blocks that turn a thin declared score into an auditable picture. They are omitted when empty or when the read fails; the core score shape never changes.\n\n| Key | What it holds |\n|---|---|\n| `registry` | ERC-8004 agents this wallet owns on the chain: name, description, declared services, explorer links |\n| `declared` | The v0.2 metadata rubric: score and 12 per-dimension pass/fail results |\n| `feedback` | ERC-8004 feedback aggregate + newest records from AgentKarma's mirror (`source`, `asOf` disclose lag) |\n| `discovery` | x402 endpoints discovered for this wallet (read-only; AgentKarma never calls them) |\n| `independence` | How much inbound value came from addresses this wallet also pays: `reciprocalShare`, `independentShare`, a `verdict`, `coverage`, and `observedPayments` |\n| `rankScore` | Evidence-weighted rank used on Explore (declared evidence ×0.7) |\n| `explain` | Deterministic plain-language sentences summarizing all of the above — hand these straight to an LLM |\n\n**Reading `independence` for underwriting.** `verdict` is one of `independent`, `mixed`,\n`circular` or `insufficient-data`. The last one means AgentKarma cannot see enough payee\ndata to decide — it is **not** a pass, and must not be read as one. `coverage` tells you\nwhy: it is the share of the wallet's outbound payments that carry an identified payee.\n`windowed: true` means the figures come from a recent sample rather than all history, and\n`observedPayments` tells you how many payments the verdict rests on.\n\nOn Stellar the block also carries `network`. A `chain: 'stellar'` request does not guarantee\nmainnet — an account absent from mainnet is resolved on testnet — so check it before treating\nthe amounts as real money.\n\n```ts\nconst snap = await ak.getKarma('0x558e…9d12', { chain: 'celo' });\nfor (const line of snap.explain ?? []) console.log('•', line);\n// • Provider score 100 (Excellent), declared; no payment receipts on record, …\n// • Owns 1 ERC-8004 agent on celo: \"Toppa\".\n// • 581 ERC-8004 feedback records from 490 distinct clients, average 96.7.\n```\n\n## Trust-gated execution\n\nThe `evaluateTrust` helper is a pure function over a snapshot. No network. No side effects. Always returns `{ allowed, reasons, observed }`.\n\n```ts\nimport { createAgentKarmaClient, evaluateTrust } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\n\nasync function shouldExecute(agentWallet: string) {\n  const snap = await ak.getKarma(agentWallet);\n\n  const decision = evaluateTrust(snap, {\n    face: 'provider',\n    minScore: 60,\n    requireReceiptBacked: true,            // require Tier 1 signal present\n    acceptedConfidenceBadges: ['receipt-backed', 'behavior-inferred'],\n    minTxCount: 5,\n    rejectAutonomyLabels: ['agent-like'],  // example: human-operated only\n  });\n\n  if (!decision.allowed) {\n    console.warn('rejected:', decision.reasons);\n    return false;\n  }\n  return true;\n}\n```\n\n## Partner integration pattern\n\nAgentKarma is non-routing. The SDK answers questions about reputation; it does not execute service calls or payments on your behalf. A partner (e.g. a service marketplace, x402 facilitator, agent orchestrator) preflights AgentKarma before performing its own action:\n\n```ts\nimport { createAgentKarmaClient, evaluateTrust, AgentKarmaError } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\n\nasync function payAgentForService(agentWallet: string, amount: number) {\n  let snap;\n  try {\n    snap = await ak.getKarma(agentWallet);\n  } catch (err) {\n    // Hard fail-open or fail-closed? Your call. Fail-closed example:\n    if (err instanceof AgentKarmaError) {\n      throw new Error('Trust check failed: ' + err.message);\n    }\n    throw err;\n  }\n\n  const decision = evaluateTrust(snap, {\n    minScore: 70,\n    requireReceiptBacked: true,\n    minTxCount: 10,\n  });\n\n  if (!decision.allowed) {\n    throw new Error(`Agent ${agentWallet} did not pass trust check: ${decision.reasons.join('; ')}`);\n  }\n\n  // Your own payment / service call goes here. AgentKarma never proxies it.\n  return await yourServiceCall(agentWallet, amount);\n}\n```\n\n## Submitting consumer feedback (Solana)\n\nFeedback submission is wallet-agnostic: the SDK builds the message, you sign it externally, the SDK posts the signature.\n\n```ts\nimport { createAgentKarmaClient, buildFeedbackMessage } from '@agentkarma/sdk';\n\nconst ak = createAgentKarmaClient();\n\n// 1. Build the canonical message\nconst { message, timestamp } = buildFeedbackMessage({\n  rating: 'delivered',\n  txSignature: 'YourSolanaTxSignature',\n});\n\n// 2. Sign with your wallet (any Solana wallet adapter, web3.js, etc.)\nconst signature = await yourWallet.signMessage(new TextEncoder().encode(message));\nconst signatureBase58 = base58Encode(signature);\n\n// 3. Submit\nawait ak.submitFeedback({\n  agentWallet: 'AgentWalletAddress…',\n  rating: 'delivered',\n  txSignature: 'YourSolanaTxSignature',\n  signature: signatureBase58,\n  message,\n});\n```\n\nThe server enforces a 5-minute freshness window on the embedded timestamp.\n\n## Configuration\n\n```ts\nconst ak = createAgentKarmaClient({\n  baseUrl: 'https://agentkarma.io',  // default\n  timeout: 10_000,                   // default ms\n  headers: { 'X-Partner': 'YourApp' },\n  userAgent: 'YourApp/1.0',\n  fetch: customFetch,                // optional override\n});\n```\n\nEach method accepts per-call options:\n\n```ts\nawait ak.getKarma(wallet, {\n  face: 'provider',                  // 'provider' | 'consumer' | 'both' (default)\n  chain: 'stellar',                  // 'solana' (default) | 'celo' | 'stellar' | 'arc'\n  signal: abortController.signal,    // request-level abort\n  timeout: 3000,                     // overrides client default for this call\n  headers: { 'X-Request-Id': 'abc' },\n});\n```\n\n## Errors\n\nEvery error is an `AgentKarmaError` subclass:\n\n| Class | When |\n|---|---|\n| `AgentKarmaValidationError` | Local argument check failed |\n| `AgentKarmaNotFoundError` | Server returned 404 |\n| `AgentKarmaRateLimitError` | Server returned 429 (with `retryAfter` in seconds) |\n| `AgentKarmaTimeoutError` | Request deadline exceeded |\n| `AgentKarmaAbortError` | Caller's own `signal` aborted the request |\n| `AgentKarmaNetworkError` | `fetch()` threw before getting a response |\n| `AgentKarmaMalformedResponseError` | 2xx response body didn't match expected shape |\n| `AgentKarmaServerError` | Other non-2xx response |\n\n```ts\nimport { AgentKarmaError } from '@agentkarma/sdk';\ntry {\n  await ak.getKarma(wallet);\n} catch (err) {\n  if (err instanceof AgentKarmaError) {\n    console.error(`status=${err.status} response=`, err.response);\n  }\n}\n```\n\n## Public methods\n\n| Method | Endpoint |\n|---|---|\n| `getKarma(wallet, { face?, chain?, … })` | `GET /api/v2/score/{wallet}?face={face}` — all chains, `chain` defaults `'solana'` |\n| `getProviderKarma(wallet)` | shortcut for provider face only |\n| `getConsumerKarma(wallet)` | shortcut for consumer face only |\n| `getCeloAgent(agentId)` | `GET /api/v2/celo/{agentId}` |\n| `searchAgents(query, { limit? })` | `GET /api/search?q={query}` |\n| `getAgentHistory(wallet, { limit?, offset? })` | `GET /api/agent/{wallet}/history` — Solana-only |\n| `getFeedbackSummary(wallet)` | `GET /api/feedback?agent={wallet}` — Solana-only |\n| `getSuccessionStatus(chain, wallet)` | `GET /api/v2/succession/{chain}/{wallet}` — all chains |\n| `getBondStatus(chain, wallet)` | `GET /api/v2/bond/{chain}/{wallet}` — all chains |\n| `getSuretyKarma(chain, wallet)` | `GET /api/v2/bond/{chain}/{wallet}` (`.surety`) — all chains |\n| `submitFeedback(input)` | `POST /api/feedback` — Solana-only |\n\n## MCP server & tool catalog\n\nExpose AgentKarma's read surface to any MCP client (Claude Desktop, Cursor, Continue, …).\n\n**Turnkey server** — run over stdio. The `agentkarma-mcp` bin ships inside\n`@agentkarma/sdk` and uses the optional `@modelcontextprotocol/sdk` peer, so the\nzero-install one-liner names both packages:\n\n```sh\nnpx -p @agentkarma/sdk -p @modelcontextprotocol/sdk agentkarma-mcp\n# point at a different host:\nAGENTKARMA_BASE_URL=https://staging.agentkarma.io \\\n  npx -p @agentkarma/sdk -p @modelcontextprotocol/sdk agentkarma-mcp\n```\n\nOr install once, then the bin resolves locally:\n\n```sh\nnpm i @agentkarma/sdk @modelcontextprotocol/sdk\nnpx agentkarma-mcp\n```\n\n**Embed the server** in your own process:\n\n```ts\nimport { createAgentKarmaMcpServer } from '@agentkarma/sdk/mcp';\nimport { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';\n\nconst server = createAgentKarmaMcpServer();          // backed by the public API\nawait server.connect(new StdioServerTransport());\n```\n\n`@agentkarma/sdk/mcp` requires the optional peer dependency `@modelcontextprotocol/sdk`\n(install it only if you use the server). The core client and the tool catalog stay\ndependency-free.\n\n**Framework-agnostic catalog** — the same nine read tools as plain JSON-Schema\ndescriptors you can mount on any host, or run directly:\n\n```ts\nimport { createAgentKarmaClient } from '@agentkarma/sdk';\nimport { agentKarmaTools, runAgentKarmaTool } from '@agentkarma/sdk/tools';\n\nconst ak = createAgentKarmaClient();\nagentKarmaTools.map((t) => t.name);\n// get_karma, get_celo_agent, search_agents, get_agent_history,\n// get_feedback_summary, get_succession, get_bond, get_surety, check_trust\n\nconst result = await runAgentKarmaTool(ak, 'check_trust', {\n  wallet: 'AgentWallet…',\n  min_score: 60,\n  require_receipt_backed: true,\n});\n```\n\nEvery tool is read-only, idempotent, and requires no keys. The one write\n(`submitFeedback`) is intentionally excluded, so an MCP server built from this\ncatalog needs no signer.\n\n## Non-routing guarantee\n\nAgentKarma is a reputation primitive. This SDK is read-only by design. It never:\n- proxies API calls or x402 payments\n- signs transactions on your behalf\n- holds private keys\n- ratelimits or queues your traffic\n\nYou always make your own service calls. AgentKarma just answers the trust question.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}