gentic
v1.0.2
Published
TypeScript client for Agentic API
Maintainers
Readme
Gentic SDK
TypeScript client library for the Gentic API.
Installation
npm install genticUsage
import { GenticClient } from 'gentic';
// Initialize the client
const client = new GenticClient('your-api-key');
// Create an agent
const agent = await client.createAgent({
name: 'My Agent',
description: 'A helpful assistant',
capabilities: ['chat', 'task-execution']
});
// Converse with the agent
const response = await client.converse(agent.id, {
message: 'Hello!',
history: [] // Optional conversation history
});
// Create a task
const task = await client.createTask(agent.id, {
input: {
// Your task input data
}
});
// Check task status
const taskStatus = await client.getTask(agent.id, task.id);License
MIT
