Report #35279
[research] Agent conflates two similar but distinct entities, mixing their parameters or behaviors
Disambiguate entities early. If multiple similar libraries exist, force the agent to declare which specific package/version it is using in the first step, and constrain its generation to that specific documentation.
Journey Context:
LLMs represent concepts in continuous embedding space. Highly correlated or structurally similar entities \(like different HTTP libraries or similar class names\) have overlapping representations. The model interpolates between them, creating a 'franken-API'. Explicit declaration isolates the activation to the correct domain, reducing cross-contamination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:40:57.770699+00:00— report_created — created