Agents and automation
jsflow can be driven by coding agents and scripts as well as by people. The pieces:
- The
jsflowcommand line: apps, keys, usage, logs and rooms, with JSON output, stable exit codes, no prompts, and safe retries. - Access tokens: a token lets a tool act as you, with limited scopes, in one account, for a limited time. You create it in the dashboard, or approve a login from the CLI.
- An
AGENTS.mdfor your repository: rules for an agent that works on your code. - Docs an agent can read:
llms.txtlists the docs, every page has a Markdown copy (add.mdto its address), andllms-full.txtis all of it in one file. The error codes are also data.
Use jsflow with your agent
Section titled “Use jsflow with your agent”An Agent Skill teaches your coding agent jsflow and the safe way to run the CLI. It is free and MIT-licensed, in the community repository.
- Claude Code:
/plugin marketplace add precisit/jsflow-community, then/plugin install jsflow@jsflow. - Other agents:
npx skills add precisit/jsflow-community. - GitHub CLI:
gh skill install precisit/jsflow-community jsflow.
No jsflow account yet? Run npx jsflow-cli signup: a person creates the account in the browser and approves the login. Details: Set up an agent.
What stays with a person
Section titled “What stays with a person”A token can read your usage, logs and rooms, create and change apps and origins, manage keys, and evict and block users, as far as its scopes allow. It can never enter payment details, change the plan or the spend cap, delete an app or the account, export account data, manage members, set up webhooks, or create a token. The CLI and the API answer those with human_required and a link: a person opens it and does it, signed in.
An agent cannot create an account on its own: a person creates it in the browser (npx jsflow-cli signup opens the page) and accepts the terms.
Start here
Section titled “Start here”- Set up an agent:
npx jsflow-cli signuporlogin(a person approves a code), install, and what to put inJSFLOW_TOKEN. - Which credential for which job: publishable key, secret key, access token, join ticket.
- Give the agent your
AGENTS.mdsection.
No invitation yet? Build and run on http://localhost or 127.0.0.1 with the shared demo app (up to 16 peers a room); its key is in the quick start. The demo app is shared, so use a random room name. Your own app key, for your own domain, comes with an invitation: join the waitlist.