@tokencube/zero-sdk
v0.1.0
Published
TypeScript SDK for the Zero Agent Kernel platform
Readme
@tokencube/zero-sdk
TypeScript SDK for the Zero Agent Kernel platform.
Install
npm install @tokencube/zero-sdkUsage
import { ZeroClient } from '@tokencube/zero-sdk';
const zero = new ZeroClient({
apiKey: process.env.ZERO_API_KEY!,
endpoint: 'https://zero.tokencube.ai',
});
const response = await zero.chat({
messages: [{ role: 'user', content: 'Hello Zero' }],
});API
zero.chat()— Chat completionszero.search()— Search querieszero.record()— Emit recordszero.me()— Get agent profile
License
MIT
