For TypeScript devs

Same API in TypeScript. Same Rust engine.

@agentmatic/core is napi-rs bindings to the same Rust core. Zod-typed tools, Vercel AI SDK adapter, works on Node 20 / Deno / Bun.

Install

npm install @agentmatic/core zod
# pnpm add @agentmatic/core zod
# bun add @agentmatic/core zod

Five-line agent

import { Agent, OpenAI, defineTool } from '@agentmatic/core';
import { z } from 'zod';

const calculator = defineTool({
  name: 'calculator',
  description: 'Evaluate a math expression',
  parameters: z.object({ expression: z.string() }),
  execute: async ({ expression }) => eval(expression).toString(),
});

const agent = Agent.builder('math-helper')
  .llm(new OpenAI())
  .tools([calculator])
  .build();

console.log(await agent.invoke('What is 42 * 17?'));

What's different from JS-only frameworks

What we ship for TS specifically

Ship your next agent in minutes, not weeks.

MIT licensed. Drop-in for LangGraph. Native SDKs in 5 languages. Battle-tested resilience primitives in the box.