Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Welcome to Theo Docs — the AI orchestration API.
通过自定义角色、技能和工具,将 Theo 嵌入你的产品。
Your Application (CRM, dashboard, app) └── Your UI (chat, sidebar, actions) └── @hitheo/sdk (evi instance) └── Theo API (api.hitheo.ai) └── Classify → Skills → Route → Agent Loop → Response
const evi = theo.evi({ persona: "You are Kai, a friendly coding assistant for DevHub.", }); const res = await evi.complete({ prompt: "Why is my useEffect running twice?", });
const evi = theo.evi({ persona: "You are Atlas, an operations assistant for AcmeCorp.", skills: ["inventory-check", "data-extraction"], });
const evi = theo.evi({ persona: "You are Nova, the AI assistant for WarehouseOS.", skills: ["data-extraction"], tools: [ { name: "check_inventory", description: "Look up stock levels for a SKU", input_schema: { type: "object", properties: { sku: { type: "string" } }, required: ["sku"], }, }, ], });
const stream = evi.stream({ prompt: "Generate inventory report" }); for await (const event of stream) { if (event.type === "token") process.stdout.write(event.token!); }
mode: "fast"
此页面对您有帮助吗?