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

opencode/options

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

OpenCode adapter settings configuration

The createOpenCode() function accepts settings to configure the runtime. Settings include: auth (Anthropic, OpenAI, OpenAI-compatible, or AI Gateway authentication settings), model (OpenCode model id, with provider-prefixed values like anthropic/claude-sonnet-4-6 passed through to OpenCode), provider (provider id to use with unprefixed model), reasoningVariant (OpenCode reasoning/thinking variant for supported models such as low, medium, or high), port (bridge port override), and startupTimeoutMs (maximum time to wait for bridge to start).

OpenCode adapter settings example

const harness = createOpenCode({ model: 'anthropic/claude-sonnet-4-6', reasoningVariant: 'high', });

OpenCode provider configuration settings

OpenCode provider accepts the following settings: hostname (string, default: '127.0.0.1') - Server hostname; port (number, default: 4096) - Server port; autoStartServer (boolean, default: true) - Auto-start the OpenCode server; serverTimeout (number, default: 10000) - Server startup timeout in milliseconds; defaultSettings (object) - Default settings applied to all model calls.

OpenCode model settings configuration

OpenCode model settings include: agent ('build' | 'plan' | 'general' | 'explore') - Agent type for the model; sessionTitle (string) - Custom session title; systemPrompt (string) - Custom system prompt

Give your agent this brain