@loop-engine/adapter-anthropic
v0.1.6
Published
Anthropic adapter for creating Loop Engine AI actor submissions
Maintainers
Readme
@loop-engine/adapter-anthropic
Anthropic Claude adapter for Loop Engine - use Claude as a governed AI actor with confidence and evidence capture.
Install
npm install @loop-engine/adapter-anthropic @anthropic-ai/sdkQuick Start
import { createAnthropicActorAdapter } from "@loop-engine/adapter-anthropic";
const adapter = createAnthropicActorAdapter({
apiKey: process.env.ANTHROPIC_API_KEY!,
model: "claude-3-5-sonnet-latest"
});
const submission = await adapter.createSubmission({
signal: "submit_recommendation" as never,
actorId: "agent:claude" as never,
prompt: "Analyze demand and recommend PO action"
});Documentation link
https://loopengine.io/docs/integrations/anthropic
License
Apache-2.0 © Better Data, Inc.
