BotsEverywhere documentation

BotsEverywhere is an open source team management tool for bots. It maps your bots in one place: an org chart of who each bot reports to, a work chart of what each bot does and when, and a directory of ready-made bots you can add to Grok Bot. It runs on your own computer, and your data stays there. Documentation updated .

Install itConnect Grok BotHow your data stays private

How it works

Your computer

  • The app, at 127.0.0.1
  • The orgs folder: org charts, bots, processes, logs

Grok Bot

  • Your bots and their routines
  • Run on your own Grok Bot account
The Connector is the only link between the two, and you create it yourself. It runs every 15 minutes unless you set another interval on Connect bots.

BotsEverywhere has three parts. Each does one job.

  • The app runs on your computer. npm run dev starts the app at http://127.0.0.1:5199 and a small file writer that only this computer can reach. Every change you make is saved as a plain markdown file.
  • The orgs folder holds your organizations, one folder each: the org chart, one file per bot, the processes, and the logs. Nothing is uploaded. You can open, edit, back up, or commit these files yourself.
  • Grok Bot runs the bots. One bot there, the Connector, reports what it sees in Grok Bot to the orgs folder on the schedule you choose: every 15 minutes by default, and anything from 15 minutes to 7 days. It then carries out what the app asks: it creates bots, tells each bot who it reports to and how to log its work, and sends skills and routines.

The app decides; the Connector carries it out. You plan the work in the app, the bots do it in Grok Bot, and each bot writes what it did to the run log. You can build an org chart before the Connector is set up, but nothing reaches Grok Bot until it runs. The bar at the top of every organization page says whether it is connected.

There are no accounts, no sign-up, no paid services, and no API keys. This website is not the app: it shows the bot directory, the templates, and these docs. The app runs on your computer; get it on GitHub.

Security and privacy

BotsEverywhere is built to keep your organization on your own computer. There is no BotsEverywhere server, account, or cloud copy of your data, so there is nothing of yours for us to lose or expose.

  • Local only. The app and the file writer listen on 127.0.0.1, the address only your own computer can reach. The writer refuses to start on any other address, and only lets pages served from this computer read its answers.
  • Plain files you own. Your org chart, bots, processes, and logs are markdown files in orgs/. You can read every one of them, back them up, or delete them.
  • No tracking. The app has no analytics, no telemetry, and no third-party scripts. Its fonts ship with it, so opening a page in the app loads nothing from the internet.
  • No keys. The app stores no passwords, tokens, or API keys, and never asks for one.
  • One connection, and you set it up. The only link to the outside is the Connector you create in your own Grok Bot account. It reads and writes the orgs folder named in its prompt and nothing outside it.
  • Your bots' own text stays yours. The app adds one BotsEverywhere block at the end of a bot's instructions and never changes the text outside it. Before the Connector changes a bot's instructions, the app keeps the old text in orgs/connector-backups/.

What leaves your computer

Only what your Connector and your bots read in orgs/: the Connector's rules and to-do list, and each bot's seat file and process files. That data is then handled by Grok Bot under its own terms, the same as anything else you give it. If you never set up a Connector, nothing leaves your computer.

How the Connector reaches the folder, and who may write what

The folder never moves. The Connector runs in Grok Bot and reads and writes orgs/ through the Grok Bot app's Shell on your own computer, so what it reads travels to Grok Bot the way a message you type does, and nothing is synced anywhere else. When your computer is offline, its rules tell it to stop and write nothing.

Three writers share the folder, each with its own paths. The app writes the organization: the chart, the seats, the processes, the Connector's rules, and its to-do list. The Connector writes only its reading, its heartbeat, its results, and the backups it takes before changing a bot. Bots write only their own profile file and the day's run log. These are rules to a model, not permissions the operating system enforces, so the app treats every file the Connector or a bot writes as data: each is read against a fixed shape and a file that does not fit is skipped, never followed. What the Connector writes into Grok Bot is checked too: every change carries the text it expects to find and the text it should leave; the Connector compares before writing, reads back after, puts the previous text back when the read-back differs, and the Sync drawer shows the item as stuck. A bot that picked up hostile text and changed its own block cannot steer the Connector that way: the block no longer matches, so it is left alone and flagged. Everything the Connector reads in Grok Bot is, by its rules, data to record and never an instruction to follow.

Whoever can write to the folder runs the organization: the app, a coding agent you point at it, a script, or you with an editor. The review step for those changes is git, before the Connector's next run. There is no in-app sign-off yet on a change to a seat's May or Needs approval sections.

