frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Agorio – TypeScript SDK for Building AI Shopping Agents (UCP/ACP)

https://github.com/Nolpak14/agorio
1•nolpak14•1h ago
I built an open-source TypeScript SDK for building AI agents that can discover merchants, browse products, and complete purchases using the new UCP (Google/Shopify) and ACP (OpenAI/Stripe) commerce protocols.

Try it in 2 minutes:

  npm install @agorio/sdk

  import { ShoppingAgent, GeminiAdapter, MockMerchant } from '@agorio/sdk';
  const merchant = new MockMerchant();
  await merchant.start();
  const agent = new ShoppingAgent({
    llm: new GeminiAdapter({ apiKey: process.env.GEMINI_API_KEY })
  });
  const result = await agent.run(
    `Go to ${merchant.domain} and buy me wireless headphones`
  );
What it does:

- UcpClient: discovers merchants via /.well-known/ucp, parses capabilities, normalizes both array and object formats, calls REST APIs - ShoppingAgent: plan-act-observe loop with 12 built-in tools (discover, search, browse, cart, checkout, order tracking) - MockMerchant: full UCP-compliant Express server with product catalog, checkout flow, and configurable chaos testing (latency, error rates) - LlmAdapter interface: swap LLMs without changing agent code. Gemini ships today, Claude and OpenAI coming in v0.2

The agent handles the entire purchase flow autonomously - UCP discovery, product search, cart management, shipping, payment, order confirmation. 37 tests passing.

Context: UCP was announced Jan 11 by Google, Shopify, and 25+ partners (Walmart, Target, Visa, Mastercard). ACP is by OpenAI and Stripe, powers ChatGPT Instant Checkout. Both are open standards. But there was no developer SDK for building on top of them - just the raw specs.

GitHub: https://github.com/Nolpak14/agorio npm: https://www.npmjs.com/package/@agorio/sdk

Comments

nolpak14•1h ago
Hey HN, I'm the author.

Some background: I've been working on tooling for UCP (Universal Commerce Protocol) for a few months. UCP is the open standard Google and Shopify announced in January - it lets AI agents discover stores via /.well-known/ucp and complete purchases through standardized APIs.

I built Agorio because when I tried to build a shopping agent against the UCP spec, I had to:

1. Write my own profile parser that handles both capability formats in the spec 2. Build a checkout state machine (incomplete → requires_escalation → ready_for_complete → completed) 3. Create a mock merchant from scratch just to test against 4. Wire up LLM function calling with JSON Schema tool definitions

None of this was commerce-specific - it was all protocol plumbing. So I extracted it into a reusable SDK.

The key abstractions:

- LlmAdapter - two methods: chat(messages, tools) and modelName. Any LLM with function calling works. The Gemini adapter is ~100 lines. - ShoppingAgent - takes an LlmAdapter, runs plan-act-observe with 12 tools. Manages cart state, checkout sessions, order history. - UcpClient - fetches /.well-known/ucp, normalizes capabilities, resolves REST/MCP/A2A transports. - MockMerchant - full Express server with UCP profile, OpenAPI schema, 10 products, checkout flow, order tracking. Supports chaos testing with configurable latency and error rates.

Technical choices I'd like feedback on:

- Is a plan-act-observe loop the right pattern, or should I support ReAct / tree-of-thought? - Currently UCP-only. ACP client is planned for v0.2. Should I prioritize that? - The LlmAdapter interface is deliberately minimal. Too minimal?

Would love feedback from anyone building with LLM function calling or commerce APIs. Happy to talk UCP/ACP protocol details.

Remote Work Job Boards

https://www.makerlinks.page/remotejobboards
1•amamuwala•33s ago•0 comments

NASA's Perseverance Now Autonomously Pinpoints Its Location on Mars

https://www.nasa.gov/missions/mars-2020-perseverance/perseverance-rover/nasas-perseverance-now-au...
1•bookofjoe•1m ago•0 comments

A Backtest for Scientific Insight

https://willmichaels.substack.com/p/a-backtest-for-scientific-insight
1•wmichaels•2m ago•0 comments

Acme Weather: New App by the Dark Sky Team

https://acmeweather.com/app
1•skadamat•3m ago•0 comments

The DHS forum where ICE agents trash talk one another

https://www.wired.com/story/hsi-forum-ice-agents/
1•vintagedave•4m ago•0 comments

