AgentKit

Build multi-agent networks in TypeScript with routing, shared state, and MCP tools.

AgentKit is Inngest's TypeScript framework for building agent networks: single agents or coordinated teams that share state and route work through code or model-driven routers. The Steel integration runs each agent's browser actions on a Steel cloud session, so AgentKit handles the orchestration and Steel handles the browser.

You can also expose MCP servers as tools and stream tokens and tool steps to a UI as the agent runs.

Requirements

  • Steel API Key: Active Steel subscription
  • Node.js: v20+
  • Packages: @inngest/agent-kit, inngest
  • Model provider key: OpenAI, Anthropic, Google Gemini, or any OpenAI-compatible endpoint

Connect Steel to AgentKit

Inside an AgentKit tool handler, create a Steel session and hand a Playwright page to your agent:

Typescript
import { chromium } from "playwright";
import Steel from "steel-sdk";
const steel = new Steel({ steelAPIKey: process.env.STEEL_API_KEY! });
const session = await steel.sessions.create({});
const browser = await chromium.connectOverCDP(
`${session.websocketUrl}&apiKey=${process.env.STEEL_API_KEY}`,
);
const page = browser.contexts()[0].pages()[0];
// `page` is your Steel browser. Call it from AgentKit tool handlers

Full runnable starter: Steel + AgentKit recipe →

Resources