Skip to main content

FORGE SDK

Build durable agent platforms.

A TypeScript SDK for building agents and flows with safe tools, persistent context, and a runtime designed to recover from real-world failures.

npm install @forge/agentkit @ai-sdk/anthropic

Start here

Core primitives

Start with one agent. Add tools, then use a flow when the process needs explicit, recoverable steps.

Your first agent

The embedded path runs in one process with in-memory adapters—ideal for learning, scripts, and tests.

Read the five-minute quickstart →
import { createAgent } from "@forge/agentkit/providers";

const agent = createAgent({
  manifest: {
    id: "assistant",
    name: "Assistant",
    instructions: "Be helpful and concise.",
    modelPolicy: { role: "smart" },
  },
});

const result = await agent.run({
  conversationId: "welcome",
  message: "What can you help me with?",
});

console.log(result.text);

Build for production

Choose how to run Forge

Connect the services your work uses

Install only the optional integration packages your application needs. Every integration enters through the same authorization and effect-gating path as a custom tool.

GitHubGoogleSlackJiraLinearNotionDiscordTelegramMetaAzureEmailWeb search
Browse all integrations →

Ready to build?

Start with one embedded agent, then add the capabilities your application needs.

Read the quickstart