{"_id":"@axemere/gateway-langchain","_rev":"3-149f6c259e45bd0e10eecb0e2d533b4c","name":"@axemere/gateway-langchain","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.9":{"name":"@axemere/gateway-langchain","version":"0.1.9","license":"MIT","_id":"@axemere/gateway-langchain@0.1.9","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"d6c4c3e619f929d8cf1e8ddd4bef90eacf1d33a7","tarball":"https://registry.npmjs.org/@axemere/gateway-langchain/-/gateway-langchain-0.1.9.tgz","fileCount":7,"integrity":"sha512-S0ciuQa5U7Rqenq579k6bNcdZw8uBtHqY6T5rzo33Kumbaibn1T9sB+L6IpfVa31o+XlK/kzbwy+wr5Gnecc+A==","signatures":[{"sig":"MEUCIQCgmd0j0ENYACjqVmy7pXZ81ZKDoSGBW0fnfmZKL/rhvwIgGC/6s0ew4raJIzsSJ8JS95LDyzZoFGwqaqsSEUFobms=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32064},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-langchain-0.1.9.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/c78873b752923260296f65492dfb2cda/axemere-gateway-langchain-0.1.9.tgz","_integrity":"sha512-S0ciuQa5U7Rqenq579k6bNcdZw8uBtHqY6T5rzo33Kumbaibn1T9sB+L6IpfVa31o+XlK/kzbwy+wr5Gnecc+A==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-langchain"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — LangChain BaseChatModel integration","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.9","@axemere/gateway-openai":"0.1.9","@axemere/gateway-anthropic":"0.1.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","@langchain/core":"^0.3.0"},"peerDependencies":{"@langchain/core":">=0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-langchain_0.1.9_1782772304635_0.6031670615911604","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@axemere/gateway-langchain","version":"0.1.10","license":"MIT","_id":"@axemere/gateway-langchain@0.1.10","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"78ad2f094c23ab5417fff4c53d4e3707c06178bf","tarball":"https://registry.npmjs.org/@axemere/gateway-langchain/-/gateway-langchain-0.1.10.tgz","fileCount":7,"integrity":"sha512-9Rs3UgSf3hqXP6RJbEYvK7IRF72YOFVVL9fDndpRUM8ZiYyPZR0poOmLArOuMz95cC9SRXIjer+HA4vYpGR+Kg==","signatures":[{"sig":"MEUCIEtLkau46AUiAYIWn050Fw8hEbg4UXCMo1V5uM+YVdRpAiEA1v52dJkL4uIK6Mu3+yBghxmpFa0R/AFf8UQG/yWsrnM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32068},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-langchain-0.1.10.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/b2ac489c660ae741540f86a3ef4b2640/axemere-gateway-langchain-0.1.10.tgz","_integrity":"sha512-9Rs3UgSf3hqXP6RJbEYvK7IRF72YOFVVL9fDndpRUM8ZiYyPZR0poOmLArOuMz95cC9SRXIjer+HA4vYpGR+Kg==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-langchain"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — LangChain BaseChatModel integration","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.10","@axemere/gateway-openai":"0.1.10","@axemere/gateway-anthropic":"0.1.10"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","@langchain/core":"^0.3.0"},"peerDependencies":{"@langchain/core":">=0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-langchain_0.1.10_1783088689645_0.4030853263393621","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@axemere/gateway-langchain","version":"0.2.0","description":"Axemere AI Gateway SDK — LangChain BaseChatModel integration","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/Axemere-LLC/axemere-node.git","directory":"packages/gateway-langchain"},"publishConfig":{"access":"public"},"peerDependencies":{"@langchain/core":">=0.3.0"},"dependencies":{"@axemere/gateway":"0.2.0","@axemere/gateway-openai":"0.2.0","@axemere/gateway-anthropic":"0.2.0"},"devDependencies":{"@langchain/core":"^0.3.0","typescript":"^5.4.0","@types/node":"^20.0.0","@types/jest":"^29.0.0","jest":"^29.0.0","ts-jest":"^29.0.0"},"jest":{"preset":"ts-jest","testEnvironment":"node","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]}},"scripts":{"build":"tsc","test":"jest"},"_id":"@axemere/gateway-langchain@0.2.0","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","_integrity":"sha512-OFSpSDuMlJfN3r7sngF+jhOUJwnhv0AxRL8NJ0e/NdCoBMMPN/KEEtdNvR0/gBL/zpZZNVSF3I+smsjeVC48cw==","_resolved":"/tmp/4a2fdab6978644f2267a3a17fdd9a5dc/axemere-gateway-langchain-0.2.0.tgz","_from":"file:axemere-gateway-langchain-0.2.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-OFSpSDuMlJfN3r7sngF+jhOUJwnhv0AxRL8NJ0e/NdCoBMMPN/KEEtdNvR0/gBL/zpZZNVSF3I+smsjeVC48cw==","shasum":"f7e2ba0eab39b5dfbeabf7078206cbf9970d8ffd","tarball":"https://registry.npmjs.org/@axemere/gateway-langchain/-/gateway-langchain-0.2.0.tgz","fileCount":7,"unpackedSize":31049,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAEQx9vjmGHwNC1DknAWTgzAwKXwgVsIajuxcZbJBhvAAiEA5GppQw9Sl73Siq18qqemXtmQUbbyWWFzQV+feEE1UVc="}]},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"directories":{},"maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gateway-langchain_0.2.0_1786552328125_0.9926823719131468"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-29T22:31:44.423Z","modified":"2026-08-12T16:32:08.605Z","0.1.9":"2026-06-29T22:31:44.789Z","0.1.10":"2026-07-03T14:24:49.856Z","0.2.0":"2026-08-12T16:32:08.286Z"},"bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"license":"MIT","homepage":"https://github.com/Axemere-LLC/axemere-node#readme","repository":{"type":"git","url":"git+https://github.com/Axemere-LLC/axemere-node.git","directory":"packages/gateway-langchain"},"description":"Axemere AI Gateway SDK — LangChain BaseChatModel integration","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"readme":"# @axemere/gateway-langchain\n\nLangChain `BaseChatModel` integration for the [Axemere AI Gateway](https://axemere.ai).\n\n## Installation\n\n```bash\nnpm install @axemere/gateway-langchain @langchain/core\n```\n\n## Usage\n\n```ts\nimport { ChatAiGateway } from \"@axemere/gateway-langchain\";\nimport { HumanMessage } from \"@langchain/core/messages\";\n\nconst llm = new ChatAiGateway({ provider: \"openai\", model: \"gpt-4o-mini\" });\nconst res = await llm.invoke([new HumanMessage(\"Explain monads in one sentence.\")]);\nconsole.log(res.content);\n```\n\n## Supported providers\n\nEvery provider in the MVGC gateway registry, re-exported as `PROVIDER_ROUTES` from\n`@axemere/gateway`: `openai`, `anthropic`, `gemini` (alias `google`), `cohere`, `mistral`,\n`groq`, `deepseek`, `together`, `minimax`, `moonshot`, `zhipu`, `xai`, `perplexity`,\n`openrouter`, `nvidia-nim`, `upstage`, `fireworks`, `qwen`, `bytedance`, `stepfun`, `bedrock`,\n`vertex`, `azure_openai`.\n\n## Proxy-mode convenience re-exports\n\n```ts\nimport { aiGatewayOpenAIClient, aiGatewayAnthropicClient } from \"@axemere/gateway-langchain\";\n\nconst openai = aiGatewayOpenAIClient();\nconst anthropic = aiGatewayAnthropicClient();\n```\n\n## Configuration\n\nReads `AXEMERE_GATEWAY_URL` and `AXEMERE_GATEWAY_TOKEN` from the environment, or pass a\n`config` field to the constructor.\n\nSee [@axemere/gateway](https://www.npmjs.com/package/@axemere/gateway) for all configuration options.\n","readmeFilename":"README.md"}