A protocol for connecting any editor to any agent
This report presents the forensic synthetic code analysis of agentclientprotocol/agent-client-protocol, a Rust project with 4,099 GitHub stars. SynthScan v2.0 examined 94,260 lines of code across 76 source files, recording 969 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 7.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 969 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 option-like field wrappers and builder helpers for serde. | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 21 | }; | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 301 | /// use serde::{Serialize, Deserialize}; | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 441 | /// # Example | COMMENT |
| LOW | agent-client-protocol-schema/src/serde_util.rs | 461 | MaybeUndefined::Undefined => {} | 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 | 101 | COMMENT | |
| LOW | agent-client-protocol-schema/src/rpc.rs | 161 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 41 | /// See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-outpu | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 81 | /// See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility) | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 101 | UserMessageChunk(ContentChunk), | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 121 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 141 | /// This capability is not part of the spec yet, and may be removed or changed at any point. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 161 | /// This capability is not part of the spec yet, and may be removed or changed at any point. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 181 | pub enum NoticeSeverity { | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 201 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 221 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 261 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 281 | pub fn new(id: impl Into<Arc<str>>) -> Self { | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 301 | /// Compaction finished unsuccessfully. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 321 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 401 | /// the terminal update for the same ID. Agents MUST only send this update when | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 441 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 481 | #[must_use] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 521 | COMMENT | |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 541 | #[derive(Default, Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 601 | #[serde_as] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 661 | #[serde_as] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 701 | pub fn meta(mut self, meta: impl IntoOption<Meta>) -> Self { | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 721 | #[serde_as(deserialize_as = "DefaultOnError")] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 761 | /// | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 801 | #[serde_as(deserialize_as = "DefaultOnError<VecSkipError<_, SkipListener>>")] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 841 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 901 | #[serde(untagged, rename_all = "camelCase")] | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 941 | /// metadata to their interactions. Implementations MUST NOT make assumptions about values at | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 961 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] | 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 | /// Unique identifier for this permission option. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1081 | } | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1101 | /// Response to a permission request. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1141 | pub fn meta(mut self, meta: impl IntoOption<Meta>) -> Self { | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1161 | Cancelled, | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1201 | /// these keys. | COMMENT |
| LOW | agent-client-protocol-schema/src/v1/client.rs | 1221 | #[serde(rename_all = "camelCase")] | COMMENT |
| 901 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 |