Webctl
Browser automation for agents based on CLI instead of MCP
Details
- External ID
- 46616481
- Source
- HN
- Company
- —
- Product
- webctl
- Website domain
- github.com
- Launched
- Jan. 14, 2026
- Cohort
- —
- Upvotes
- 134
- Upvotes percentile
- 0.9268774703557312
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN, I built webctl because I was frustrated by the gap between curl and full browser automation frameworks like Playwright.I initially built this to solve a personal headache: I wanted an AI agent to handle project management tasks on my company’s intranet. I needed it to persist cookies across sessions (to handle SSO) and then scrape a Kanban board.Existing AI browser tools (like current MCP implementations) often force unsolicited data into the context window—dumping the full accessibility tree, console logs, and network errors whether you asked for them or not.webctl is an attempt to solve this with a Unix-style CLI:- Filter before context: You pipe the output to standard tools. webctl snapshot --interactive-only | head -n 20 means the LLM only sees exactly what I want it to see.- Daemon Architecture: It runs a persistent background process. The goal is to keep the browser state (cookies/session) alive while you run discrete, stateless CLI commands.- Semantic targeting: It uses ARIA roles (e.g., role=button name~="Submit") rather than fragile CSS selectors.Disclaimer: The daemon logic for state persistence is still a bit experimental, but the architecture feels like the right direction for building local, token-efficient agents.It’s basically "Playwright for the terminal."
Enrichment
- Theme
- browser automation and scraping for AI
- Vertical
- Horizontal
- Function
- Agent / copilot
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- browser automation for ai agents
- Manually corrected
- False
Could you build this?
Yes Webctl is a command-line wrapper around a headless browser engine like Playwright or Puppeteer that handles session cookies and page interactions. Prompting an AI coding assistant can readily create the CLI interface and script the browser automation calls.
Discussion
20 comments analyzed.
Competitors mentioned: Browser Use, code-mode MCP, playwriter plugin, raw HTML approaches with BeautifulSoup
Concerns raised: Context pollution from accumulating invisible state, SPA replayability issues with auto-generated IDs, Raw HTML approach more expensive in tokens, Session isolation edge cases in V1 release
Feature requests: Expose other browser plugin APIs via same CLI, Support controlling existing tabs in main browser instance, Attach to OS daily driver browser instance
Competitors
Other products that read as similar to this one — 249 launches clear the similarity bar, closest 8 shown.
Attention rank: #24 of 250 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 74 days after the earliest competitor.
- BrowserAct · ph · 2026-06-25 · 561 upvotes · similarity 0.51
- web-cli · github · 2026-09-11 · 22 upvotes · similarity 0.50
- Browser4 · hn · 2025-12-13 · 7 upvotes · similarity 0.50
- I spent 3 months making desktop automation stop lying to AI agents · hn · 2026-08-15 · 6 upvotes · similarity 0.48
- Open-source browser for AI agents · hn · 2026-03-11 · 155 upvotes · similarity 0.48
- Smooth CLI · hn · 2026-02-05 · 109 upvotes · similarity 0.48
- Letting Claude automate fleets of browser sandboxes · hn · 2026-03-03 · 6 upvotes · similarity 0.48
- I built a tool that turns any API into a CLI for agents · hn · 2026-03-01 · 6 upvotes · similarity 0.48
Other launches for this product
Same idea, different domain
Nobody's really built a agent / copilot tool for Agriculture yet.