\

Show HN: Smooth CLI – Token-efficient browser for AI agents

62 points - yesterday at 4:13 PM


Hi HN! Smooth CLI (https://www.smooth.sh) is a browser that agents like Claude Code can use to navigate the web reliably, quickly, and affordably. It lets agents specify tasks using natural language, hiding UI complexity, and allowing them to focus on higher-level intents to carry out complex web tasks. It can also use your IP address while running browsers in the cloud, which helps a lot with roadblocks like captchas (https://docs.smooth.sh/features/use-my-ip).

Here’s a demo: https://www.youtube.com/watch?v=62jthcU705k Docs start at https://docs.smooth.sh.

Agents like Claude Code, etc are amazing but mostly restrained to the CLI, while a ton of valuable work needs a browser. This is a fundamental limitation to what these agents can do.

So far, attempts to add browsers to these agents (Claude’s built-in --chrome, Playwright MCP, agent-browser, etc.) all have interfaces that are unnatural for browsing. They expose hundreds of tools - e.g. click, type, select, etc - and the action space is too complex. (For an example, see the low-level details listed at https://github.com/vercel-labs/agent-browser). Also, they don’t handle the billion edge cases of the internet like iframes nested in iframes nested in shadow-doms and so on. The internet is super messy! Tools that rely on the accessibility tree, in particular, unfortunately do not work for a lot of websites.

We believe that these tools are at the wrong level of abstraction: they make the agent focus on UI details instead of the task to be accomplished.

Using a giant general-purpose model like Opus to click on buttons and fill out forms ends up being slow and expensive. The context window gets bogged down with details like clicks and keystrokes, and the model has to figure out how to do browser navigation each time. A smaller model in a system specifically designed for browsing can actually do this much better and at a fraction of the cost and latency.

Security matters too - probably more than people realize. When you run an agent on the web, you should treat it like an untrusted actor. It should access the web using a sandboxed machine and have minimal permissions by default. Virtual browsers are the perfect environment for that. There’s a good write up by Paul Kinlan that explains this very well (see https://aifoc.us/the-browser-is-the-sandbox and https://news.ycombinator.com/item?id=46762150). Browsers were built to interact with untrusted software safely. They’re an isolation boundary that already works.

Smooth CLI is a browser designed for agents based on what they’re good at. We expose a higher-level interface to let the agent think in terms of goals and tasks, not low-level details.

For example, instead of this:

  click(x=342, y=128)
  type("search query")
  click(x=401, y=130)
  scroll(down=500)
  click(x=220, y=340)
  ...50 more steps
Your agent just says:

  Search for flights from NYC to LA and find the cheapest option
Agents like Claude Code can use the Smooth CLI to extract hard-to-reach data, fill-in forms, download files, interact with dynamic content, handle authentication, vibe-test apps, and a lot more.

Smooth enables agents to launch as many browsers and tasks as they want, autonomously, and on-demand. If the agent is carrying out work on someone’s behalf, the agent’s browser presents itself to the web as a device on the user’s network. The need for this feature may diminish over time, but for now it’s a necessary primitive. To support this, Smooth offers a “self” proxy that creates a secure tunnel and routes all browser traffic through your machine’s IP address (https://docs.smooth.sh/features/use-my-ip). This is one of our favorite features because it makes the agent look like it’s running on your machine, while keeping all the benefits of running in the cloud.

We also take away as much security responsibility from the agent as possible. The agent should not be aware of authentication details or be responsible for handling malicious behavior such as prompt injections. While some security responsibility will always remain with the agent, the browser should minimize this burden as much as possible.

We’re biased of course, but in our tests, running Claude with Smooth CLI has been 20x faster and 5x cheaper than Claude Code with the --chrome flag (https://www.smooth.sh/images/comparison.gif). Happy to explain further how we’ve tested this and to answer any questions about it!

Instructions to install: https://docs.smooth.sh/cli. Plans and pricing: https://docs.smooth.sh/pricing.

It’s free to try, and we'd love to get feedback/ideas if you give it a go :)

We’d love to hear what you think, especially if you’ve tried using browsers with AI agents. Happy to answer questions, dig into tradeoffs, or explain any part of the design and implementation!

Source
  • stopachka

    today at 10:20 PM

    Cool project guys! Just gave it a spin. One thing I would have wished, was if the browsers would run locally. Since the smooth browser is running in prod, it makes it harder for Claude to test dev apps

      • antves

        today at 10:26 PM

        thanks! it can actually test apps running on your localhost with our tunneling feature (https://docs.smooth.sh/features/use-my-ip)

        you should be able to tell it to go to your localhost address and it should be able to navigate to your local app from the remote browser

        let us know if you have any questions!

    • tekacs

      today at 2:42 PM

      This looks really interesting!

      I _would_ be curious to try it, but...

      My first question was whether I could use this for sensitive tasks, given that it's not running on our machines. And after poking around for a while, I didn't find a single mention of security anywhere (as far as I could tell!)

      The only thing that I did find was zero data retention, which is mentioned as being 'on request' and only on the Enterprise plan.

      I totally understand that you guys need to train and advance your model, but with suggested features like scraping behind login walls, it's a little hard to take seriously with neither of those two things anywhere on the site, so anything you could do to lift up those concerns would be amazing.

      Again, you seem to have done some really cool stuff, so I'd love for it to be possible to use!

      Update: The homepage says this in a feature box, which is... almost worst than saying nothing, because it doesn't mean anything? -> "Enterprise-grade security; End-to-end encryption, enterprise-grade standards, and zero-trust access controls keep your data protected in transit and at rest."

        • antves

          today at 3:38 PM

          Thanks for bringing this point up!

          We take security very seriously and one of the main advantages of using Smooth over running things on your personal device is that your agent gets a browser in a sandboxed machine with no credentials or permissions by default. This means that the agent will be able to see only what you allow it to see. We also have some degree of guard-railing which we will continue to mature over time. For example, you can control which URLs the agent is allowed to view and which are off limits.

          Until we'll be able to run everything locally on device, there must be a level of trust in the organizations that control the technology stack, passing from the LLM all the way to the infrastructure providers. And this applies to every personal information you disclose at any touch point to any AI company.

          I believe that this trust is something that we and every other company in the space will need to fundamentally continue to grow and mature with our community and our users.

          • johnys

            today at 2:49 PM

            Curious: what are people using as the best open source and locally hosted versions to have agents browse the web?

              • verdverm

                today at 3:53 PM

                Playwright, same thing we use when doing non-ai automation

                Fun fact, ai can use the same tools you do, we don't have to reinvent everything and slap a "built for ai" label on it

                  • antves

                    today at 4:09 PM

                    We love these tools but they were designed for testing, not for automation. They are too low-level to be used as they are by AI.

                    For example, the playwright MCP is very unreliable and inefficient to use. To mention a few issues, it does not correctly pierce through the different frames and does not handle the variety of edge cases that exist on the web. This means that it can't click on the button it needs to click on. Also, because it lacks control over the context design, it cannot optimize for contextual operations and your LLM trace gets polluted with incredible amount of useless tokens. This increases cost, task complexity for the LLM, and latency

                    On top of that, these tools rely on the accessibility tree, which is just not a viable approach for a huge number of websites

                      • verdverm

                        today at 4:41 PM

                        again (see other comment), you are not listening to users and asking questions, you are telling them they are wrong

                        You describe problems I don't have. I'm happy with Playwright and other scraping tools. Certainly not frustrated enough to pay to send my data to a 3rd party

                          • antves

                            today at 5:16 PM

                            have you tried any other AI browser automation tools? we would be curious to hear about your use cases because the use cases we have been working on with our customers involve scenarios where traditional playwright automations are not viable, e.g. they operate on net new websites and net new tasks for each execution

                              • verdverm

                                today at 5:35 PM

                                I'm unwilling to send my data to a 3rd party that is so new on the scene

                                Consider me a late adopter because I care about the security of my data. (and no, whatever you say about security will not change my mind, track record and broader industry penetration may)

                                Make it self-hostable, the conversation can change

        • jwr

          today at 4:16 PM

          I was actually very interested until I realized that this doesn't run on my computer…

          I get the sandboxing, etc, but a Docker container would achieve the same goals.

            • antves

              today at 4:33 PM

              There are pros and cons to running the browser on your own machine

              For example, with remote browsers you get to give your swarm of agents unlimited and always-on browsers that they can use concurrently without being bottlenecked by your device resources

              I think we tend to default to thinking in terms of one agent and one browser scenarios because we anthropomorphize them a lot, but really there is no ceiling to how parallel these workflows can become once you unlock autonomous behavior

                • garciasn

                  today at 4:37 PM

                  I appreciate that, but for the audience here on HN, I’m fairly certain we understand the trade offs or potentially have more compute resources available to us than you might expect the general user to have.

                  Offer up the locally hosted option and it’ll be more widely adopted by those who actually want to use it as opposed to tinker.

                  I know this may not fit into your “product vision”, however.

                    • antves

                      today at 5:22 PM

                      I agree it would be really cool to run this locally, it's definitely something on our radars

          • dandaka

            today at 5:36 PM

            I'm working on building a personal assistant concept. One test I've been running is asking different AI assistants to use a browser to check available appointment slots for my hairstylist. None of them has managed to do it successfully yet, but I'm going to keep trying.

            https://n694923.alteg.io/company/656492/personal/menu?o=

            • oofbaroomf

              today at 8:46 PM

              Is this essentially a cloud-managed specialized subagent with an LLM-friendly API?

              Seems like an interesting new category.

                • antves

                  today at 9:25 PM

                  yes that's right! I think this might be the way AI agents adoption plays out more broadly

                  Agents that start using subagents rather than humans using the subagents directly

                  • rahulyc

                    today at 8:51 PM

                    The new SaaS is subagent as a service?

                      • antves

                        today at 9:28 PM

                        indeed! there is no reason why tooling for AI agents shouldn't use AI when tooling for humans is shifting towards AI

                • sandgraham

                  today at 5:59 PM

                  Curious how this compares to https://sentienceapi.com/. My understanding is that Sentience uses deterministic "semantic snapshots" to try and give agents a more reliable browser interface.

                  • tobyhinloopen

                    today at 3:31 PM

                    Way too expensive, I'll wait for a free/open source browser optimized to be used by agents.

                      • antves

                        today at 3:48 PM

                        Our approach is actually very cost-effective compared to alternatives. Our browser uses a token-efficient LLM-friendly representation of the webpage that keeps context size low, while also allowing small and efficient models to handle the low-level navigation. This means agents like Claude can work at a higher abstraction level rather than burning tokens on every click and scroll, which would be far more expensive

                          • verdverm

                            today at 3:56 PM

                            If a potential user says it is too expensive, better to ask why than to tell them they are wrong. You likely have assumptions you have not validated

                              • antves

                                today at 4:22 PM

                                Definitely! Making Smooth as cost-effective as possible it's been a core goal for us, so we'd really love to hear your thoughts on this

                                We'll continue to make Smooth more affordable and accessible as this is a core principle of our work (https://www.smooth.sh/images/comparison.gif)

                                  • verdverm

                                    today at 4:44 PM

                                    are your evals / comparisons publicly/3rd party reproducible?

                                    If it's "trust me, I did a fair comparison", that's not going to fly today. There's too much lying in society, trusting people trying to sell you something to be telling the truth is not the default anymore, skepticism is

                                      • antves

                                        today at 4:56 PM

                                        That's a great point, we'll publish everything on our docs as soon as possible

                    • ilaksh

                      today at 6:14 PM

                      This is a good idea. Do you use something like browser-use or Fara-7b behind the scenes? Or maybe you don't want to give up your secrets (which is fine if that's the case).

                        • antves

                          today at 6:26 PM

                          Thanks for asking! We developed our browser agent that uses a mix of custom and frontier models for different parts of the system

                      • itissid

                        today at 5:26 PM

                        How does your approach differ from BrowserOS, not in the product sense(their product is ane enterprise browser based off chrome). but in how they designed the interface between the browser and the models?

                        • KevinChasse

                          today at 4:48 PM

                          Interesting approach. Exposing high-level goals rather than UI actions definitely reduces token overhead, but reproducible comparisons with open-source setups would strengthen the claim. Also, remote browsers introduce a new attack surface—sandboxing helps, but I’d like to see clear isolation guarantees against malicious pages or rogue scripts.

                          • lasgawe

                            today at 5:29 PM

                            I'm a bit curious. Why did you link the docs instead of the site in this post?

                              • antves

                                today at 5:39 PM

                                Our website does not dive as deep as the docs on the Smooth CLI yet

                            • quotemstr

                              today at 5:31 PM

                              Interesting idea as an open source tool I could hack locally, but no way in hell am I adding yet another bill and using a web browser of all things as SaaS. I'll make my own web-specialized subagent.

                              • waynenilsen

                                today at 2:25 PM

                                Frontend QA is the final frontier, good luck, you are over the target.

                                The amount of manual QA I am currently subjected to is simultaneously infuriating and hilarious. The foundation models are up to the task but we need new abstractions and layers to correctly fix it. This will all go the way of the dodo in 12 months but it'll be useful in the meantime.

                                agent-browser helped a lot over playwright but doesn't completely close the gap.

                                  • antves

                                    today at 3:45 PM

                                    It's amazing how agents like Claude Code become very much more autonomous when they have the ability to verify their work. That's part of the reason why they work much better for unit-testable work.

                                    I think this paradigm was very visible in yesterday's blog post from Anthropic (https://www.anthropic.com/engineering/building-c-compiler) when they mentioned that giving the agents the ability to verify against GCC was the key to unlock further progress

                                    Giving a browser to these agents is a no brainer, especially if one works in QA or develops web-based services

                                • franze

                                  today at 2:22 PM

                                  Congrats for shipping.

                                  How does it compare to Agent Browser by Vercel?

                                    • antves

                                      today at 3:24 PM

                                      Thanks for asking! There are a few core differences: 1. we expose a higher level interface which allows the agent to think about what to do as opposed to what to do 2. we developed a token-efficient representation of the webpages that combines both visual and textual elements, heavily optimized for what LLMs are good at. 3. because we control the agentic loop, it also means that we can do fancy things on contextual injections, compressions, asynchronous manipulations, etc which are impossible to achieve when exposing the navigation interface 4. we use a coding agent under the hood, meaning that it can express complex actions efficiently and effectively compared to the CLI interface that agent-browser exposes 5. because we control the agent, we can use small and efficient LLMs which make the system much faster, cheaper, and more reliable

                                      Also, our service comes with batteries included: the agent can use browsers in our cloud with auto-captcha solvers, stealth mode, we can proxy your own ip, etc

                                        • antves

                                          today at 6:42 PM

                                          typo: what to do as opposed to how to do it

                                  • waynenilsen

                                    today at 2:42 PM

                                    i can see a new token efficient mirror web possibly emerging using content type headers on the request side

                                    forms, PRG, semantic HTML and no js needed

                                      • antves

                                        today at 3:28 PM

                                        Totally agree! The web for agents is evolving very fast and it's still unclear what it will look like

                                        Our take is that, while that happens, agents today need to be able to access all the web resources that we can access as humans

                                        Also, browsers are a really special piece of software because they provide access to almost every other kind of software. This makes them arguably the single most important tool for AI agents, and that’s why we believe that a browser might be all agents need to suddenly become ten times more useful than they already are

                                        • verdverm

                                          today at 4:46 PM

                                          seems unlikely, you're asking the entire internet to update their software for dubious improvements

                                            • antves

                                              today at 5:20 PM

                                              I believe this shift will actually happen organically over time

                                              there will be demand for AI-first online services as people continue to delegate more and more tasks to agents and this will drive implementation

                                                • verdverm

                                                  today at 5:23 PM

                                                  If it's machine-machine comms, just use an API

                                                  Seems dumb to create some other representation when we have an ubiquitous machine readable format that Ai understands quite well

                                              • waynenilsen

                                                today at 4:50 PM

                                                i believe agent native sites will stand up and the incumbents will be forced to adapt

                                                such as agent native shopping platforms whereby a human will bring you something from walmart or what not could spring up and disrupt your instacart of the world

                                                this of course is just one simple example, when it works better for the clawdbot or whatever comes next what are the users going to choose they'll say 'get me some apples from walmart using instacartforbots' because they know the agent success rate will be higher

                                                  • verdverm

                                                    today at 5:00 PM

                                                    > disrupt your instacart

                                                    Instacrats primary resource is not the website, it's the network of shoppers. You cannot replace that with Ai

                                                    I stopped using these services very quickly because the person (or machine) on the other side will never pick the same way I do. They don't care about quality, they care about time & money. My use of Ai is not going to change their incentives

                                        • behnamoh

                                          today at 2:31 PM

                                          Ironically, the landing page and docs pages of Smooth aren't all that token-efficient!

                                            • liukidar

                                              today at 3:26 PM

                                              Ahah, indeed that's true... That's why we've just released Smooth CLI (https://docs.smooth.sh/cli/overview) and the SKILL.md (smooth-sdk/skills/smooth-browser/SKILL.md) associated with it. That should contain everything your agent needs to know to use Smooth. We will definitely add a LLM-friendly reference to it in the landing page and the docs introduction.

                                          • desireco42

                                            today at 5:23 PM

                                            Look this is cool idea, but subscribing to anything these days is a hard sell, we are all tired of subscription plans. You probably would be more succesful if you could find this to package in a way that is not subscription.

                                              • antves

                                                today at 5:30 PM

                                                would love to hear what pricing model would work best for you

                                                our current model is a subscription plan that determines the number of browsers available + credits top-ups for increased usage