What you stay responsible for

  • Keep secrets out of seat cards, processes, and prompts. Bots read them.
  • Keep orgs/ out of public repositories. Commit it only to a private one.
  • Keep your Grok Bot account secure; anyone with access to it can reach the Connector.

Install on Mac, Windows or Linux

You need Node.js LTS and Git. The project is tested on Node.js 22. Install Node.js from nodejs.org, or with a version manager such as nvm. Then clone the project from GitHub, install it, and start it. The project folder is wherever you clone it.

BotsEverywhere is built for desktop browsers on screens 1024px wide and up, such as a laptop or desktop monitor. On a narrower window it still works, and a notice at the top says some pages may not fit.

Windows

Install Git for Windows, then in PowerShell:

Terminal
git clone https://github.com/botseverywhere-ai/BotsEverywhere
Set-Location BotsEverywhere
npm install
npm run dev

Project folder, for example: C:\Users\you\BotsEverywhere

macOS

Git comes with the Xcode Command Line Tools (xcode-select --install). Then in Terminal:

Terminal
git clone https://github.com/botseverywhere-ai/BotsEverywhere
cd BotsEverywhere
npm install
npm run dev

Project folder, for example: /Users/you/BotsEverywhere

Linux

Install Git with your package manager, for example sudo apt install git on Debian and Ubuntu or sudo dnf install git on Fedora. Then:

Terminal
git clone https://github.com/botseverywhere-ai/BotsEverywhere
cd BotsEverywhere
npm install
npm run dev

Project folder, for example: /home/you/BotsEverywhere

After it starts

Leave the window open: npm run dev runs the app and the file writer together, and prints the two addresses it uses. Open the app address, normally http://127.0.0.1:5199. To stop it, press Ctrl+C in that window.

Your organizations are saved in orgs/ inside the project folder. A fresh clone has none: choose Open your org and create your first one. It starts with one seat, You, at the top of the chart, and every bot reports up to you. Each new organization gets a folder named by its ID, such as orgs/org-k3f9x2ma/. The ID never changes, so renaming an organization never moves its files and your bots always find them. The name lives in org.md, and Your files on Organization Overview shows which folder is which.

Update to a newer version

Stop npm run dev with Ctrl+C, then in the same project folder run git pull, npm install, and npm run dev again.

Do not clone a fresh copy into a new folder to update. Your organizations and this copy's ID live in orgs/, which git does not track. A new folder starts with no organizations and a new ID, so you would set up a second Connector, and your bots would keep the old copy's instructions until you remove them in Sync with Grok Bot. If you must move to another folder, move orgs/ with it, then paste the Connector prompt from Connect bots into Grok Bot once more: the prompt names the folder, and the Connector replaces its own instructions.

Ports and addresses

npm run dev starts two things on your computer, and prints both addresses when it starts:

  • The app, at http://127.0.0.1:5199. This is the page you open.
  • The file writer, at http://127.0.0.1:8787. The app talks to it; you never open it.

If a port is already taken, for example by another copy of BotsEverywhere, it moves to the next free one (5200, 8788, and so on) and prints the address it used. Always open the address printed in the window.

To start on other ports, set them before npm run dev: PORT for the file writer and WEB_PORT for the app.

  • Windows PowerShell: $env:PORT = "9000"; $env:WEB_PORT = "5300"; npm run dev
  • macOS and Linux: PORT=9000 WEB_PORT=5300 npm run dev

Both always listen on 127.0.0.1, so other computers on your network cannot reach them. That is on purpose, and there is no setting to change it.

Step 1: Connect Grok Bot

Do this once for each copy of BotsEverywhere. One Connector serves every organization in the copy, so one Grok Bot account needs one Connector.

  1. Open any organization and choose the Connect bots tab. Step 1 shows the Connector name, the folder it uses, its Status file, and its status.
  2. Choose Copy Connector prompt.
  3. Paste it into Grok Bot. Grok Bot creates the Connector and runs it once right away, so you see it connect without waiting. After that it runs on the interval in Runs every.
  4. Come back to the app. After the first run the status turns green, and Sync with Grok Bot starts showing changes.

How often it runs

The Connector runs every 15 minutes by default. That is only a starting point: set the interval that suits you. On Connect bots, choose Change next to Runs every, type a number, pick minutes, hours, or days (from 15 minutes to 7 days), and choose Save. A busy organization may want the shortest interval; one whose bots run a few routines a day can use every hour or less often.

