@helixharness/models
v0.1.0
Published
LLM model adapters for the Helix agent runtime — OpenAI, Anthropic, and more
Maintainers
Readme
@helixharness/models
LLM model adapters for the Helix agent runtime.
Install
npm install @helixharness/modelsSupported Adapters
OpenAICompatibleAdapter— works with OpenAI, Groq, Ollama, and any OpenAI-compatible endpointAnthropicCompatibleAdapter— Anthropic-specific adapter with extended thinking supportgetModel()— factory that picks the right adapter for you
Quick Example
import { getModel } from "@helixharness/models";
const model = getModel({
model: "gpt-4o",
apiKey: process.env.OPENAI_API_KEY,
});
// or
const model = getModel("claude-sonnet-4-6", {
apiKey: process.env.ANTHROPIC_API_KEY,
});