A
statelyai/agent★ 511 · TypeScript
An XState-based TypeScript SDK for constraining and replaying LLM workflows
MIT · Commercial Friendlyv1.1.6
Side-by-side 2026 comparison in Agents & Frameworks: browser-use/browser-use leads both total GitHub adoption (★ 122.7k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
An XState-based TypeScript SDK for constraining and replaying LLM workflows
Python REPL and CDP for adaptive browser automation
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | statelyai/agent | browser-use/browser-use |
|---|---|---|
| Total GitHub Stars | ★ 511 | ★ 122,716 |
| 24h / 7d Velocity | +0 / +3 | +59 / +477 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 78/100 | A+ · 98/100 |
| Deployment Signals | API | Docker · MCP · Self-Hosted · CLI · API |
| Primary Language | TypeScript | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v1.1.6 | 1.0.11 |
| Best For | TypeScript teams building approval-gated support or operations workflows that need explicit business rules, resumable pauses, and auditable replay, or migrating an existing agent in phases with parity checks | Authorized browser workflows with changing layouts, such as extracting data from internal dashboards, where an agent can adapt and the application can verify the result |
agent.decide receives allowedEvents; XState guards still decide whether a proposed transition can fire.canReach can test whether a sentinel state is reachable without a model API key; check complete before treating non-reachability as proof.replay reconstructs state from recorded events without another model call.wrapWorkflow captures a baseline, while checkParity compares behavior as phases move into the machine.pnpm add @statelyai/agent@2.0.0-alpha.41 xstate@6.0.0-beta.2 zodbrowser-harness==0.1.13 provides helpers alongside raw Chrome DevTools Protocol access.bu-4.0 is the gateway default; direct OpenAI and local Ollama configurations are also available.Agent supports custom tools and structured output; CLI and MCP connect existing agent hosts.uv init --python 3.12 my-agent && cd my-agent uv add 'browser-use==1.0.9' uv run browser-use login # sign in once; the key is saved (over SSH: --device-code)
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy