Skip to Content

@loopstack/claude-module

Installation

npm install @loopstack/claude-module

Register the module in your app module:

import { Module } from '@nestjs/common'; import { ClaudeModule } from '@loopstack/claude-module'; @Module({ imports: [ClaudeModule], }) export class AppModule {}

ClaudeModule registers the claude provider into the LLM provider registry on startup, so import it alongside LlmProviderModule (from @loopstack/llm-provider-module).

The module reads the Anthropic API key from the ANTHROPIC_API_KEY environment variable:

ANTHROPIC_API_KEY=sk-ant-...
Last updated on