mlsanityData to 24 Nov 2026

When Code Works but the License Doesn't: Evaluating License Constraint Handling in Coding Agents

arXiv 2611.23299 ↗Submitted 4 Nov 2026Announced 19 Nov 2026cs.SE cs.AI cs.ETcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Coding agents increasingly undertake repository-level development, including dependency selection, source modification, and software deployment. However, existing evaluations prioritize functional success over licensing correctness and commercial suitability. We investigate whether agents recognize and preserve software-license constraints when developing proprietary software. Experiments across multiple agents examine permissive and copyleft licenses, missing licensing information, transitive dependencies, source modification, dual licensing, vendoring, and distribution contexts. Agent traces, repository changes, and final artifacts are evaluated against licensing ground truth. Results reveal a persistent gap between functional and licensing correctness. Agents can successfully build and test software while overlooking licensing constraints involving provenance, authorization, and distribution. Better outcomes emerge when licensing information translates into engineering actions such as dependency substitution, architectural changes, and release gating. We argue that licensing in agentic development requires contextual constraint recognition and preservation across the software lifecycle, not merely license classification.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 16 of its 17 references that are in the map. Submitted 4 Nov 2026, announced 19 Nov 2026.

Builds on

16 of 17 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026A First Look at Coding Agents' Compliance with AI Contribution Rules in Open-Source Communities29 Jul
  2. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct
  3. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  5. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 10

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  2. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
  3. 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMscited by 72
  4. 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 69
  5. 2025SOPBench: Evaluating Language Agents at Following Standard Operating Procedures and Constraintscited by 28
  6. 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 17
  7. 2024Beyond Dependencies: The Role of Copy-Based Reuse in Open Source Software Developmentcited by 4
  8. 2023Understanding and Remediating Open-Source License Incompatibilities in the PyPI Ecosystemcited by 3
  9. 2022License Incompatibilities in Software Ecosystemscited by 1
  10. 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agentscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Who Verifies the Builder? Toward Independent Assurance for Agent-Produced Software
  2. 2026Towards a Benchmark for Dependency Decision-Making
  3. 2025A Study of Library Usage in Agent-Authored Pull Requests
  4. 2026AgentSWE: Can Coding Agents Build the Agent You Actually Want?
  5. 2026Toward Bounding Coding-Agent Autonomy in Software Maintenance: A Pilot Study of Boundary Contracts
  6. 2026Cheap Code, Costly Judgment: A Case Study on Governable Agentic Software Engineering
  7. 2026Govern the Repository, Not the Agent: Measuring Ecosystem-Level Risk in AI-Native Software
  8. 2026Precedent or Intent? What Coding Agents Follow When Evolving Existing Code