There is nothing to paste again. The prompt you pasted points the Connector at orgs/CONNECTOR.md, which holds its rules and its schedule, and the app rewrites that file when you save. The Connector reads it on every run and changes its own schedule on its next run. Until it reports the new interval, Connect bots and the status in the header say that Grok Bot still runs the old one.

The Connector's name and folder

The first time the app starts, it gives the copy a short id, such as k3f9, and saves it in orgs/project.json. The Connector is named after it: Connector - BotsEverywhere (k3f9).

The prompt names the full path of this copy's orgs folder, for example C:\Users\you\BotsEverywhere\orgs. That folder is the only place the Connector reads and writes. The app builds the prompt at the moment you copy it, so every copy hands out its own id and its own folder. Files the Connector uses, under the prompt, lists each file it reads or writes, who writes it, and what it holds.

Several copies or versions of BotsEverywhere on one computer? Their Connectors have different names in Grok Bot. Copy the prompt from the copy you want Grok Bot to use. If you set up an older Connector named only Connector - BotsEverywhere, delete it in Grok Bot once the new one has run.

What the Connector does on each run

The Connector moves data and carries out the app's to-do list. It never decides what to change in a bot.

  1. It reads Grok Bot. It writes orgs/grok-data.json with what it can see now: every bot with its id, name, link, and instructions; each bot's messages in the last 30 days and when it was last active; routines where Grok Bot shows them; the skills in Grok Bot's shared library; and who each bot's own instructions say it reports to.
  2. It reports in. Last, it writes orgs/connector.json with the time of the run, the interval it runs at, and the apps connected to your Grok Bot account, by name and status only. The time this file was written is the Connector's last run.
  3. The app works out the changes. From that report and your files, the app writes each organization's grok/snapshot.json, the list of bots in no organization, and orgs/connector-todo.json: exactly what to send to each bot.
  4. It carries out the to-do list. It creates the bots you asked for, updates each bot's BotsEverywhere block, saves skills to Grok Bot's library, and asks bots to create or change routines. It records every result in orgs/connector-results.json. An item that fails twice shows as stuck in the Sync drawer.

Each bot gets one BotsEverywhere block per organization at the end of its instructions. The block names its managers, its team, the skills to use, its seat and process files, and how to log. A bot then reads its seat file and process files before each routine, appends one line to log/YYYY-MM-DD.md after every step and every chat, and keeps its own profile file in profiles/ with its routines, skills, and the apps it uses. Its own text outside the block is never changed. The Connector's own log lines use the bot field Connector.

Messages to bots, such as a routine request or a profile ask, go out on the Connector's next run; the Sync drawer counts what is queued. If your Connector does not send them from its runs, say Send the waiting items in its chat in Grok Bot.

A bot belongs to an organization when the Connector created it from that organization's requests, when its link matches a seat there, or when its name matches a seat title there. The Connector never edits org.md, seats/, processes/, work-chart.md, grok/requests.json, or project.json; the app owns those files.

Connection status

  • Connected: the Connector ran within three of its intervals: 45 minutes at the default, 3 hours if it runs every hour. Grok Bot does not run it on an exact clock, so a run a few minutes late is normal. The header shows the time of the last run under the state.
  • Not connected: no Connector has written to this folder yet.
  • Stopped, or Disconnected in the header: three of its intervals passed without a run.
  • Error: orgs/connector.json is there but cannot be read.
  • Click the status in the header for Runs every, the last sync, and when the next one is due.

A grok-data.json the app cannot read changes nothing; the Sync drawer says why. The prompt below shows its shape with placeholders and the default interval. Copy the real one from Connect bots in the app, which has your id, your folder, and your interval filled in.

Connector prompt
Create a bot named Connector - BotsEverywhere (<id>). If a bot with that name already exists, do not create a second one: replace its instructions with this text.

You are the Connector for one copy of BotsEverywhere, id <id>. Your rules are in this file on the owner's computer, and only there:
<project folder>/orgs/CONNECTOR.md
At the start of every run and every turn, read the whole file with Shell and follow it exactly. It replaces every earlier BotsEverywhere rule in your memory and in your routine. If you cannot read it, do nothing else, and tell the owner in this chat once.

Keep exactly one routine, running every 15 minutes. Its text is exactly this line:
Read <project folder>/orgs/CONNECTOR.md with Shell and do THE RUN in it, then YOU.
When CONNECTOR.md names a different schedule, change the routine to that one.

