symposium-crate-sources-proxy

Crates.iosymposium-crate-sources-proxy
lib.rssymposium-crate-sources-proxy
version1.0.0-alpha.1
created_at2025-12-08 20:16:10.223924+00
updated_at2025-12-20 10:36:01.901239+00
descriptionACP proxy component providing Rust crate source code research tools
homepagehttps://symposium-dev.github.io/symposium/
repositoryhttps://github.com/symposium-dev/symposium
max_upload_size
id1974336
size124,414
Niko Matsakis (nikomatsakis)

documentation

README

symposium-crate-sources-proxy

An ACP proxy component that provides agents with the ability to research Rust crate source code.

Overview

This component uses a sub-agent research pattern: when an agent needs information about a Rust crate, the component spawns a dedicated research session with its own agent to investigate the crate sources and return findings.

Usage

The component exposes a rust_crate_query MCP tool to agents:

{
  "crate_name": "serde",
  "crate_version": "1.0",
  "prompt": "How do I use the derive macro for custom field names?"
}

The sub-agent then:

  1. Downloads and extracts the crate source from crates.io
  2. Reads and analyzes the source code
  3. Returns synthesized findings (not raw pattern matches)

Integration

This component is typically used as part of the Symposium proxy chain:

use symposium_crate_sources_proxy::CrateSourcesProxy;

components.push(sacp::DynComponent::new(CrateSourcesProxy {}));

Documentation

For detailed architecture and implementation information, see the Symposium documentation.

License

Apache-2.0

Commit count: 1236

cargo fmt