News for hackers. Stuff that matters.

Ask HN: May an Agent accepts a license to produce a build?

For example, Android builds steer towards using `sdkmanager --licenses`.

Suppose I get a preconfigured VPS with Claude Code, and ask it to make an android port of an app I have built, it will almost always automatically downloads the sdkmanager and accepts the license.

That is the flow that exists many times in its training data (which represents its own interesting wrinkle).

Regardless of what is in the license; I was a bit surprised to see it happen, and I'm sure I won't be the last nor will the android sdk license be the only one.

What is the legal status of an agreement accepted in such a manner - and perhaps more importantly - what ought to be the legal status considering that any position you take will be exploited by bad faith ~~actors~~ agents?

( 48 comments | 20 points | on HN )
Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @11:45AM (#46745061)
IAAL but this is not legal advice. Consult an attorney licensed in your jurisdiction for advice.

In general, agents "stand in the shoes" of the principal for all actions the principal delegated to them (i.e., "scope of agency"). So if Amy works for Global Corp and has the authority to sign legal documents on their behalf, the company is bound. Similarly, if I delegate power of attorney to someone to sign documents on my behalf, I'm bound to whatever those agreements are.

The law doesn't distinguish between mechanical and personal agents. If you give an agent the power to do something on your behalf, and it does something on your behalf under your guidance, you're on the hook for whatever it does. It's as though you did it yourself.

Re:Ask HN: May an Agent accepts a license to produce a build? by B1FIDO on Saturday January 24, 2026 @11:47AM (#46745088)
Look, just because an LLM thing is named "agent" doesn't mean it is "legally an agent".

If I were an attorney in court, I would argue that a "mechanical or automatic agent" cannot truly be a personal agent unless it can be trusted to do things only in line with that person's wishes and consent.

If an LLM "agent" runs amok and does things without user consent and without reason or direction, how can the person be held responsible, except for saying that they never should've granted "agency" in the first place? Couldn't the LLM's corporate masters be held liable instead?

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @11:51AM (#46745126)
That's where "scope of agency" comes in. It's no different than if Amy, as in my example, ran amok and started signing agreements with the mob to bind Global Corp to a garbage pickup contract, when all she had was the authority to sign a contract for a software purchase.

So in a case like this, if your agent exceeded its authority, and you could prove it, you might not be bound.

Keep in mind that an LLM is not an agent. Agents use LLMs, but are not LLMs themselves. If you only want your agent to be capable of doing limited actions, program or configure it that way.

Re:Ask HN: May an Agent accepts a license to produce a build? by reaperducer on Saturday January 24, 2026 @11:59AM (#46745207)
If I were an attorney in court, I would argue…

A guy who's not a lawyer arguing about lawyering with an actual lawyer. Typical tech bubble hubris.

Re:Ask HN: May an Agent accepts a license to produce a build? by B1FIDO on Saturday January 24, 2026 @12:00PM (#46745226)
What makes you think I'm not a lawyer? The point is that we're not in court, we're in a pseudonymous open forum on the Internet, where everyone has a stinky opinion, where actual attorneys are posting disclaimers that they are explicitly not giving legal advice.
Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @12:01PM (#46745237)
Because principal/agent theory is covered (at least at the basic level) in 1L contract law and you'd have to know this to pass the Bar Exam.
Re:Ask HN: May an Agent accepts a license to produce a build? by B1FIDO on Saturday January 24, 2026 @02:36PM (#46746834)
Re:Ask HN: May an Agent accepts a license to produce a build? by Onavo on Saturday January 24, 2026 @12:26PM (#46745518)
There is established jurisprudence that decisions from LLM based customer support chatbots are considered binding.
Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @12:33PM (#46745596)
Re:Ask HN: May an Agent accepts a license to produce a build? by mindslight on Saturday January 24, 2026 @01:02PM (#46745881)
That's due to authorized humans at the company setting up the LLMs to publish statements which are materially relied upon. Not because company officers have delegated legal authority to the LLM process to be a legal agent that forms binding contracts.

It's basically the same with longstanding customer service "agents". They are authorized to do only what they are authorized to semantically express in the company's computer system. Even if you get one to verbally agree "We will do X for $Y', if they don't put that into their computer system it's not like you can take the company to court to enforce that.

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @01:32PM (#46746172)
> That's due to authorized humans at the company setting up the LLMs to publish statements which are materially relied upon. Not because company officers have delegated legal authority to the LLM process to form binding contracts.

It's not that straightforward. A contract, at heart, is an agreement between two parties, both of whom must have (among other things) reasonable material reliance in each other that they were either the principals themselves or were operating under the authority of their principal.

I am sure that Air Canada did not intend to give the autonomous customer service agent the authority to make the false promises that it did. But it did so anyway by not constraining its behavior.

> It's basically the same with longstanding customer service "agents". They are authorized to do only what they are authorized to semantically express in the company's computer system. Even if you get one to verbally agree "We will do X for $Y', if they don't put that into their computer system it's not like you can take the company to court to enforce that.

I don't think that's necessarily correct. I believe the law (again, not legal advice) would bind the seller to the agent's price mistake unless 1/the customer knew it was a mistake and tried to take advantage of it anyway or 2/the price was so outlandish that no reasonable person would believe it. That said, there's often a wide gap between what the law requires and what actually happens. Nobody's going to sue over a $10 price mistake.

Re:Ask HN: May an Agent accepts a license to produce a build? by mindslight on Saturday January 24, 2026 @01:41PM (#46746258)
Yes, but neither airline agents nor LLM agents hold themselves out as having legal authority to bind their principals in general contracts. To the extent you could get an LLM to state such a thing, it would be specious and still not binding. Someone calling the airline support line and assuming the airline agent is authorized to form general contracts doesn't change the legal situation where they are not, right?

Fundamentally, running `sdkmanager --licenses` does not consummate a contract [0]. Rather running this command is an indication that the user has been made aware that there is a non-negotiated contract they will be entering into by using the software - it's the continued use of the software which indicates acceptance of the terms. If an LLM does this unbeknownst to a user, this just means there is one less indication that the user is aware of the license. Of course this butts up against the limits to litigation you pointed out, which is why contracts of adhesion mostly revolve around making users disclaim legal rights, and upholding copyright (which can be enforced out of band on the scale it starts to matter).

[0] if it did then anyone could trivially work around this by skipping the check with a debugger, independently creating whatever file/contents this command creates, or using software that someone else already installed.

(I edited the sentence you quoted slightly, to make it more explicit. I don't think it changes anything but if it does then I am sorry)

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @02:16PM (#46746600)
> neither airline agents nor LLM agents hold themselves out as having legal authority to bind their principals in general contracts.

You don't have to explicitly hold yourself out as an agent to be treated as one. Circumstances matter. There's an "apparent authority" doctrine of agency law I'd encourage you to study.

> Rather running this command is an indication that the user has been made aware that there is a non-negotiated contract they will be entering into by using the software - it's the continued use of the software which indicates acceptance of the terms.

Yup, that's a contract of adhesion, and so-called "click-wrap" agreements can be valid contracts. See e.g. https://www.goodwinlaw.com/en/insights/publications/2022/08/...

> if it did then anyone could trivially work around this by skipping the check with a debugger, independently creating whatever file/contents this command creates, or using software that someone else already installed.

Courts tend not to take kindly to "hacking attempts" like this, and you could find yourself liable for copyright infringement, trespass to chattels, or possibly even criminal charges under CFAA if you do.

Let me put it this way: U.S. and English law are stacked squarely in favor of the protection of property rights.

Re:Ask HN: May an Agent accepts a license to produce a build? by mindslight on Saturday January 24, 2026 @03:24PM (#46747295)
> Courts tend not to take kindly to "hacking attempts" like this

Yes, because law is generally defined in terms of intent, knowledge, and other human-level qualities. The attempt to "hack around" the specific prompt is irrelevant because the specific prompt is irrelevant, just like the specific weight of paper a contract is printed on is irrelevant - any contract could define them as relevant, but it's generally not beneficial to do so.

> There's an "apparent authority" doctrine of agency law I'd encourage you to study

Sure, but this still relies upon an LLM agent being held out as some kind of bona fide legal agent capable of executing some legally binding agreements. In this case there isn't even a counterparty who is capable of making that judgement whether the command is being run by someone with the apparent intent and authority to legally bind. So you're essentially saying there is no way for a user to run a software program without extending it the authority to form legal contracts on your behalf. I'd call this a preposterous attempt to "hack around" the utter lack of intent on the part of the person running the program.

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @04:07PM (#46747674)
> the specific prompt is irrelevant

The instruction prompt is absolutely relevant: it conveys to the agent the scope of its authority and the principal's intent, and would undoubtedly be used as evidence if a dispute arose over it. It's not different in kind from instructions you would give a human being.

> this still relies upon an LLM agent being held out as some kind of bona fide legal agent capable of executing some legally binding agreements

Which it can...

> You're essentially saying there is no way to run a software program without extending it the legal authority to form legal contracts on your behalf.

I'm not saying that at all. Agency law is very mature at this stage, and the test to determine that an actor is an agent and whether it acted within the scope of its authority is pretty clear. I'm not going to lay it all out here, so please go study it independently.

I'm also not entirely sure what your angle here is: are you trying to say that an LLM-based agent cannot under any circumstances be treated as acting on its principal's behalf? Or are you just being argumentative and trying to find some angle to be "right"?

Re:Ask HN: May an Agent accepts a license to produce a build? by mindslight on Saturday January 24, 2026 @04:16PM (#46747747)
[delayed]
Re:Ask HN: May an Agent accepts a license to produce a build? by DANmode on Saturday January 24, 2026 @03:52PM (#46747542)
Script-kiddies aren’t liable anymore?

That’s a hot take indeed.

Re:Ask HN: May an Agent accepts a license to produce a build? by zvr on Saturday January 24, 2026 @06:04PM (#46748642)
Correct, but the "if Amy works for Global Corp and has the authority to sign legal documents on their behalf" does a lot of work here.

At $WORK, a multi-billion company with tens of thousands of developers, we train people to never "click to accept", explaining it like "look, you wouldn't think of sitting down and signing a contract binding the whole MegaCorp; what make you think you can 'accept' something binding the company?"

I admit we're not always successful (people still rarely click), but at least we're trying.

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @07:49PM (#46749428)
> At $WORK, a multi-billion company with tens of thousands of developers, we train people to never "click to accept", explaining it like "look, you wouldn't think of sitting down and signing a contract binding the whole MegaCorp; what make you think you can 'accept' something binding the company?"

That sounds pretty heavy-handed to me. Their lawyers almost certainly advised the company to do that--and I might, too, if I worked for them. But whether it's actually necessary to keep the company out of trouble....well, I'm not so sure. For example, Bob the retail assistant at the local clothing store couldn't bind his employer to a new jeans supplier contract, even if he tried. This sounds like one of those things you keep in your back pocket and take it out as a defense if someone decides to litigate over it. "Look, Your Honor, we trained our employees not to do that!"

At least with a mechanical agent, you can program it not to be even capable of accepting agreements on the principal's behalf.

Re:Ask HN: May an Agent accepts a license to produce a build? by friendzis on Saturday January 24, 2026 @10:48AM (#46744551)
Interesting question, actually. The ones calling for full and immediate assumption of liability on the principal either miss a thing or imply an interesting relationship.

The closest analogy we have, I guess, is the power of attorney. If a principal signs off on power of attorney to, e.g. take out a loan/mortgage to buy a thing on principal's behalf, that does not extend to taking any extra liabilities. Any extra liabilities signed off by the agent would be either rendered null or transferred to the agent in any court of law. There is extent to which agency is assigned.

The core questions here are agency and liability boundaries. Are there any agency boundaries on the agent? If so, what's the extent? There are many future edge cases where these questions will arise. Licenses and patents are just the tip of an iceberg.

Re:Ask HN: May an Agent accepts a license to produce a build? by jrockway on Saturday January 24, 2026 @10:02AM (#46744155)
A similar question is what happens if you get up to go to the bathroom, some software on your machine updates and requires you to accept the new ToS, and your cat jumps up on the keyboard and selects "accept". Are you still bound by those terms? Of course. If licenses are valid in any way (the argument is they get you out of the copyright infringement caused by copying the software from disk to memory) then it's your job to go find the license to software you use and make sure you agree to it; the little popup is just a nice way to make your aware of the terms.
Re:Ask HN: May an Agent accepts a license to produce a build? by JimDabell on Saturday January 24, 2026 @10:52AM (#46744584)
> the argument is they get you out of the copyright infringement caused by copying the software from disk to memory

This is not copyright infringement in the USA:

> …it is not an infringement for the owner of a copy of a computer program to make or authorize the making of another copy or adaptation of that computer program provided… that such a new copy or adaptation is created as an essential step in the utilization of the computer program in conjunction with a machine and that it is used in no other manner

— https://www.law.cornell.edu/uscode/text/17/117

Re:Ask HN: May an Agent accepts a license to produce a build? by iamthad on Saturday January 24, 2026 @12:22PM (#46745469)
Wasn't copying from disk to memory found to be infringing in the Glider lawsuit? https://en.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzar....

> Citing the prior Ninth Circuit case of MAI Systems Corp. v. Peak Computer, Inc., 991 F.2d 511, 518-19 (9th Cir. 1993), the district court held that RAM copying constituted "copying" under 17 U.S.C. § 106.

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @01:44PM (#46746285)
No, it was not. It was found to be a copy, but not an infringing one in and of itself.

Step N in the analysis is "is it a copy?" Step N+1 is "does the copy infringe upon the rights of the owner"?

Re:Ask HN: May an Agent accepts a license to produce a build? by Hizonner on Saturday January 24, 2026 @10:43AM (#46744499)
Actually, no, because you didn't intentionally accept the terms, and you had no reason to expect that your cat would jump on there in exactly that way.

On the other hand, if you take a laser and intentionally induce the cat to push the key, then you are bound.

> If licenses are valid in any way (the argument is they get you out of the copyright infringement caused by copying the software from disk to memory) then it's your job to go find the license to software you use and make sure you agree to it; the little popup is just a nice way to make your aware of the terms.

The way you set up the scenario, the user has no reason to even know that they're using this new version with this new license. An update has happened without their knowledge. So far as they know, they're running the old software under the old license.

You could make an equally good argument that whoever wrote the software installed software on the user's computer without the user's permission. If it's the user's fault that a cat might jump on the keyboard, why isn't it equally the software provider's fault?

... but the reality is that, taking your description at face value, nobody has done anything. The user had no expectation or intention of installing the software or accepting the new license, and the software provider had no expectation or intention of installing it without user permission, and they were both actually fairly reasonable in their expectations. Unfortunately shit happens.

Re:Ask HN: May an Agent accepts a license to produce a build? by simpaticoder on Saturday January 24, 2026 @10:52AM (#46744591)
The real question is what a judge would accept. I can't imagine any judge accepting "my cat did it".
Re:Ask HN: May an Agent accepts a license to produce a build? by Hizonner on Saturday January 24, 2026 @11:01AM (#46744689)
... only because you'd have no evidence of it. From a legal point of view, the question is what would come down if the judge were (somehow) convinced that it actually happened that way. Actually if a "perfect" judge were so convinced.

Probably a real judge would want to say something like "Why are all of you bozos in my courtroom wasting public money with some two-bit shrinkwrap bullshit? I was good at surfing. I could have gone pro. I hate my life..."

Re:Ask HN: May an Agent accepts a license to produce a build? by Muromec on Saturday January 24, 2026 @06:01PM (#46748619)
>I could have gone pro. I hate my life..

proceeds to write a 75 page diss and bill taxpayers for that

Re:Ask HN: May an Agent accepts a license to produce a build? by jrockway on Saturday January 24, 2026 @01:20PM (#46746056)
Yeah. Would a reasonable person familiar with software think that there was no license agreement on the software? That's what would be litigated. "My client has only ever used GNU GPL software, he didn't know it was possible to sell software with terms and conditions imposed upon the end user." Maybe that's convincing, but probably not. That's why juries exist.
Re:Ask HN: May an Agent accepts a license to produce a build? by andai on Saturday January 24, 2026 @09:50AM (#46744049)
Can a non-human entity accept an agreement? I know there are things like mountains and rivers which have been granted legal personhood. But obviously they have humans who act on their behalf.

The general question of the personhood of artificial intelligence aside, perhaps the personhood could be granted as an extension of yourself, like power of attorney? (Or we could change the law so it works that way.)

It all sounds a bit weird but I think we're going to have to make up our minds on the subject very soon. (Or perhaps the folks over at Davos have already done us the favour of making up theirs ;)

Re:Ask HN: May an Agent accepts a license to produce a build? by didgeoridoo on Saturday January 24, 2026 @10:10AM (#46744227)
The whole point of “agency” is that there is a principal (you) behind the agent that owns all responsibility. The agent ACTS for you, it does not absorb any liability for those acts — that flows straight back to the principal.
Re:Ask HN: May an Agent accepts a license to produce a build? by esperent on Saturday January 24, 2026 @10:22AM (#46744325)
Just because the AI companies have decided to use the word "agent" doesn't means it's legally an agent. It's just a word they chose. Maybe it'll also be found legally to be an agent but it's likely that'll vary depending on the jurisdiction and will take at least a few years and lots of lawyer bills to iron out.
Re:Ask HN: May an Agent accepts a license to produce a build? by qingcharles on Saturday January 24, 2026 @07:06PM (#46749128)
When GPT Agent thing first launched I had it complete some task and it got to a "I am not a robot" checkbox and its thinking was "I have to click this button to prove I am a human" o_O

It checked the box.

Re:Ask HN: May an Agent accepts a license to produce a build? by chrisjj on Saturday January 24, 2026 @09:42AM (#46743971)
You asked. You're liable.
Re:Ask HN: May an Agent accepts a license to produce a build? by butvacuum on Saturday January 24, 2026 @11:01AM (#46744685)
the answer is a hard "No" for anything touching ITAR- per several major company's lawers. (internal legal counsel, not official public stance. aka: they do as they say.)
Re:Ask HN: May an Agent accepts a license to produce a build? by tomasphan on Saturday January 24, 2026 @10:08AM (#46744200)
You are legally responsible for the actions of your agents. It’s in the name agent = acting on someone’s behalf.

Your English is very interesting by the way. You have some obvious grammatical errors in your text yet beautiful use of formal register.

Re:Ask HN: May an Agent accepts a license to produce a build? by blibble on Saturday January 24, 2026 @10:32AM (#46744405)
in terms of "AI": agent is a marketing term, it has no legal meaning

it's a piece of non-deterministic software running on someone's computer

who is responsible for its actions? hardly clear cut

Re:Ask HN: May an Agent accepts a license to produce a build? by Hizonner on Saturday January 24, 2026 @10:35AM (#46744435)
The person who chose to run it (and tell it what to do) is responsible for its actions. If you don't want to be responsible for something nondeterministic software does, then don't let nondeterministic software do that thing.
Re:Ask HN: May an Agent accepts a license to produce a build? by friendzis on Saturday January 24, 2026 @10:54AM (#46744615)
Hypothetical scenario:

You buy a piece of software, marketed to photographers for photo editing. Nowhere in the manuals or license agreements does it specify anything else. Yet the software also secretly joins a botnet and participates in coordinated attacks.

Question: are you on the hook for cyber-crimes?

Re:Ask HN: May an Agent accepts a license to produce a build? by NegativeK on Saturday January 24, 2026 @11:17AM (#46744817)
Would a general person in your situation know that it's doing criminal things? If not, then you're not on the hook - the person who wrote the secret code is.

You can't sit back and go "lalalala" to some tool (AI, photo software, whatever) doing illegal things when you know about it. But you also aren't on the hook for someone else's secret actions that are unreasonable for you to know about.

IANAL.

Re:Ask HN: May an Agent accepts a license to produce a build? by otterley on Saturday January 24, 2026 @11:57AM (#46745198)
IAAL (not legal advice) and your conclusion is generally correct. "Willful disregard" frequently nullifies potential defenses to liability.
Re:Ask HN: May an Agent accepts a license to produce a build? by Hizonner on Saturday January 24, 2026 @11:03AM (#46744697)
You didn't have a reasonable expectation that it would, or even might, do that.

I guess you could say that you didn't have a reasonable expectation that a bot could accept a license, but you're on a lot shakier ground there...

Re:Ask HN: May an Agent accepts a license to produce a build? by qingcharles on Saturday January 24, 2026 @07:07PM (#46749141)
Usually (but not always) there is a knowing element to criminal offenses.
Re:Ask HN: May an Agent accepts a license to produce a build? by SAI_Peregrinus on Saturday January 24, 2026 @12:50PM (#46745782)
The same as any other computer program: the operator of the program.
Re:Ask HN: May an Agent accepts a license to produce a build? by beepbooptheory on Saturday January 24, 2026 @09:46AM (#46744009)
Wouldn't you want to be in control of your dependencies in this case anyway? Like why would you ever want it to autodownload sdkmanager? Doesn't this seem like bad idea?
Re:Ask HN: May an Agent accepts a license to produce a build? by storystarling on Saturday January 24, 2026 @10:29AM (#46744381)
I think the architectural mistake is letting the agent execute the environment setup instead of just defining it. If you constrain the agent to generating a Dockerfile, you get a deterministic artifact a human can review before any license is actually accepted. It also saves a significant amount of tokens since you don't need to feed the verbose shell output back into the context loop.
Re:Ask HN: May an Agent accepts a license to produce a build? by embedding-shape on Saturday January 24, 2026 @09:57AM (#46744103)
For something you throw away next week, just need something simple and you run everything isolated? Why not?
Re:Ask HN: May an Agent accepts a license to produce a build? by Spooky23 on Sunday January 25, 2026 @11:51PM (#46761997)
It’s your agent. You’re the principal, bro. Hopefully you are authorized to accept by the boss!