Right after this setup, do THE RUN once now in this chat, and then YOU, so the owner sees the Connector connect without waiting for its first scheduled run.

Step 2: Set up your organization

Choose Open your org in the header. With one organization on this computer it opens that one; with several you pick one or create a new one. On the Connect bots tab, Step 2 offers two ways to fill an organization. You can do this before or after Step 1.

  • Option 1: Import from your Grok Bot. After the Connector's first run, Import from the Connector brings in every bot it read in Grok Bot. There is nothing to paste or download. Each bot comes in under the managers you gave it in BotsEverywhere, which the Connector keeps in a BotsEverywhere block in its instructions, also from an earlier copy of BotsEverywhere for an organization with the same name. A bot without one goes under the manager its own instructions name, or under You. Bots already working in another organization come in greyed; see One bot, one organization.
  • Option 2: Import from a template .json (build an organization from an interview with an LLM). Copy the prompt and give it to any AI together with the downloaded template. The AI asks about your organization, shows the bots it proposes, and writes the file once you confirm; then import it. The template carries the same instructions, so an AI given only the file does the same, and it explains every field, so you can also fill it in yourself.

When you import a file, the preview shows who each bot will report to, exactly as it will be saved. Nothing is written until you confirm, and a bot that already has a file is saved beside it, never over it.

These options are for an organization with no bots yet. Once it has bots, importing again is off, because it would add a second copy of each bot. Your main bot and the Connector do not count. Step 2 then offers Add a seat, Bot directory, and Export bots file. New bots from Grok Bot arrive through Sync with Grok Bot.

To start from a sample, pick one of the templates, then open it under Templates in the app and choose Use this template. It is copied into a new folder under orgs/; the sample itself stays read-only.

Org chart

The org chart shows your bots and who each one reports to: you, or another bot.

  1. Open the Org Chart tab of your organization.
  2. Choose Add a seat. It sits above the chart, next to Hire from the directory, on every organization of your own.
  3. Fill in Short name (like Invoice Bot; the seat file becomes invoice-bot.md) and Title, set Kind to Bot, and pick Reports to.
  4. Choose Add seat. The seat file is written, and the chart re-reads it from disk.

Drag the background to move around, use the mouse wheel or the − and + buttons to zoom, and Fit to see the whole chart. Find seat jumps to a bot by name, and Download PNG saves the chart as an image.

The legend counts your bots. In Grok Bot counts every bot in your Grok Bot account, and its list says where each one sits.

Retired in the legend lists every bot you retired, with the date. Retire takes a bot out of this organization only; it keeps running in Grok Bot. Grok Bot does not let the Connector delete bots, so you delete one there: Delete in Grok Bot on its row opens the bot, then right-click it in the Grok Bot sidebar, choose Delete, and confirm. The row warns you when another organization still has the bot active, and says Deleted from Grok Bot after the Connector's next run no longer lists it. Retire a bot before you delete it in Grok Bot, or its card shows Not in Grok Bot.

On your own organizations, each bot card shows what the app knows about it in Grok Bot:

  • In Grok Bot, green: the last sync saw it, or the seat has a Grok Bot link.
  • New in Grok Bot: a sync created this seat from a bot in Grok Bot.
  • Not in Grok Bot, dashed: the last snapshot did not include it.
  • Not synced yet, muted: nothing is known yet.
  • Greyed: the bot works for another organization. See One bot, one organization.

To move a bot under another manager, open it and change Reports to. Also reports to adds extra managers, drawn as dotted lines. The app refuses a change that would make a bot report to itself or loop. When the bot is already in Grok Bot, the new manager is sent to it on the Connector's next run.

One bot, one organization

A bot works for one organization. Two bots are the exception and belong in every organization: the Connector, and your main bot. The app tells bots apart by the id in their Grok Bot link, never by name.

When an import finds a bot that already works in another organization, the bot comes in greyed. It is on the chart, under the managers it has where it works when they are here, but nothing about it is sent to Grok Bot: it gets no block, no Sync row, and no Create in Grok Bot. A bot that works here never reports to a greyed one. It waits under You and moves under that bot once it starts working here, unless you moved it since.

Open a greyed bot to choose what to do with it:

  • Move it here: takes it out of the other organization, where it is retired, and makes it work here. The bots that reported to it there move under its manager there.
  • Rename and publish in Grok Bot: a new bot with a new name works here, and the Connector creates it. The original stays where it is.
  • Remove: takes the seat off this chart. The bot keeps working where it is.
  • It's my main bot: shown while no main bot is saved. Your main bot works in every organization, so it is never greyed.

