agent

anter-ai

TypeScript SDK for running in-process AI agents with schema-validated tools, on-demand skills, and AI SDK models.

TypeScriptCreated

What is anter-ai/agent?

Anter Agent is a TypeScript SDK for running a single reusable AI agent inside your application using a preconfigured AI SDK LanguageModel, tools, skills, and a bounded step loop. It provides non-conversational run calls alongside streaming events that redact sensitive input fields such as tokens, passwords, and API keys.

Tool inputs are validated before execution against a supported subset of JSON Schema, and three consecutive tool failures halt a turn. Skills attach instructions capped at thirty-two thousand characters loaded on demand via a reserved tool, while each agent also exposes bindings designed for multi-agent graphs in the companion runtime.

Installation requires Node.js 24 or newer, the peer AI SDK package, and an AI SDK provider package with your own API key if calling hosted models, whereas offline examples run against deterministic mock models. The companion graph runtime is not yet open-sourced or published, and standalone runs block tools marked ask because no built-in approval prompt exists.

Before you startThe README says

Runs on
Node.js 24 or newer
Needs
Node.js 24+, AI SDK (ai), and a provider package for hosted LLMs
Accounts or paid services
Your own LLM provider API key (e.g. Gemini), billed by that provider
How you get it
npm or pnpm package or run in-repo examples with pnpm
Not yet
Companion agent-runtime not yet published; standalone SDK lacks approval prompts

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.