@chanl/sdk
v2.0.4
Published
TypeScript SDK for Chanl AI platform — agents, tools, scenarios, knowledge, memory, and more
Readme
@chanl/sdk
TypeScript SDK for the Chanl AI platform.
Build, connect, and monitor AI agents for customer experience.
Install
npm install @chanl/sdkQuick Start
import { Chanl } from '@chanl/sdk';
const chanl = new Chanl({
apiKey: 'your-api-key',
});
// List agents
const agents = await chanl.agents.list();
// Chat with an agent
const response = await chanl.chat.send(agentId, {
message: 'Hello!',
});
// Search knowledge base
const results = await chanl.knowledge.search({ query: 'FAQ' });Modules
| Module | Description |
|--------|-------------|
| agents | Manage AI agents |
| tools | MCP tools and toolsets |
| scenarios | Test scenarios and simulations |
| knowledge | Knowledge base (RAG) |
| memory | Agent memory |
| chat | Chat sessions |
| calls | Call analytics and transcripts |
| scorecards | Call evaluation |
| prompts | Prompt templates |
| personas | Test personas |
| mcp | MCP server configuration |
Documentation
License
MIT
