{"_id":"@axiomhq/ai","_rev":"17-775dcc9a18d5aed9ace30d4d659edacc","name":"@axiomhq/ai","dist-tags":{"latest":"0.8.0"},"versions":{"0.0.1":{"name":"@axiomhq/ai","version":"0.0.1","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.0.1","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"0fd88ddf54e809006c76398069573f995a4e62ea","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.0.1.tgz","fileCount":6,"integrity":"sha512-TsMg/r/uOa2nP/gz2MmBvW18IQZBdQ6UW5hW6kUhmVUybz93qcwUPw8PUay+i5Gk97Acyz8NkY2LDJdxS96I/g==","signatures":[{"sig":"MEYCIQCxAy5sG0q5p+Hf56g2L7WQXd9vPkwDUIxStgNSZ1xBmgIhAO69Mft56lh9w7IQqsW1OHd1dHJynzHiTULHOPPR/egO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":495626},"main":"./dist/index.js","type":"module","_from":"file:axiomhq-ai-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/430b0226f3d5125d2b8b5a96230ecfaa/axiomhq-ai-0.0.1.tgz","_integrity":"sha512-TsMg/r/uOa2nP/gz2MmBvW18IQZBdQ6UW5hW6kUhmVUybz93qcwUPw8PUay+i5Gk97Acyz8NkY2LDJdxS96I/g==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides a simple API to wrap your AI models with observability instrumentation.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.17","aiv5":"npm:ai@5.0.0-canary.24","tsup":"^8.3.5","eslint":"^9.28.0","openai":"^5.3.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@^2.0.0-beta.7","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@^2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.5","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.0.1_1752777728576_0.8037842578181391","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@axiomhq/ai","version":"0.1.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.1.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"56d3aeb96fed91015b57bfe2775c8a62eae3dada","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.1.0.tgz","fileCount":6,"integrity":"sha512-O+PU4zM4z+tvOJ9DniNUzCIuoQVIAUTWHXIEqcBUwsC68txJwtGvee+eKckQ56WokCxN0Ak/6uswEtF0n5RCTw==","signatures":[{"sig":"MEUCIAIK98xDlZfYb1XgH9/BOq2jWGwiO2I1cjiwibkoSTnuAiEA10HCgG0UpLv/d8cQRCEja8cAfeI4RZFtwr45nbJ9CSQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743816},"main":"./dist/index.js","type":"module","_from":"file:axiomhq-ai-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/03bd62a9b2b4778bab6f6d9b9b7474a1/axiomhq-ai-0.1.0.tgz","_integrity":"sha512-O+PU4zM4z+tvOJ9DniNUzCIuoQVIAUTWHXIEqcBUwsC68txJwtGvee+eKckQ56WokCxN0Ak/6uswEtF0n5RCTw==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.17","aiv5":"npm:ai@5.0.0-beta.23","tsup":"^8.3.5","eslint":"^9.28.0","openai":"^5.3.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.10","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.5","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.1.0_1753178673063_0.4942519424370344","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@axiomhq/ai","version":"0.2.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.2.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"a0440a3484ddb5530370f1512e4aa1e9bc92e30b","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.2.0.tgz","fileCount":9,"integrity":"sha512-pESWt4tc/u+Je1wgc5uSvfhaEUxxh3L9G65MwI9c/nN73m8mQHT3zKfSMkkbi0RenlYADLvwPx1lXBB250/ATw==","signatures":[{"sig":"MEUCIEQGNcvpR+16oOT2k2RpSOcfMWV+4oNG9O2dOARkhKYYAiEA4t7l4ZLrCcD9AHYlvYq9Q6/D4ggV425uJqGS7iGORXU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1483442},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/fd31a4d4d803ab2cbaf6a4e1c6ede33f/axiomhq-ai-0.2.0.tgz","_integrity":"sha512-pESWt4tc/u+Je1wgc5uSvfhaEUxxh3L9G65MwI9c/nN73m8mQHT3zKfSMkkbi0RenlYADLvwPx1lXBB250/ATw==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.17","aiv5":"npm:ai@5.0.0-beta.23","tsup":"^8.3.5","eslint":"^9.28.0","openai":"^5.3.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.10","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.5","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.2.0_1753283372826_0.5018665206166073","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@axiomhq/ai","version":"0.3.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.3.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"e94d6ecaaf43e4336b36a2acb3c953eea611a0fb","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.3.0.tgz","fileCount":9,"integrity":"sha512-MlcEUFBjHrVpZuDVbiHUzzMIR6ktiqRVt2t12ChtEcma64iWnrvkzBqROlYLAiytmlrAlHTE0Ook5PZLHeT+pQ==","signatures":[{"sig":"MEQCIFEzQOBKRbYYvXuN0nqXzqJOapjxd0sc5kBMn1Cx2oSjAiAGIKyycvMHF8uqu5s7IaChferej/7xtIK0zG5kIQ66Fw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1483916},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/dd2176dd59785f45dfc9668d1a7447ad/axiomhq-ai-0.3.0.tgz","_integrity":"sha512-MlcEUFBjHrVpZuDVbiHUzzMIR6ktiqRVt2t12ChtEcma64iWnrvkzBqROlYLAiytmlrAlHTE0Ook5PZLHeT+pQ==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.17","aiv5":"npm:ai@5.0.0-beta.23","tsup":"^8.3.5","eslint":"^9.28.0","openai":"^5.3.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.10","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.5","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.3.0_1753287111564_0.749736044805299","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@axiomhq/ai","version":"0.4.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.4.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"80d3418bb03774528e290de8513cc84233c71b8b","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.4.0.tgz","fileCount":9,"integrity":"sha512-miNTJc5E/+o7BsJk3ig+jTysdrfGCXB2MHskTq6HGuwI44h/bZFkFPDGeqW9rmen6yYEu6S1kpZnRs2rHBjKqA==","signatures":[{"sig":"MEYCIQDpQ/yvzpJ7z009zqs0irgjof6wOHYqzVDhyucybgOcTwIhANzO5eQYuGzqPRTO9PPBjZ0AU/aGjH6XLSn9mCS1ko00","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1486000},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/9f591a95109c31b538d7de0f2c2aa76e/axiomhq-ai-0.4.0.tgz","_integrity":"sha512-miNTJc5E/+o7BsJk3ig+jTysdrfGCXB2MHskTq6HGuwI44h/bZFkFPDGeqW9rmen6yYEu6S1kpZnRs2rHBjKqA==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.17","aiv5":"npm:ai@5.0.0-beta.23","tsup":"^8.3.5","eslint":"^9.28.0","openai":"^5.3.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.10","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.5","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.4.0_1753797873486_0.840272978549337","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@axiomhq/ai","version":"0.5.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.5.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"11852e0928ea0a661c0d8142eec816ff03881a10","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.5.0.tgz","fileCount":9,"integrity":"sha512-q95BSoGtnThvHd0QDqolMvpn+XLziQ/mmyihj9Zb2m1iiWaNvia1M4qiIuL+EoaqisrDSYE7oC6QrbLYjIo5GQ==","signatures":[{"sig":"MEUCIQDGSVLUjMQBmUkqHy4+P4+fOWbfyZUNujGHD2Czrx8KKgIgf+35Te7C5MUFyedn4XKOq2dNE2BxmoSDRAA+ZQ/LD74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1493158},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/b3a6d492da040b5034f0c03dd9dbc32a/axiomhq-ai-0.5.0.tgz","_integrity":"sha512-q95BSoGtnThvHd0QDqolMvpn+XLziQ/mmyihj9Zb2m1iiWaNvia1M4qiIuL+EoaqisrDSYE7oC6QrbLYjIo5GQ==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.19","aiv5":"npm:ai@5.0.0-beta.28","tsup":"^8.3.5","eslint":"^9.28.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.12","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.9","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.5.0_1753948011946_0.8304465917363115","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@axiomhq/ai","version":"0.6.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.6.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"30d18568409be5b32c892faede4b909bb937b80d","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.6.0.tgz","fileCount":9,"integrity":"sha512-gXMBHprmF8vDB09YfmVe9yufS+MNSXuWmXbbHtdVUQAL+CgeDob6i7hzHeG8y8AHSaJLSow8glFOCJBilSVFvw==","signatures":[{"sig":"MEUCIQDs0Z6O8GVc5LkIIgjJFOSRAcrqMegBO16hCubANAd7BwIgEsL22mT5oc8LMd/bnPiOgGF+qY140/1fRNYE/wVUokc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1493123},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/c1d9509a7e6d314973d64ea846800ccd/axiomhq-ai-0.6.0.tgz","_integrity":"sha512-gXMBHprmF8vDB09YfmVe9yufS+MNSXuWmXbbHtdVUQAL+CgeDob6i7hzHeG8y8AHSaJLSow8glFOCJBilSVFvw==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.19","aiv5":"npm:ai@^5.0.0","tsup":"^8.3.5","eslint":"^9.28.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.12","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.9","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.6.0_1754307316190_0.2693234581796393","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@axiomhq/ai","version":"0.7.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.7.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"dist":{"shasum":"3e2a56cb29296ba518bd5284f9b7c65847f34b87","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.7.0.tgz","fileCount":9,"integrity":"sha512-suy42rnbkz8HWkXQGzzzqU1qVMoRYY1PlpaBWUJDouIleWvjEBBvekPPeId3UQtgTsejcbX3uioxupjZdKc44w==","signatures":[{"sig":"MEQCIHOSC7wMGpYVIeMkMsouFvr4TpMAAAa2mdhnGMxWEEZLAiBwlRFNn/1KkKn2jb/CIU4GRC+FkvhFASu622LV0Btm7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1504709},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/dad98e9445434408b795764f74e5e5d4/axiomhq-ai-0.7.0.tgz","_integrity":"sha512-suy42rnbkz8HWkXQGzzzqU1qVMoRYY1PlpaBWUJDouIleWvjEBBvekPPeId3UQtgTsejcbX3uioxupjZdKc44w==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.19","aiv5":"npm:ai@^5.0.0","tsup":"^8.3.5","eslint":"^9.32.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@types/nunjucks":"^3.2.6","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.12","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.9","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.7.0_1754317714223_0.2462199474454574","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@axiomhq/ai","version":"0.8.0","keywords":["axiom","logging","ai","otel","opentelemetry"],"author":{"name":"Axiom, Inc."},"license":"MIT","_id":"@axiomhq/ai@0.8.0","maintainers":[{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},{"name":"gabrielelpidio","email":"gabrieldeandradeleal@gmail.com"},{"name":"kevinehosford","email":"kev.e.hosford@gmail.com"},{"name":"bahlo","email":"hey@arne.me"},{"name":"mhr3","email":"michal.mhr@gmail.com"},{"name":"seiflotfy","email":"seif@axiom.co"},{"name":"flbn","email":"oliver@axiom.co"}],"contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"},{"name":"Gabriel de Andrade","email":"gabriel@axiom.co"}],"homepage":"https://github.com/axiomhq/ai#readme","bugs":{"url":"https://github.com/axiomhq/ai/issues"},"bin":{"axiom-ai":"dist/bin.js"},"dist":{"shasum":"3847967a26e5617fecc17205889b4f12e9deacb4","tarball":"https://registry.npmjs.org/@axiomhq/ai/-/ai-0.8.0.tgz","fileCount":33,"integrity":"sha512-f9ZTmUDjqVJQFysV07Ye049ksnvNBAaKh+7W/+LjUq1vJvPkKblwOErhMPmcPs5B+CJ2iY0Fd3jqd9eTZ7bPEQ==","signatures":[{"sig":"MEUCIQDLvBMQObIzVGAjDZYiwm60dBYBH2RKZnAhY5ZooZa8iQIgDgSmIAUAYU9wNT4DCjCSOS8FkJQ/PmVwqVTDZe6DWk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3603301},"main":"./dist/index.cjs","type":"module","_from":"file:axiomhq-ai-0.8.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./evals":{"import":{"types":"./dist/evals.d.ts","default":"./dist/evals.js"},"require":{"types":"./dist/evals.d.cts","default":"./dist/evals.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint './**/*.{js,ts}'","test":"vitest run","build":"tsup && chmod +x dist/bin.js","format":"prettier --write .","publint":"npx publint","typecheck":"tsc --noEmit","test:watch":"vitest --watch","format:check":"prettier --check ."},"_npmUser":{"name":"lukasmalkmus","email":"mail@lukasmalkmus.com"},"_resolved":"/tmp/b8d9d066081ae70b3202a19cafe239e6/axiomhq-ai-0.8.0.tgz","_integrity":"sha512-f9ZTmUDjqVJQFysV07Ye049ksnvNBAaKh+7W/+LjUq1vJvPkKblwOErhMPmcPs5B+CJ2iY0Fd3jqd9eTZ7bPEQ==","repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"_npmVersion":"10.9.2","description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.49","vitest":"^3.2.1","esbuild":"^0.25.8","@next/env":"^15.4.2","commander":"^14.0.0","handlebars":"^4.7.8","@sinclair/typebox":"^0.34.37","@opentelemetry/sdk-node":"^0.202.0","@opentelemetry/resources":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1","@opentelemetry/context-async-hooks":"^2.0.1","@opentelemetry/semantic-conventions":"^1.36.0","@opentelemetry/exporter-trace-otlp-http":"^0.202.0","@opentelemetry/auto-instrumentations-node":"^0.60.1"},"_hasShrinkwrap":false,"devDependencies":{"aiv4":"npm:ai@^4.3.19","aiv5":"npm:ai@^5.0.0","tsup":"^8.3.5","eslint":"^9.32.0","vitest":"^3.2.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^22.15.29","@ai-sdk/openaiv1":"npm:@ai-sdk/openai@^1.3.23","@ai-sdk/openaiv2":"npm:@ai-sdk/openai@2.0.0-beta.12","@ai-sdk/providerv1":"npm:@ai-sdk/provider@^1.1.3","@ai-sdk/providerv2":"npm:@ai-sdk/provider@2.0.0-beta.1","@opentelemetry/api":"^1.9.0","@ai-sdk/anthropicv1":"npm:@ai-sdk/anthropic@^1.2.12","@ai-sdk/anthropicv2":"npm:@ai-sdk/anthropic@2.0.0-beta.9","@opentelemetry/core":"^2.0.1","@repo/eslint-config":"1.0.0","@vitest/coverage-v8":"^3.2.4","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/sdk-trace-node":"^2.0.1"},"peerDependencies":{"@opentelemetry/api":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/ai_0.8.0_1754326712629_0.729720978301279","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-07-17T18:42:08.455Z","modified":"2026-09-03T13:20:54.331Z","0.0.1":"2025-07-17T18:42:08.814Z","0.1.0":"2025-07-22T10:04:33.244Z","0.2.0":"2025-07-23T15:09:33.073Z","0.3.0":"2025-07-23T16:11:51.861Z","0.4.0":"2025-07-29T14:04:33.737Z","0.5.0":"2025-07-31T07:46:52.186Z","0.6.0":"2025-08-04T11:35:16.504Z","0.7.0":"2025-08-04T14:28:34.537Z","0.8.0":"2025-08-04T16:58:32.928Z"},"bugs":{"url":"https://github.com/axiomhq/ai/issues"},"author":{"name":"Axiom, Inc."},"license":"MIT","homepage":"https://github.com/axiomhq/ai#readme","keywords":["axiom","logging","ai","otel","opentelemetry"],"repository":{"url":"git+https://github.com/axiomhq/ai.git","type":"git","directory":"packages/ai"},"description":"Axiom AI SDK provides an API to wrap your AI calls with observability instrumentation.","contributors":[{"name":"Islam Shehata","email":"islam@axiom.co"},{"name":"Chris Ehrlich","email":"chris@axiom.co"},{"name":"Gabriel de Andrade","email":"gabriel@axiom.co"}],"maintainers":[{"email":"mail@lukasmalkmus.com","name":"lukasmalkmus"},{"email":"kev.e.hosford@gmail.com","name":"kevinehosford"},{"email":"hey@arne.me","name":"bahlo"},{"email":"michal.mhr@gmail.com","name":"mhr3"},{"email":"seif@axiom.co","name":"seiflotfy"},{"email":"oliver@axiom.co","name":"flbn"},{"email":"gord@axiom.co","name":"gordallottaxiom"},{"email":"dchapman.noreply@gmail.com","name":"dominicchapman"},{"email":"thesollyz@proton.me","name":"islamshehata"},{"email":"njpatel@gmail.com","name":"njpatel"}],"readme":"# Axiom AI\n\nAxiom AI SDK provides an API to wrap your AI calls with observability instrumentation.\n\n## Model Wrapping\n\n```ts\nimport { createOpenAI } from '@ai-sdk/openai';\nimport { axiomAIMiddleware } from '@axiomhq/ai';\nimport { wrapLanguageModel } from 'ai';\n\nconst openai = createOpenAI({\n  apiKey: process.env.OPENAI_API_KEY!,\n  compatibility: 'strict',\n});\n\nconst model = openai('gpt-4o-mini');\n\nexport const gpt4oMini = wrapLanguageModel({\n  model,\n  middleware: [axiomAIMiddleware({ model })],\n});\n```\n\n## Tool Wrapping\n\n```ts\nimport { tool } from 'ai';\nimport { wrapTool } from '@axiomhq/ai';\nimport { z } from 'zod';\n\nconst getWeather = tool({\n  description: 'Get current weather for a city',\n  parameters: z.object({\n    city: z.string().describe('The city name'),\n    country: z.string().describe('The country code'),\n  }),\n  execute: async ({ city, country }) => {\n    // Your tool implementation\n    return {\n      city,\n      country,\n      temperature: 22,\n      condition: 'sunny',\n    };\n  },\n});\n\n// Wrap the tool for observability\nconst wrappedWeatherTool = wrapTool('weatherTool', weatherTool);\n```\n\n## Making AI Calls\n```ts\nconst result = await withSpan(\n  { capability: 'weather_bot', step: 'get_weather' },\n  (span) => {\n    return generateText({\n      model: gpt4oMini,\n      messages: [{ role: 'user', content: 'What is the weather in London?' }],\n      tools: {\n        getWeather: wrappedWeatherTool,\n      },\n    })\n  }\n)\n```\n\n## Install\n\n```bash\nnpm install @axiomhq/ai\n```\n\n## Documentation\n\nFor more information about how to set up and use the Axiom JavaScript SDK, read documentation on [axiom.co/docs/ai-engineering/quickstart](https://axiom.co/docs/ai-engineering/quickstart).\n","readmeFilename":"README.md"}