Skip to content

rcrsr/rill-ext

Repository files navigation

rill-ext

CI License

Vendor extensions for rill. Each extension is an independent npm package under @rcrsr/.

Packages

LLM

Package npm Description
rill-ext-anthropic npm Anthropic Claude API
rill-ext-openai npm OpenAI API
rill-ext-gemini npm Google Gemini API

Key-Value

Package npm Description
rill-ext-kv-sqlite npm SQLite key-value backend
rill-ext-kv-redis npm Redis key-value backend

Filesystem

Package npm Description
rill-ext-fs-s3 npm S3 filesystem backend

Vector Database

Package npm Description
rill-ext-qdrant npm Qdrant vector database
rill-ext-pinecone npm Pinecone vector database
rill-ext-chroma npm ChromaDB vector database

Other Integrations

Package npm Description
rill-ext-mcp npm MCP server integration
rill-ext-claude-code npm Claude Code CLI

Usage

All extensions follow the same factory pattern:

import { createRuntimeContext, prefixFunctions } from '@rcrsr/rill';
import { createAnthropicExtension } from '@rcrsr/rill-ext-anthropic';

const ext = createAnthropicExtension({
  api_key: process.env.ANTHROPIC_API_KEY,
  model: 'claude-sonnet-4-20250514',
});

const { dispose, ...functions } = prefixFunctions('llm', ext);
const ctx = createRuntimeContext({ functions });

// ... execute scripts ...

await dispose();

Extensions in the same category share function signatures. Swap providers with no script changes.

Versioning

Extensions match the minor version of @rcrsr/rill. Any extension at 0.4.x works with rill@0.4.y. Each extension change bumps the patch version independently.

Development

pnpm install
pnpm -r build
pnpm -r test

Related

License

MIT

About

Vendor extensions for the rill language runtime

Resources

License

Stars

Watchers

Forks

Contributors

Languages