docs.rs failed to build lingshu-acp-0.10.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
lingshu-acp
Why this crate? VS Code (and other IDEs) speak Agent Communication Protocol
— a JSON-RPC 2.0 stdio protocol that lets editors embed agents without shipping their own
LLM infrastructure.lingshu-acpwraps the full Lingshu agent as an ACP server, so
you get Lingshu's 30+ tools, persistent memory, and multi-provider LLM support directly
inside your editor sidebar — no browser, no separate terminal.
Part of Lingshu — the Rust SuperAgent.
Start the ACP server
The process communicates over stdin/stdout using JSON-RPC 2.0. Your IDE connects to
the process directly — nothing to configure beyond pointing the IDE at the binary.
VS Code quick setup
- Install the Lingshu VS Code extension (or add a manual ACP entry):
// .vscode/settings.json - Open the Agent panel → select Lingshu → start chatting.
Protocol flow
IDE lingshu-acp lingshu-core
│─ agent/run ──────────────────────────────▶│
│ │─ Agent::run_conversation() ─▶│
│ │◀── tool calls ──────────────│
│◀ agent/run/token (streaming tokens) ───────│
│◀ agent/run (final response) ───────────────│
Supported ACP methods
| Method | Description |
|---|---|
agent/run |
Start a conversation turn (streaming via agent/run/token notifications) |
agent/list |
Return agent metadata (name, description, capabilities) |
Embed in your own binary
[]
= { = "../lingshu-acp" }
use AcpServer;
use Agent;
let agent = default_builder?.build?;
new.run_stdio.await?;
Full docs, guides, and release notes → lingshu.com