
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@agentskit/runtime
Advanced tools
Run autonomous agents in 5 lines — no UI, no boilerplate, just results.
Tags: ai · agents · llm · agentskit · openai · anthropic · ai-agents · autonomous-agents · react-loop · orchestration · multi-agent
@agentskit/runtime is the headless agent engine: ReAct loops, tools, skills, delegation, memory, cancellation, and structured run results.
Docs: package guide · agent handoff
init/dispose, AbortSignal cancellation, memory persistence, and AgentEvent emissions for observabilityplanner skill with named delegates and the runtime coordinates sub-agents automaticallynpm install @agentskit/runtime @agentskit/adapters
import { createRuntime } from '@agentskit/runtime'
import { openai } from '@agentskit/adapters'
import { webSearch, filesystem } from '@agentskit/tools'
const runtime = createRuntime({
adapter: openai({ apiKey: process.env.OPENAI_API_KEY, model: 'gpt-4o' }),
tools: [webSearch(), ...filesystem({ basePath: './workspace' })],
systemPrompt: 'You are a helpful research assistant.',
})
const result = await runtime.run('Research the latest advances in quantum computing')
console.log(result.content)
console.log(`Completed in ${result.steps} steps, ${result.durationMs}ms`)
import { createRuntime } from '@agentskit/runtime'
import { anthropic } from '@agentskit/adapters'
import { researcher } from '@agentskit/skills'
const runtime = createRuntime({
adapter: anthropic({ apiKey: process.env.ANTHROPIC_API_KEY!, model: 'claude-sonnet-4-6' }),
})
const result = await runtime.run('Summarize REST vs GraphQL', { skill: researcher })
console.log(result.content)
createRuntime — single entry point for headless agent execution.{ content, steps, toolCalls, durationMs } — fully inspectable.AbortSignal cancellation support.init / dispose lifecycle hooks.AgentEvent emissions for observability integrations.retriever option for RAG context injection.| Primitive | Purpose | Docs |
|---|---|---|
createDurableRunner + createFileStepLog | Temporal-style step log; resume on crash | Durable execution |
supervisor / swarm / hierarchical / blackboard | Ready-made multi-agent topologies | Topologies |
speculate | Fan-out N adapters, race + abort losers | Speculative execution |
createCronScheduler + createWebhookHandler | Background agents, cron + webhooks | Background agents |
| Package | Role |
|---|---|
| @agentskit/core | createRuntime contracts, Retriever |
| @agentskit/adapters | LLM adapters |
| @agentskit/tools | Tool modules |
| @agentskit/skills | Pre-built skills |
| @agentskit/rag | retriever for context injection |
MIT — see LICENSE.
FAQs
Standalone agent runtime with ReAct loop for AgentsKit.
We found that @agentskit/runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.