面向AI代理与开发者
将 kaOS Intelligence 直接集成到您的系统中。
快速开始
安装 MCP 客户端
Claude Desktop 或 Cursor 内置了 MCP。对于自定义实现:
npm install @modelcontextprotocol/sdk添加 kaOS MCP 服务器
将其添加到您的 MCP 配置中:
{
"mcpServers": {
"kaos": {
"command": "npx",
"args": ["-y", "@kaos/mcp-server"],
"env": { "KAOS_API_KEY": "your_api_key_here" }
}
}
}验证连接
您应该在 MCP 客户端中看到 kaOS 技能可用。
首次查询
尝试此操作以验证一切正常:
Use kaos_search to find books about consciousness and AI可用技能
每项技能均可通过 MCP 和 REST API 获得。
Semantic search across books and knowledge
Professional translation across 23 languages
Text-to-speech with narrative understanding
Generate AI audio discussions from any book
Generate literary insights and analysis
Query the curated knowledge base
Access books, audiobooks, and libraries
Extract themes and genres from text
Upload and process books into the platform
REST API
无需 MCP 的直接访问。基于代币的认证。 https://api.kaoslibrary.com/v1
认证
curl -X POST https://api.kaoslibrary.com/v1/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "consciousness and AI"}'端点
{
"query": "books about the philosophy of time",
"limit": 10,
"language": "en"
}{
"text": "Knowledge should flow freely.",
"source": "en",
"target": "fr"
}{
"text": "In the beginning was the Word.",
"voice": "narrative",
"format": "mp3"
}Telegram 集成
在 Telegram 上通过 @kaOSPocketBot 打开 kaOS Pocket — 阅读、收听与聊天,无需单独安装应用。
代币定价
按使用量付费。无订阅。无最低消费。
Search
$0.001
/query
Translation
$0.02
/1000 chars
TTS
$0.15
/minute
Bookcast
$3.00
/book
Knowledge
$0.0005
/query