@rcrsr/rill-ext-anthropic
v0.19.2
Published
rill extension for Anthropic Claude API integration
Maintainers
Readme
@rcrsr/rill-ext-anthropic
rill extension for Anthropic Claude API integration. Provides message, messages, embed, embed_batch, tool_loop, and generate host functions.
Install
npm install @rcrsr/rill-ext-anthropicQuick Start
rill-config.json
{
"main": "hello.rill",
"extensions": {
"mounts": {
"llm": "@rcrsr/rill-ext-anthropic"
},
"config": {
"llm": {
"api_key": "${ANTHROPIC_API_KEY}",
"model": "claude-sonnet-4-5-20250929"
}
}
}
}hello.rill
use<ext:llm> => $llm
$llm.message("Explain TCP handshakes") -> each { log }rill-runDocumentation
See full documentation for configuration, functions, error handling, events, and examples.
License
MIT
