Show HN: Mastro – Turn the browser session into a CLI for any web app
Category: devtools
Tags: cli, browser-automation, openapi, ai-agents, session-management, typescript
Score: 7.3/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 7)
Mastro Connect turns a user's authenticated browser session into a CLI for any web app by capturing session credentials via a Chrome extension and replaying them against the app's own API, all driven by OpenAPI 3.1 connector specs. It lets AI agents interact with web apps through structured CLI commands instead of brittle browser automation, with a data-driven connector model that agents can author themselves. The design is clever, security-conscious, and well-documented, though adoption depends on connector coverage.
Target audience: AI agent developers, backend developers, automation engineers, and power users integrating web apps into agent workflows
Repository: https://github.com/mastro-hq/mastro-connect · TypeScript · MIT · 7 stars
View on Hacker News