@cerebriline/sdk
The SDK that Cerebriline is built on: a TypeScript framework for programs that run an agent which can edit files, run commands and call tools.
npm install @cerebriline/sdk
import { Agent } from "@cerebriline/sdk"
const agent = new Agent({
providerId: "ollama",
modelId: "qwen3:8b",
systemPrompt: "You are a helpful coding assistant.",
tools: [],
})
const result = await agent.run("Say hello in one word.")
console.log(result.outputText)
It carries what this fork adds for local and small models: delegated agents and swarms, a sandbox per agent, the change protocol and file revisions, opencoti and xOllama support, the media tools and the Document Reader.
Where it comes from
A fork of the Cline SDK (@cline/sdk),
published under its own scope. The source is in
sdk/packages/sdk and keeps
upstream's package names; they are renamed when this package is packed. One
version is published per Cerebriline release, with the same number.
Needs Node 22 or newer. Apache-2.0, as upstream.