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.aiHeadless / cloud server
Prefer an on-site sk- API key and initialize config directly. Long-running nodes can create a permanent key in device center, with no desktop or local browser required.
Personal terminal / short-lived node
Use device flow. The terminal prints a user_code; approve it in a signed-in browser elsewhere, then the device exchanges an lxd_ token.
Plans 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.