skip to content

AI apps

Build an app that uses a model.

Call a model, stream the answer, and add tools or memory when you need them. Sofuu keeps those pieces in the runtime, so you can start with one feature.

Start with a model call.

Add the rest when the app needs it.

Model calls

Use OpenAI, Anthropic, DeepSeek, OpenRouter, or any compatible API.

Streaming

Send tokens to a terminal or an HTTP response as they arrive.

Agents

Give the model a goal, tools, and memory, then let it work.

In code

A loop around the model.

An agent can call tools and read memory until the job is done. Every run leaves a trace you can read.

agent.jsjavascript

const agent = sofuu.agent.define({  name: "release-captain",  system: "Fix the failing release and explain the change.",  tools: ["coding", "tests", "memory"],}); // sofuu agent run release-captain "fix the failing release"

FAQ

Common questions.

Providers, keys, and traces.

Do I need an API key?

Only for remote providers. Local memory and tools work offline.

Which providers work?

OpenAI, Anthropic, DeepSeek, OpenRouter, and any OpenAI-compatible endpoint.

Can I see what it did?

Yes. Runs write JSONL traces; open one with sofuu logs.

Build

Add AI to your app.

Start with one model call and grow from there.

$ curl -fsSL https://sofuu.xyz/install | sh