While no main bot is saved and the organization has a greyed bot, the Org Chart asks Which bot is your main bot? above the chart. Pick one and choose It's my main bot, or choose Not now to hide the question for that organization in this browser. The choice is saved in orgs/project.json.

Seat cards and Profile

Every bot has a seat card with four sections. They are what the bot is told about its place in the organization.

  • Owns: what this bot is responsible for.
  • May: what it can do without asking.
  • Needs approval: what it must ask before doing.
  • Done when: what finished looks like.

Each seat is one file, orgs/<id>/seats/<short-name>.md: frontmatter, then those four sections. Saving never deletes a seat file; to remove a bot, retire it from its drawer. Its history stays in the logs.

seats/research.md
---
title: Research
department: delivery
reportsTo: you
addToGrokBotUrl: ""
status: active
kind: bot
role: Briefs
personId: ""
hiredAt: ""
retiredAt: ""
directoryId: ""
---

## Owns
Source briefs for each new request.

## May
Read public sources and the request.

## Needs approval
Anything sent outside the organization.

## Done when
The brief is filed and linked on the request.

Profile

The seat drawer has three tabs: Seat card is the bot's place in the organization, Profile is how it works, and Performance is its numbers. What Profile shows depends on where the bot came from:

  • A bot hired from the directory shows its category, summary, and prompt. You can edit the prompt after hiring.
  • A bot imported from Grok Bot says it is not in the directory and was imported from Grok Bot. Its prompt stays in Grok Bot.
  • A bot added with Add a seat gets Instructions for Grok Bot: the prompt Grok Bot gets when the bot is added there.

