Getting Started
Install and set up ZAIKit in your project
Getting Started
Installation
Install the core package:
pnpm add @zaikit/coreFor React applications, also install the React bindings:
pnpm add @zaikit/reactQuick Example
Create a simple agent:
import { createAgent, createTool, model } from "@zaikit/core";
const agent = createAgent({
model: model("gpt-4o"),
tools: [
createTool({
name: "greet",
description: "Greet the user",
parameters: { name: { type: "string" } },
execute: async ({ name }) => `Hello, ${name}!`,
}),
],
});