klavis
Klavis-AI · Klavis-AI/klavis
Klavis AI cung cấp các nền tảng tích hợp MCP và SDK để cho phép các tác nhân AI sử dụng công cụ một cách đáng tin cậy và truy cập nhiều tích hợp khác nhau, tối ưu hóa cửa sổ ngữ cảnh.
Klavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
5.8k sao564Giấy phép: Apache-2.0Cập nhật 5 tháng trước0 lượt mở
Xem trước
▍
Bạn có thể làm gì với nó
- Kết nối tác nhân AI của bạn với hơn 100 tích hợp sẵn có với hỗ trợ OAuth.
- Tạo môi trường MCP có khả năng mở rộng để đào tạo LLM và học tăng cường.
- Tích hợp nhiều dịch vụ khác nhau vào quy trình làm việc của tác nhân AI bằng Python hoặc TypeScript SDK.
Kiểm tra an toàn
An toàn
Không thấy dấu hiệu rủi ro trong các file đã quét.
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
🎯 Choose Your Solution
Strata
<strong>Intelligent connectors for your AI agent, optimize context window</strong>
MCP Integrations
<strong>100+ prebuilt integrations out-of-the-box, with OAuth support</strong>
MCP Sandbox
<strong>scalable MCP environments for LLM training and RL</strong>
Quick Start
Option 1: Cloud-hosted - klavis.ai
Option 2: Self-host
# Run any MCP Integration
docker pull ghcr.io/klavis-ai/github-mcp-server:latest
docker run -p 5000:5000 ghcr.io/klavis-ai/github-mcp-server:latest
# Install Open Source Strata locally
pipx install strata-mcp
strata add --type stdio playwright npx @playwright/mcp@latest
Option 3: SDK
# Python SDK
from klavis import Klavis
from klavis.types import McpServerName
klavis = Klavis(api_key="your-key")
# Create Strata instance
strata = klavis_client.mcp_server.create_strata_server(
user_id="user123",
servers=[McpServerName.GMAIL, McpServerName.SLACK],
)
# Or use individual MCP servers
gmail = klavis.mcp_server.create_server_instance(
server_name=McpServerName.GMAIL,
user_id="user123",
)
// TypeScript SDK
import { KlavisClient, McpServerName } from 'klavis';
const klavis = new KlavisClient({ apiKey: 'your-api-key' });
// Create Strata instance
const strata = await klavis.mcpServer.createStrataServer({
userId: "user123",
servers: [Klavis.McpServerName.Gmail, Klavis.McpServerName.Slack],
});
// Or use individual MCP servers
const gmail = await klavis.mcpServer.createServerInstance({
serverName: McpServerName.GMAIL,
userId: "user123"
});
Option 4: REST API
# Create Strata server
curl -X POST "https://api.klavis.ai/v1/mcp-server/strata" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"user_id": "user123",
"servers": ["GMAIL", "SLACK"]
}'
# Create individual MCP server
curl -X POST "https://api.klavis.ai/v1/mcp-server/instance" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"server_name": "GMAIL",
"user_id": "user123"
}'
Resources
Made with ❤️ by the Klavis Team