UI + hooks
Theming
CSS variables + optional preset themes. One source of truth across every framework binding.
AgentsKit ships headless components — theming is your call. Defaults
come from a lightweight stylesheet at
@agentskit/react/theme (equivalent for Vue / Svelte / Solid / RN).
Import a preset
import '@agentskit/react/theme'CSS variables
:root {
--ak-bg: #0b0f17;
--ak-surface: #111827;
--ak-border: #1f2937;
--ak-text: #e5e7eb;
--ak-muted: #9ca3af;
--ak-accent: #6366f1;
--ak-danger: #ef4444;
--ak-radius: 12px;
--ak-font: ui-sans-serif, system-ui, sans-serif;
--ak-mono: ui-monospace, SFMono-Regular, monospace;
}Dark / light
Variables flip on [data-theme="light"] / [data-theme="dark"].
Tailwind
Wire Tailwind to the CSS variables:
theme: {
extend: {
colors: {
ak: {
bg: 'var(--ak-bg)',
accent: 'var(--ak-accent)',
},
},
},
}Native + terminal
- React Native: theme via
ThemeProviderprop (JS object, same keys). - Ink: ANSI palette from the same keys (
ak.accent→ chalk hex).
Related
Data attributes
AgentsKit UI components are headless. Every stylable hook is a data-ak-* attribute so your CSS (or your LLM) can target them reliably.
Runtime
@agentskit/runtime is the execution engine for autonomous agents. It runs a ReAct loop — observe, think, act — until the model produces a final answer or a step limit is reached.