new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

helicone/setup

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Helicone API key environment variable

Set the Helicone API key as an environment variable named HELICONE_API_KEY with your Helicone API key value obtained from the Helicone Dashboard at https://us.helicone.ai/settings/api-keys.

Create Helicone provider instance

Import createHelicone from @helicone/ai-sdk-provider and create an instance by passing an object with the apiKey property set to your Helicone API key.

Helicone provider setup with createHelicone function

Create a Helicone provider instance using the `createHelicone()` function, passing an object with `apiKey` property set to your Helicone API key from the Helicone Dashboard at https://us.helicone.ai/settings/api-keys.

Helicone API key configuration

The Helicone provider requires an `apiKey` parameter set to your Helicone API key, which should be retrieved from https://us.helicone.ai/settings/api-keys.

Helicone get started example

Example of basic Helicone setup and usage: import { createHelicone } from '@helicone/ai-sdk-provider'; import { generateText } from 'ai'; const helicone = createHelicone({ apiKey: process.env.HELICONE_API_KEY, }); const result = await generateText({ model: helicone('claude-4.5-haiku'), prompt: 'Write a haiku about artificial intelligence', }); console.log(result.text);

Helicone with generateText

Example of using Helicone with generateText: ```javascript import { createHelicone } from '@helicone/ai-sdk-provider'; import { generateText } from 'ai'; const helicone = createHelicone({ apiKey: process.env.HELICONE_API_KEY, }); const { text } = await generateText({ model: helicone('claude-4.5-haiku'), prompt: 'Hello world', }); console.log(text); ``` You can use different models with Helicone, such as: - claude-4.5-haiku - gemini-2.5-flash-lite The pattern remains the same: create a Helicone instance, wrap your model name with the helicone() function, and use it with generateText to get the response text.

Helicone provider installation

The Helicone provider is available in the `@helicone/ai-sdk-provider` package and can be installed via npm or yarn.

Give your agent this brain