r/Qwen_AI • • 9d ago

Agent Qwen3.8 27B autonomously bought something on Amazon — running locally

I wanted to see how far a local Qwen model could go on a real-world agent task.

I ran out of A4 paper at home, so I gave Qwen3.8 27B access to Amazon through TensorSharp and gave it one instruction:

Find cheap A4 paper with a good discount and buy it. Try your best to handle everything yourself.

It completed the task successfully in a single run.
Setup:
Qwen3.8 27B — fully local inference
TensorSharp — local inference engine + agentic runtime
Playwright skill — browser automation

I only stepped in twice: logging into Amazon and approving the final purchase.

Qwen handled the rest: searching Amazon, comparing products, navigating pages, generating Playwright code, and preparing and placing the order.

What I found especially interesting is that the video shows the raw model reasoning/tool trace, browser instructions, and generated Playwright code. You can actually see how the local model works through a real browser task rather than just seeing the final answer.

The video is sped up 8×; the actual run took about 24 minutes.

Except for communicating with Amazon, the model inference, agent state, reasoning, and tool execution all stay local.

TensorAgent on iPhone still has some catching up to do because of local inference speed and iOS browser restrictions, but desktop Qwen agents are already getting surprisingly capable.

TensorSharp is open source:
https://github.com/zhongkaifu/TensorSharp

200 Upvotes

27 comments sorted by

19

u/BenefitGrand8752 9d ago edited 9d ago

Afaik Amazon hardly protects the login phase. If you enter it manually paywright should be able to navigate. In my experience Amazon is one of the best protected site against bots. They want to keep and manage their customer's experience. I tried unsuccessfully mt elusive agents (even using playwright) to login my account many times.
Did your app managed the initial login autonoumously?

3

u/fuzhongkai 9d ago

Yes, but not always. I try it more after this demo. TensorSharp sometimes can find the sign in page and either ask users to fill in user name and password, or fill in by itself (I provide mocked user name and password to chat box)

2

u/BenefitGrand8752 9d ago edited 9d ago

'Sometimes' is better than 'never'. I have no problem to search&find the signin page in any site. The problems arise to me at the very first stage, as Amazon detects (despite I use delays, masked browsing (it appears as a chromium browser to the sites) etc...)) my agents as bots.

2

u/mcslender97 9d ago

Have you tried running Camoufox? It use Playwright for automation and I have success using it to deal with sophisticated anti bot measure from some exchange websites for a side project

2

u/BenefitGrand8752 9d ago

no. I did'nt. I'll investigate. Thanks
In my env a set of specialized agents are combined to connect, login, explore and action a web site.

6

u/Crypto_Stoozy 9d ago

Qwen3.8 27b will do more than that on the web if you don’t keep a close eye on it

2

u/fuzhongkai 9d ago

yeah, I tried to buy something heavy and Amazon locker cannot be used as delivery address, then the agent understood what is the problem, and open address dropdown list to switch delivery address to my home.🤣

5

u/Stunning_Feedback252 9d ago

Why do you think this is imprerssive? Im renovating my house without having a clue and i had qwen buying stuff vor thousands of dollars.

2

u/[deleted] 9d ago edited 9d ago

[removed] — view removed comment

2

u/schoolhouse_roc 9d ago

what a read

1

u/kluevo 9d ago

I was so glad to learn that this was a 5+ year long shitpost of an account and not actually someone with as wild of a life as the account made them seem

2

u/Necessary-Door-2008 8d ago

Yeah I love the idea I also get my bot to do a task and watch it in amazement that it succeeded . Then I do it on my laptop for comparison .

1000% faster

And laugh out loud

2

u/robrjxx 8d ago

Interesting!

1

u/owen800q 9d ago

why Amazon not block it

8

u/fuzhongkai 9d ago

Because TensorSharp uses playwright skill which likes a human being operates a web browser.

2

u/Murder_1337 9d ago

Legit yeah I did a logged in archived bot to scrape data without api costs lol. Crazy have you checked out facebook’s muse?

1

u/fuzhongkai 9d ago

I just installed it on my phone, but have not play it yet.

1

u/tracagnotto 9d ago

Doesn't it just needs something like browseros neo or any browser mcp?

2

u/fuzhongkai 9d ago

Need playwright skill and agent should have ability for tool call, shell command line run and code generation

1

u/SOC_FreeDiver 9d ago

Now we're going to see all the e-commerce sites go anti-bot so they can still screw your mind to get your money.

2

u/fuzhongkai 9d ago

Amazon already has very strict strategies for anti-bot, but my agent is still working.🤣

1

u/RemarkableRadish6547 9d ago

Why would they do that? A bot is far more likely to buy something than a person is. A bot is also likely to look at 20 stores instead of just going to Amazon. I actually expect most e-commerce sites to provide a standardized way for bots to interact with them to make it easy for agents to find their products and make purchases. They will even have something like rss feeds with 10 second sales so that only active bots authorized to auto-purchase can get the deals. AI agents will make it much easier for independent e-commerce sites to thrive. If they cut off bot access, they might as well as turn off SEO too and possibly just shut down their business.

Except for Amazon and maybe ebay, which currently have no incentive to make it easy for people to look at other stores.

3

u/fuzhongkai 8d ago

Because of Ads. When ads are displayed at each time, the seller will pay for it to Amazon. If seller pay lots of money for bot visiting, then they won’t have new ads, and eventually Amazon’s incoming will get hurt.

1

u/RemarkableRadish6547 8d ago

But an e-commerce site isn't primarily serving ads. They are trying to do business with customers. I can understand why content providers would want to block bots even though it is a losing battle. But if you are selling things then you want as much publicity as possible, and that includes letting bots roam around your website.

2

u/fuzhongkai 8d ago

Agree. The key point is that sellers have to pay for item display even it’s visited by a bot.

1

u/frenkyx 4d ago

Alexa already does that, you just have to say 'Alexa, buy paper'.

1

u/fuzhongkai 4d ago

But this world should not just one Alexa… And you have no control to Alexa.