/ @alternus/agent
Three lines
to a working agent.
The same runtime that powers Alternus OS — shipped as a typed TypeScript SDK. Bring your own tools, your own memory, your own UI.
INSTALL
$ npm install @alternus/agentagent.ts
1"color:#4284FF">import { Agent } "color:#4284FF">from "@alternus/agent";23"color:#4284FF">const agent = "color:#4284FF">new Agent({ model: "claude-opus-4-6" });45"color:#4284FF">await agent.run({6 goal: "Draft an email to the team about Q2 launch",7 tools: ["mail", "files", "calendar"],8});STREAMING
First token < 200ms
TOOL USE
Parallel function calls
MEMORY
Checkpointed, resumable
TYPE-SAFE
Full TypeScript types