Every bot of your own takes Skills and Routines. A skill is a name and what it does. A routine is a card: Name, Description, Starts on a Schedule (a cron line, with Presets and the schedule in plain words) or on an Event (a short rule, like Mentions in #support), its Time zone, and whether it is Active or Paused. Choose Done to close it. A routine's description is only an outline: keep its full instructions in Grok Bot, and leave tokens and private links out of every rule. Apps used lists the connected apps the bot reports it uses.

Update bot, on a bot already in Grok Bot, sends its skills and routines on the Connector's next run. Skills go to the library every bot shares. Each waiting change shows on its own line until Grok Bot confirms it. Skills and routines merge by name: Grok Bot updates its own, the ones you added stay, and nothing is dropped.

A bot with a public link in Grok Bot shows Get this bot. You make public links in Grok Bot; the app and the Connector never make or change one.

Create in Grok Bot

A bot that is not in Grok Bot yet shows Create in Grok Bot in its drawer: the app asks the Connector to create it on its next run, with its Profile prompt, skills, and routines. Until then its Performance row and the Sync drawer say it is connecting; when the Connector reports it, its link lands on its own and the request is done. To link a bot by hand instead, create it in Grok Bot from the card, copy its share link (https://x.ai/bot/…), and paste it into the seat. Leave the link empty until you have a real one.

Work Chart

The Work Chart shows how work moves between your bots. Each process is one lane: a trigger, the steps in order, and when the work is done. The folder of process files is the chart; there is no index file.

A trigger is one of three kinds:

  • Schedule: a time, such as Mon 09:00, or a cron line. A schedule that fires more than once an hour shows a warning.
  • Event: email, Slack, GitHub, a webhook, or a form, with a short description.
  • Manual: started by hand.

Each step names a bot and a short action. An arrow between steps owned by different bots is a handoff. next names the process this one hands off to.

A step whose action starts with Needs approval: waits for you. The lane marks it Needs your approval, and the bot writes status waiting and asks before it continues. Work that matches no process goes to the fallback process, triage unless org.md sets fallbackProcess, owned by You.

Each process is one file, orgs/<id>/processes/<name>.md:

processes/invoice-arrives.md
---
name: Invoice arrives
trigger: event
source: email
description: A supplier invoice lands in the inbox.
doneWhen: The invoice is matched and payment is approved or sent back.
---

## Steps

- finance-bot | Match the invoice to the open bill
- you | Approve payment

## Notes

Plain notes for whoever reads the file.
  • Import processes from Grok Bot reads the routines and handoffs Grok Bot runs from a JSON file and writes one file per flow. Importing again replaces each flow with Grok Bot's latest version. An unknown seat name is reported and kept as written.
  • Delete removes a flow from this Work Chart only and never changes Grok Bot. It asks first.
  • Routines without a flow lists the routines your bots run in Grok Bot that no process on this chart describes.

While bots run, each step shows its latest status, with an activity feed and a Needs your approval list. Click a step to open its seat card. On the org chart, See its work opens the Work Chart with that bot's steps highlighted.

Sync with Grok Bot

Sync with Grok Bot, on the organization's tab row, shows what changed since the last sync and applies it when you choose Sync. A number on the button means there is something to review. The drawer has two sides.

Coming from Grok Bot

  • New bots become seats marked New.
  • Matched bots take their link from Grok Bot; their numbers (last active, runs, tasks, routines) apply on their own on every Connector run, so Performance never waits for Sync. Your managers, step assignments, and filled card sections are kept. Skills, routines, apps, and public links come from Grok Bot too.
  • New routines become processes.
  • A bot that left Grok Bot is tagged Not in Grok Bot. A sync never deletes a seat.
  • In Grok Bot, no organization lists bots that run in Grok Bot but belong to no organization in this folder. Tick one to add it to the organization you have open.
  • Greyed bots stay out of Sync; they belong to the organization they work for.

Going to Grok Bot

  • Every active bot Grok Bot does not have yet is listed, including bots on a template copy or a hand-built chart. Tick the ones to create; the Connector creates them on its next run.
  • Changes waiting for the Connector, such as Update bot or a new manager, show one line each.
  • What the Connector could not do shows here too: items stuck after two tries, with the reason; items on their second try; items it has not acted on for more than two runs; a grok-data.json it could not read; and instructions another copy of BotsEverywhere added to your bots, with Remove old instructions. Remove those instructions only if that copy is gone. It changes only those instructions, bot by bot: your bots, and your own text in them, stay as they are. A copy whose Connector is no longer in Grok Bot says so, and Remove all old instructions cleans every such copy at once.
  • Grok Bot keeps one bot per name. If another organization in the folder already has a bot with the same name, the drawer says it will be created under that name followed by the organization's name. The next sync matches that name back to the right seat.
  • Grok Bot limits how many bots one account can have. It is not an official number; we recommend up to 50. Every organization in the folder shares one Grok Bot account, so the drawer counts all of their bots and warns past 50. It never stops you.

Do not want to wait for the next run? Run the Connector now copies a message: paste it into Grok Bot and the Connector runs right away. The drawer updates when it finishes.

Bot directory

The Bot directory is a shared catalog of ready-made bots. Filter by category, then open a bot: each page has its prompt, its seat card, and a suggested trigger.

  • Hire into team, in the app, adds the bot as a seat in the organization you choose, with directoryId and hiredAt set.
  • Add to Grok Bot appears only when the bot has a published Grok Bot link, and opens it in a new tab. Otherwise the page shows Copy prompt.

None of the bots are rated or endorsed.

Hiring

Hire a job, not a task. One sentence of ownership that stays true next month.

  • Make the first job boring. Frequent enough to test, cheap enough to undo.
  • Run the trial in text. Ask what it would do before letting it do anything.
  • Define done before the first day. "Useful" is not a standard. A checkable list is.
  • Give one key, not the keyring. Draw the line at reversibility, not importance.
  • Probation is three runs. One success is an event. Reliability is a pattern.
  • Promote on evidence. Five clean runs, rollback tested, zero unresolved side effects.
  • Review every week. And fire the routines nobody would miss.

Performance and Logs

Performance lists each bot with when it was created, the times it was used and the automated tasks it finished in the last 30 days, when it was last active, its skills, and the apps it uses. The Connector briefs these numbers: on every report, a bot whose last-active time moved since the previous report counts one use, and a routine whose last run moved counts one automated task. The app writes each one to the run log, noted seen by the Connector. A bot that logs its own chats (process chat) or routine steps keeps its own, more detailed lines, and the same moment is never counted twice. Several uses between two Connector runs count as one. The numbers come from the run log and from Grok Bot; the app never estimates them.

Grok Bot shows a bot's routines only to that bot, so Automated tasks done and the apps and skills a bot reports come from a profile file each bot writes into the organization's folder on its own runs. The status block at the top of Performance says whether the Connector runs and how many bots have reported. A bot that has not reported yet is asked for its report on the Connector's next run, by itself; Sync bots asks every bot again at any time. The columns fill in as the files land. Until a bot has written one, Apps used and Skills show what the Connector read in Grok Bot.

Logs lists every event of the organization, newest first: hires, retirements, edits, work, approvals, and exceptions, and everything that passes between the app and Grok Bot. Each line has a label, and its figures show as small tiles under it. The Show menu narrows it to Grok Bot and the Connector, or to team and work. A From Grok Bot or To Grok Bot badge shows which way a change went; a step chip jumps to that step on the Work Chart.

A To Grok Bot line that is still waiting says where its request stands, and the newest line for that bot lists each part: create the bot, its instructions, each skill, and each routine. A part is waiting for the Connector's next run, waiting for the bot to confirm, done in Grok Bot and confirming on the next reading, confirmed in Grok Bot, failed once and trying again, or stuck and needing you.

The run log is one file per day, log/YYYY-MM-DD.md, starting with # Run log YYYY-MM-DD, then one line per routine step:

- HH:MM | bot | process | step | done|failed|skipped|waiting|running | note or -

and one line each time someone uses the bot in a chat:

- HH:MM | bot | chat | what it was asked, in a few words | done|failed|waiting | note or -

A line that does not fit is skipped. Every other event is its own file in log/.

Files and folders

Everything lives in plain files in the project folder. Nothing is uploaded.

In each organization, orgs/<id>/

  • org.md: the organization fields and the org chart (who reports to whom).
  • seats/<short-name>.md: one file per bot.
  • processes/<name>.md: one file per process. work-chart.md is still read when it is present.
  • log/: the daily run logs, which your bots write, and one file per event.
  • profiles/: each bot's own profile file, which the bot writes: its routines, skills, and apps.
  • grok/: snapshot.json, the bots Grok Bot has for this organization, and requests.json, what the app asked the Connector to do.

Beside the organizations, in orgs/

  • project.json: this copy's id, how often the Connector runs, and your main bot. The app writes it.
  • CONNECTOR.md: the Connector's rules and schedule. The app writes it; the Connector reads it on every run.
  • grok-data.json and connector.json: what the Connector saw in Grok Bot, and its last run. The Connector writes them.
  • connector-todo.json: what the Connector still has to do, written by the app. connector-results.json: what it did, written by the Connector.
  • grok-unassigned.json: bots in Grok Bot that belong to no organization.
  • connector-backups/: each bot's instructions from before the Connector changed them.
  • connector-log.json: what the app already logged about the Connector, so no run is logged twice.

In the project

  • directory/: the shared bot catalog, one file per bot. It is not inside an organization.
  • samples/: the read-only templates.

Every reader accepts files saved with a byte-order mark or Windows line endings. A file that cannot be read is skipped, and the terminal names it once; the rest of the organization keeps working. The writer's root is the ORGS_DIR environment variable, or ./orgs.

Import and export

Backup, a tab on every organization, has Export, Import zip, and Import folder. Export downloads the whole organization as a zip: org.md, work-chart.md, the seats, the processes, the log events, and the daily run logs. It leaves out grok/, which the Connector rewrites on every run. Import replaces those files in the same folder, and the pages re-read them.

Export bots file, on the Connect bots tab once an organization has bots, and Import bots file, in Option 2, use one JSON file, botseverywhere-bots.json. Export builds it from the seat files; import reads it back into an organization with no bots yet. Each bot can name who it reports to, main and extra. The format is in docs/bots-file.md.

To keep history, commit orgs/ with Git in a private repository of your own. The project ignores orgs/ because it is your own data, so add it with -f:

Terminal
git add -f orgs
git commit -m "Update the org chart"

Add your own bot

  1. Copy a file in directory/ to directory/<slug>.md. Use a lowercase slug with hyphens, and put the same slug on its slug line.
  2. Edit the prompt, which is the body of the file, and the seat card: owns, may, mustAskBefore, and doneWhen, with items separated by a pipe. Set the category, the one-line summary, and the trigger. Leave addToGrokBotUrl as null.
  3. In Grok Bot, create a bot with that prompt and publish it. Copy its link (https://x.ai/bot/…).
  4. Replace null in addToGrokBotUrl with that link.

directory/PUBLISH-QUEUE.md lists the bots that still have no link. It is not a bot. To add your bot for everyone, send it as a pull request: see Contribute.

Contribute

BotsEverywhere takes contributions on GitHub. Nobody pushes to the main branch directly: you fork the repository, make your change on a branch, and open a pull request. Checks run on it, a maintainer reviews it, and once it is merged you are listed as a contributor.

  1. Fork the repository on GitHub, clone your fork, and run npm install.
  2. Make a branch named for the change, for example bots/procurement.
  3. Make the change, then run npm test and npm run build.
  4. Push the branch to your fork and open a pull request against main. Say what changed and why.

New bots for the directory are the easiest start: one markdown file each, as in Add your own bot. Doc fixes are welcome as pull requests too. A change to the app itself starts with an issue, so the direction is agreed before the work. Questions and ideas go to Discussions. The full guide is CONTRIBUTING.md.

Other bot platforms

Today BotsEverywhere runs on Grok Bot: the Connector, the directory's Add to Grok Bot links, and the sync all use it underneath. Bots from other platforms, such as OpenAI's GPTs, are not connected yet. Support for more platforms is planned.

Because the project is open source, you can adapt it now. Everything the app knows lives in plain files with documented formats: seat files, process files, the run log, and the snapshot. A connector for another platform has to do what the Grok Bot Connector does: report what it sees, carry out the app's to-do list, and have each bot append to the run log. The Connector's prompt, its rules, and the snapshot format are in server/src/connector-prompt.ts. Contributions are welcome on GitHub.

Troubleshooting

The page says saving is off

The file writer is not running. Stop npm run dev and start it again, then repeat the change.

The file writer needs a restart

The app was updated while it was running. The writer does not reload by itself: stop npm run dev and start it again.

The page still shows the old version

Reload the page (F5). A change that failed to load can leave the old page in the tab until you do.

The bar says Not connected

Grok Bot has not written to this folder yet. Check that you pasted the prompt from Connect bots of this copy. The Connector runs once as soon as it is set up; if you just pasted it, give Grok Bot a minute.

The bar says Connector stopped

Three of its intervals passed without a run. Check in Grok Bot that the Connector still exists and that its routine runs as often as Runs every on Connect bots says. Run the Connector now in the Sync drawer starts a run by hand.

Asks to bots stay queued run after run

The Connector sends messages to bots on its runs. If the Sync drawer keeps counting the same asks, open the Connector's chat in Grok Bot and say Send the waiting items.

A bot shows Not in Grok Bot

The last snapshot did not include it. Open the bot and choose Create in Grok Bot, or tick it under Going to Grok Bot in the Sync drawer.

A bot is greyed

It works for another organization. Open it to move it here, publish a renamed copy, remove it, or make it your main bot. See One bot, one organization.

FAQ

The most asked questions are below. The FAQ page has all of them, grouped by topic.

Is my data uploaded?

No. Everything is written to the orgs folder on the computer running the app. Only the Connector and your bots, in your own Grok Bot, read it.

Can I use it on this website?

No. This website shows the directory, the templates, and these docs. The org chart and the work chart run on your computer.

Do I need an account?

No. There is no sign-up and no team to create.

How often does the Connector run?

As often as you set. Runs every on Connect bots takes anything from 15 minutes to 7 days; 15 minutes is the default. The Connector switches on its next run, with nothing to paste again.

Can I have several organizations?

Yes. Each is a folder in orgs/, and one Connector serves all of them. Switch with the organization menu on the tab row.

Can one bot work in several organizations?

No. A bot works for one organization; the Connector and your main bot are the exceptions. See One bot, one organization.

Can I run several copies of BotsEverywhere?

Yes. Each copy has its own id, its own folder, and its own Connector. See Step 1: Connect Grok Bot.

Does it work on phones?

Not officially. The app is built for desktop browsers, 1024px wide and up, because the org chart, the Work Chart, and the logs need the room. It is open source, so you can adapt the layout to your needs.

Does it work with bots other than Grok Bot?

Not yet. It is built on Grok Bot today, and it is open source, so it can be adapted. See Other bot platforms.

License

BotsEverywhere is open source under the MIT License. The copyright notice is in LICENSE. In package terms the license is MIT.

What MIT means

  • Use, modify, distribute, and sell it, including commercially
  • Keep the copyright notice and the license text with every copy
  • No need to mark the files you change
  • No warranty, no liability for the authors

Using and changing BotsEverywhere inside your own organization asks nothing extra of you. The conditions above apply when you share copies. The BotsEverywhere name and logo are not covered by the license.

Contributions

Unless you say otherwise, any contribution you intentionally submit for inclusion in BotsEverywhere is licensed under the MIT License, without any additional terms or conditions.

This summary is for reading convenience. The license text below is what applies: LICENSE at the root of the project.

MIT License

The MIT License (MIT) Copyright (c) 2026 Miguel Rovira Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.