Sign In

@agentskit/core

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentskit/core

Portable AgentsKit runtime for chat orchestration, tools, memory, and retrieval.

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1.6K
-15.47%
Maintainers
1
Weekly downloads
 
Created
Source

@agentskit/core

stability: stable

The zero-dependency foundation that every AgentsKit package builds on.

Why

  • Start without baggage — no external deps means it installs fast, audits clean, and works in any environment (Node, Deno, edge, browser)
  • Build your own framework — all shared primitives, type contracts, and the chat state machine are here, ready to compose
  • Types without the weight — import ToolDefinition, SkillDefinition, AgentEvent, and more without pulling in React or any adapter

Install

npm install @agentskit/core

Quick example

import { createChatController, createInMemoryMemory } from '@agentskit/core'
import { anthropic } from '@agentskit/adapters'

const controller = createChatController({
  adapter: anthropic({ apiKey: process.env.ANTHROPIC_API_KEY, model: 'claude-sonnet-4-6' }),
  memory: createInMemoryMemory(),
})

await controller.send('Hello!')
console.log(controller.getState().messages)

Next steps

  • Pass tools from @agentskit/tools into the controller config for ReAct-style tool use
  • Use the same adapter with createRuntime for headless agents, or with useChat for a browser UI
  • Add persistence with @agentskit/memory or RAG with @agentskit/rag

Ecosystem

PackageRole
@agentskit/adaptersLLM chat + embedding providers
@agentskit/runtimecreateRuntime — agents without UI
@agentskit/reactuseChat, headless chat components
@agentskit/toolsExecutable tools

Docs

Full documentation

Keywords

agentskit

FAQs

Package last updated on 15 Apr 2026

Did you know?

Socket

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.

Install

Related posts