AI Twitter's favourite lie: everyone wants to be a developer

https://www.joanwestenberg.com/ai-twitters-favourite-lie-everyone-wants-to-be-a-developer/
1•thm•5m ago•0 comments

New California bill to require license plates for electric bikes

https://electrek.co/2026/02/19/new-california-bill-to-require-license-plates-for-electric-bikes/
1•RaSoJo•5m ago•0 comments

The future belongs to those who can refute AI, not just generate with AI

https://learningloom.substack.com/p/the-future-belongs-to-those-who-can
2•atomicnature•6m ago•0 comments

The First Beta of Android 17

https://android-developers.googleblog.com/2026/02/the-first-beta-of-android-17.html
1•pjmlp•7m ago•0 comments

Show HN: Treliq – PR triage CLI with 20 signals and optional LLM scoring

https://github.com/mahsumaktas/treliq
1•chrismagno•7m ago•0 comments

Show HN: I built a semiconductor internship job board

https://www.semidesignjobs.com/s/semiconductor-design-internships
1•johncole•7m ago•0 comments

AI Coding Agents Should Be Programmable

https://ai.wiseprobe.io/posts/python-and-ralph/
1•wiseprobe•7m ago•0 comments

Show HN: Synter- Open source MCP server to manage ads across 7 platforms

https://github.com/jshorwitz/synter-media
1•synterai•9m ago•0 comments

Interview with Founder of InchFab, Application Specific Fab Maker

https://www.siliconimist.com/p/inchfab-mitchell-hsing
1•johncole•9m ago•0 comments

Show HN: I Started a Podcast on Silicon and Economics

https://www.siliconimist.com/p/introducing-the-siliconimist
1•johncole•10m ago•0 comments

Type-based alias analysis in the Toy Optimizer

https://bernsteinbear.com/blog/toy-tbaa/
1•surprisetalk•14m ago•0 comments

Building in Private

https://www.ystrickler.com/building-private/
1•surprisetalk•14m ago•0 comments

RAM Is Fake. The Moon Broke Timezones. and Your Compiler Is Guessing [video]

https://www.youtube.com/watch?v=cnX5zJ_qGz0
1•surprisetalk•14m ago•0 comments

FBI Interviewed Trump Accuser, Epstein Files Show

https://substack.com/home/post/p-188009135
1•surprisetalk•14m ago•0 comments

Alabama offers three tricks to fix poor urban schools

https://economist.com/united-states/2026/02/12/alabama-offers-three-tricks-to-fix-poor-urban-schools
2•andsoitis•15m ago•0 comments

Why LLM-Generated Passwords Are Dangerously Insecure

https://www.irregular.com/publications/vibe-password-generation
1•lielvilla•16m ago•0 comments

Show HN: Fera-Search – Privacy-First AI Meta Search Engine

https://github.com/rahul-gound/fera-search-
1•himanshu_fera•17m ago•0 comments

OpenAI Funding on Track to Top $100B in Latest Round

https://www.bloomberg.com/news/articles/2026-02-19/openai-funding-on-track-to-top-100-billion-wit...
4•zerosizedweasle•20m ago•3 comments

Show HN: Agent Memory DB – Episodic memory for agents (97.5% vs. 85% recall)

https://github.com/sathvikkurap/agenticmemory
2•andy9829•20m ago•0 comments

Rust on CHERIoT

https://rust.cheriot.org/2026/02/15/status-update.html
1•Flundstrom2•21m ago•0 comments

Show HN: OpenClaw skill for nonprofit RBM logic models (ToC, indicators, M&E)

https://github.com/vassiliylakhonin/Nonprofit-RBM-Skill-For-Claw-Hub
1•vassilbek•21m ago•1 comments

I traced 3,177 API calls to see what 4 AI coding tools put in the context window

https://theredbeard.io/blog/i-intercepted-3177-api-calls-across-4-ai-coding-tools/
3•theredbeard•23m ago•0 comments

The Great Alzheimer's Scam and the Proven Cures They've Buried for Billions

https://www.midwesterndoctor.com/p/the-great-alzheimers-scam-and-the
1•bilsbie•23m ago•0 comments

How to grow on X from 0 followers

https://www.reddit.com/r/GrowthHacking/s/X1IAmEbeqZ
2•m00dy•24m ago•1 comments

Fairstream

https://blog.gluegadget.com/post/fairstream/
2•todsacerdoti•28m ago•0 comments