LingXi private assistant
Bring Ancient Echoes Q&A to Telegram, Feishu, OpenClaw, and server terminals with the same account, RAG, quota, and audit controls.
Device auth reuses the website account system: JWT / Cookie / sk- / lxd_.
RAG still runs through the website backend on private hosts and is not exposed to terminals.
Compatible with chat/completions, responses, audit logs, and device config delivery.
curl -fsSL https://www.ancientechoes.ai/install-lingxi.sh | bashcurl -fsSL https://www.ancientechoes.ai/install-lingxi.sh | bash -s -- init --base-url https://www.ancientechoes.ai --auth-token "$LINGXI_AUTH_TOKEN"curl -fsSL https://www.ancientechoes.ai/install-lingxi.sh | bash -s -- link --base-url https://www.ancientechoes.aiMCP tool surface
同一个 /api/v1/mcp 端点向 Claude Code、Cursor、Codex 和自建 Agent 暴露 36 个当前开放的只读领域工具。登录用户可直接使用排盘、占问与择日基础计算;格局、喜用、论财等专题按套餐开放。
协议同时支持 2026-07-28(server/discover、每请求 _meta)与旧版 initialize 握手。
每个结果带 calculationCapability 与 calculationVersion,可按版本复现。
当前每用户每日 200 次、每分钟 30 次;超限返回 tool_quota_exceeded。
当前开放 36 个工具(免费 — 个,付费 — 个),LingXi Skill 0 个。
curl -sS https://www.ancientechoes.ai/api/v1/mcp -H "Authorization: Bearer $ANCIENT_ECHOES_TOKEN" -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: server/discover" -d '{"jsonrpc":"2.0","id":1,"method":"server/discover"}'Create a Web API KeyPlans and access notes
These are LingXi usage notes, not a replacement for live prices on the upgrade page.
Finish device auth and a single-entry dry run
For website users who are just starting with LingXi
Get install / link / doctor working first
Good for verifying OpenClaw or a single channel
Live quota and price always follow the upgrade page
Default plan for stable Q&A and knowledge-base use
For people who keep Telegram / Feishu / OpenClaw running
Better for ongoing chat/completions and responses
Covers regular RAG Q&A and device management
The suggested default for daily LingXi use
For high-frequency Q&A, many devices, and heavy coding
For coding-assistant and high-activity private-assistant workflows
Better for frequent coding and always-on entry points
For users sensitive to model routing, quota, and response rate
Intended for intensive private-assistant work
Channel status
The first release focuses on Telegram / Feishu / OpenClaw. DingTalk stays on a bridge path.
Device-side API examples
The repo already has a runnable CLI and reusable SDK for device or terminal integration.
LINGXI_AUTH_TOKEN=sk-xxx node scripts/lingxi-cli.js chat --prompt "请总结今天的运势重点" --streamThe CLI reuses the separately packable services/lingxi-sdk-js package. To distribute it outside this repo, run npm pack in that directory.
LINGXI_AUTH_TOKEN=sk-xxx node scripts/lingxi-cli.js responses --scene coding --prompt "写一个 Go 函数,判断字符串是否是回文" --streamIf you do not want the CLI, install or import @ancientechoes/lingxi-sdk in your own script, or follow scripts/lingxi-api-example.js.
Is RAG local?
No. The first release still forwards through the Ancient Echoes website backend to a private/cloud RAG service. Terminals never receive the raw RAG address.
Do I need a separate LingXi account?
No. LingXi reuses the on-site account system. The device side only turns website auth into a browser-free device export.
Can a cloud server without a desktop connect?
Yes. Prefer an sk- API key with init --auth-token. Device center can mint a permanent key. If you would rather bind a device than issue a long-lived token, run link on the server and approve it from another machine with a browser.
Do I have to install OpenClaw?
No. OpenClaw is the most complete first-release local runtime, but canonical /api/v1/ai/* can also be called from your own scripts, CLI, or other clients.
Can it be used for coding?
Yes. Canonical /api/v1/ai/* already supports chat and coding scenes, and responses has a minimal compatible path.
Is this an open public relay?
No. It remains a controlled compatibility gateway with on-site auth, quota, logs, device grants, and the RAG control plane.
What is the DingTalk status?
It currently uses an external bridge. The protocol baseline exists, but it is not a first-release promise. More event types and live credentials still need work.
Run install + link with the installer, then approve the device on the website.
Then pick start-telegram, start-feishu, or start-openclaw for your channel.
For device-side integration, run scripts/lingxi-cli.js or reuse services/lingxi-sdk-js in your own script.
To inspect devices or revoke an old node, return to My LingXi devices.