A protocol for connecting any editor to any agent
This report summarizes scanner evidence for agentclientprotocol/agent-client-protocol, a Rust project with 4,410 GitHub stars. SynthScan examined 101,914 lines of code across 77 source files, recording 987 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 6.6 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 983 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 987 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 987 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | deny.toml | 21 | # `target_family = "unix"` configuration, that only having windows targets in | COMMENT |
| LOW | deny.toml | 41 | #exclude = [] | COMMENT |
| LOW | deny.toml | 61 | COMMENT | |
| LOW | deny.toml | 81 | # See Git Authentication for more information about setting up git authentication. | COMMENT |
| LOW | deny.toml | 101 | confidence-threshold = 0.8 | COMMENT |
| LOW | deny.toml | 121 | # and the crate will be checked normally, which may produce warnings or errors | COMMENT |
| LOW | deny.toml | 141 | # This section is considered when running `cargo deny check bans`. | COMMENT |
| LOW | deny.toml | 161 | # on a crate-by-crate basis if desired. | COMMENT |
| LOW | deny.toml | 181 | # List of features to allow/deny | COMMENT |
| LOW | deny.toml | 201 | # this is set there is no point setting `deny` | COMMENT |
| LOW | agent-client-protocol-schema/src/version.rs | 1 | use derive_more::{Display, From}; | COMMENT |
| LOW | agent-client-protocol-schema/src/version.rs | 21 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 1 | //! Custom payload adapters, option-like field wrappers, and builder helpers for serde. | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 561 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 701 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/lib.rs | 1 | #![cfg_attr(docsrs, feature(doc_cfg))] | COMMENT |
| LOW | agent-client-protocol-schema/src/lib.rs | 21 | //! | COMMENT |
| LOW | agent-client-protocol-schema/src/rpc.rs | 1 | //! JSON-RPC envelope types shared by ACP clients and agents. | COMMENT |
| LOW | agent-client-protocol-schema/src/rpc.rs | 41 | /// A JSON-RPC request object. | COMMENT |
| LOW | agent-client-protocol-schema/src/rpc.rs | 121 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/rpc.rs | 161 | #[must_use] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 41 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 61 | /// The _meta property is reserved by ACP to allow clients and agents to attach additional | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 81 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 101 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 121 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 141 | ConfigOptionUpdate(ConfigOptionUpdate), | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 161 | /// **UNSTABLE** | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 181 | /// One content block appended to a sent or received session message. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 201 | /// Optional sending session identity; omission or `null` retains a known value. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 261 | /// **UNSTABLE** | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 281 | /// Optional receiving session identity; omission or `null` retains a known value. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 641 | Error, | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 661 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 741 | /// Compaction finished unsuccessfully. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 761 | #[serde_as] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 821 | #[must_use] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 861 | /// Sets or clears chunk-scoped metadata. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 881 | /// multiple operations. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 901 | pub session_id: SessionId, | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 921 | /// Omitted means unchanged; `null` clears the capability set and disables | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1001 | /// The _meta property is reserved by ACP to allow clients and agents to attach additional | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1021 | #[skip_serializing_none] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1061 | /// these keys. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1081 | #[non_exhaustive] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1101 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1121 | /// Each update is a whole-object snapshot. Idle does not terminate the child; | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1141 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1181 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1201 | #[serde_as(deserialize_as = "DefaultOnError")] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1281 | "stopReason": { "type": "null" } | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1301 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1321 | /// Values beginning with `_` are reserved for implementation-specific | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1341 | #[skip_serializing_none] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1461 | "type": "object" | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1501 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1521 | #[non_exhaustive] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1541 | #[must_use] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1621 | COMMENT | |
| 919 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | agent-client-protocol-schema/src/v1/content.rs | 8 | //! allowing seamless integration between ACP and MCP-based tools. | COMMENT |
| MEDIUM | agent-client-protocol-schema/src/v2/content.rs | 8 | //! allowing seamless integration between ACP and MCP-based tools. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate_registry_docs.py | 128 | except Exception as e: | CODE |
| MEDIUM | scripts/generate_registry_docs.py | 153 | print(f"Error: Failed to fetch icons for {len(failed)} agent(s): {', '.join(failed)}") | CODE |
| MEDIUM | scripts/generate_registry_docs.py | 210 | print(f"Error: Template file not found at {TEMPLATE_PATH}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate_registry_docs.py | 208 | # Check if template exists | COMMENT |
| LOW | scripts/spellcheck.sh | 3 | # Check if typos is installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate_registry_docs.py | 15 | CODE |