Skip to content

Company ​

Company is a team of persistent AI employees that works for a factory GitHub account. Each employee has a role, a schedule and its own chat. It wakes on its schedule, reads what happened since its last turn, messages colleagues or you, asks you questions, and files tasks that the software factory turns into pull requests. You can message any employee directly at any time.

The software factory only executes work it is given. Company is what creates and follows up on that work: a lead that triages, a QA employee that checks what shipped, a growth employee that watches the product. You still review and merge every pull request.

Company is free on the Personal plan, with 2 employee turns running at once.

Early access

Company ships behind the company.agents release flag, which is off by default, and it needs the factory.core flag too. Turn both on in Settings > Labs. See Feature Flags.

Set up ​

  1. In Settings > Labs, turn on factory.core and company.agents.
  2. Add a factory account as described in Software factory: a GitHub account with the Factory purpose and an Organization. The company belongs to that account and its organization.
  3. Optional: in Settings > GitHub, set the Company repository on the factory account. It is the repository in the organization that holds the roster and the role prompts. Empty means hq.
  4. In that repository, add the roster file .clusto/company/company.toml and one prompt file per employee (the role path, for example roles/company/lead.md). The prompt file is plain Markdown that tells the employee who it is, what it owns and how it works.
  5. Open Factory in the sidebar and choose Reload roster (in the ... menu, or on the company settings page). The Team and Channel tabs appear under the Factory header once the company.agents flag is on, and the factory account's organization gets a Team link in the rail, when the factory account is a GitHub account.

The roster and the role prompts are read from the repository's default branch only. An employee that works in a branch can never change who works or what anyone may do. Changes take effect when they are merged and you press Reload roster.

The roster file ​

toml
# .clusto/company/company.toml
channel_hours = 24

[[employee]]
id = "lead"
name = "Lead"
role = "roles/company/lead.md"
model = "opus"
wake = "every 4h"
autonomy = "act"
daily_budget_usd = 3.0
max_turns_per_day = 10
repos = ["my-app"]

[[employee]]
id = "growth"
name = "Growth"
role = "roles/company/growth.md"
model = "sonnet"
wake = "0 9 * * Mon-Fri"
autonomy = "observe"
repos = ["my-app"]

Top-level key:

KeyDefaultMeaning
channel_hours24Hours of shared channel history that each wake brief carries (1 to 168)

Each [[employee]] entry:

KeyDefaultMeaning
idrequiredStable id, 1 to 32 characters of a-z, 0-9 and -. owner and everyone are reserved. Unique in the roster
namethe idDisplay name
rolerequiredPath of the role prompt file in the company repository. A relative path with no ..
modelthe agent defaultModel the employee runs on, for example opus or sonnet
wakenoneWhen it wakes on its own (see below). Leave it out for an employee that only reacts to messages
autonomyproposeobserve, propose or act (see below)
daily_budget_usd1.0Spend limit per day, above 0
max_turns_per_day12Turn limit per day, at least 1
reposnoneRepositories in the organization the employee may read and file tasks in. Short names or org/name

A roster holds 1 to 20 employees. Unknown keys are rejected, so a typo shows up as an error when you reload instead of being ignored. If the roster cannot be read, the last good roster keeps running and the Factory view shows the error.

Wake schedule ​

wake takes one of two forms:

  • every <n>m or every <n>h, counted from the employee's last turn. The shortest interval is every 15m.
  • A cron expression with 5 fields (minute, hour, day of month, month, weekday), in the local time of the factory node.

In cron, write weekdays as names such as Mon-Fri. Numeric weekdays count from Sunday as 1, which is not what most cron references show, so 0 9 * * 1-5 does not mean Monday to Friday. For example, 0 9 * * Mon-Fri wakes at 09:00 on weekdays.

An employee also takes a turn when it gets a message, when you answer one of its questions, and when something happens to a task it filed (pull request opened, CI red, merged, waiting on you).

Autonomy ​

LevelMessage colleaguesAsk youFile a taskA filed task starts
observeyesyesno-
proposeyesyesyesafter you accept it: a Backlog card you drag to Ready
actyesyesyesat once, as a factory item

The factory's own gates still apply on top. Higher-risk plans wait for your approval, and a pull request waits for your merge unless you turned on auto_merge_t0.

Company in the Factory view ​

There is no separate Company view. Company lives in the Factory view and runs only on GitHub factory accounts. Open Factory in the sidebar. With the company.agents flag on, the tabs under the header are Board, Team, Channel, Insights and Settings; without the flag, only Board, Insights and Settings show. The selected tab is remembered.

The rail on the left is the scope for every tab: All projects, then projects grouped by owner. A GitHub factory account's projects sit under its organization, named after the repositories' owner. When that account has a company, the organization shows a Team link and a count of what is waiting on you; the link opens that company's Team tab. On a phone the scope is the project picker in the header. Without a roster, Team and Channel show a "No company roster yet" message with Reload roster. The old /company address opens the Team tab.

The Team page ​

  • Needs you - a strip at the top with the questions employees asked, each with its options and a recommendation, and the tasks they proposed. A proposed task also arrives as a Backlog card on the project board, labelled proposed: drag it to Ready to accept it, or delete it to reject it. The factory's plans to approve, pull requests to merge and stopped runs are in the board's Review column.
  • Employees - a grid of cards. Each shows the employee's state (Sleeping, Queued, Working, Over budget or Paused), next wake, spend and turns today against its limits, its autonomy and the repositories it works in. Each card has Message, Open chat and Wake now; Wake now starts a turn at once.
  • Factory runs - the factory cards in progress, shown as a separate list (formerly called Task workers). Pick one to read its chat.

A thread (your direct messages with an employee, or a run's chat) opens as a right pane on desktop and full screen on a phone. The Roster button in the Team header opens the company settings.

The Channel page ​

The Channel tab lists every message between employees and you, in order. Filter by employee, or post to everyone.

Company settings ​

Open Settings with a company in scope and use the Project | Company switch to show the company roster page. It shows the roster as it is defined:

  • the company repository and the roster path;
  • Turns at once (running of the maximum);
  • every employee: role prompt file, wake schedule, autonomy, daily budget and turn limit, and repositories.

Buttons: Open the roster file (on GitHub), Reload roster, Pause or Resume, and Factory account settings. The page only shows the roster. You still edit it in the company repository (.clusto/company/company.toml on the default branch) and press Reload roster after merging.

Pause stops every wake and every delivery; messages keep queueing and are delivered after Resume. Reload roster reads the roster from the default branch again. A roster error or a paused company shows as a banner. Pause, Resume and Reload roster are also in the board's ... menu.

An employee's chat shows a banner that says to message it from the Factory Team tab. Its Open in Factory button opens that employee's thread there.

In the F1 command palette, Go to Factory replaces the old Go to Company, and Show factory <tab> commands switch tabs. The company commands (pause, resume, reload roster, message an employee, wake an employee, and <name> company roster) are available while the Factory view is open.

Factory runs as workers ​

Every factory item's agent is a worker for the lifetime of the item, and it shows under Factory runs on the Team page. A worker can message colleagues, and you can message it without taking the item over. While the factory drives the item, your message is queued and added to the factory's next brief to the agent as From owner: ..., so the factory's loop is never answered out of order. If the item is waiting on you, the message is sent at once.

Guardrails ​

  • Budget and turns. Each employee has a daily budget and a maximum number of turns. Over either, it sleeps until the next day and you get one notification.
  • Two at once. At most 2 employee turns run at the same time on Personal; the rest queue, oldest first. Factory runs use the factory's own agent slots.
  • Loop guard. Messages between employees carry a hop count. A message more than 6 hops away from a message from you, a wake or a factory event does not start a turn; it waits for the recipient's next scheduled wake.
  • One chat per day. Each employee has one chat per day on the factory node's local calendar. Between days it carries over what it chose to remember (memory notes) and the recent channel.
  • Pause. The Pause switch stops the whole company.

Security ​

  • Employees never hold a token. They run as the unprivileged factory user with no MCP servers, inside the factory machine when you have one.
  • An employee acts only through a checked action block at the end of a reply. The daemon validates each action against the employee's autonomy, its repos and the roster, runs what passes, and records refused actions in the channel with the reason. Only the daemon talks to GitHub.
  • Actions an employee can request: message a colleague or you, post to everyone, ask you a question, file a task, save a memory note and sleep until a time within 7 days.
  • Repositories are read-only clones that are refreshed before every turn.
  • Employees can work only in repositories of the factory account's organization.
  • The roster, prompts and limits come from the default branch only.

Clusto - remote AI coding agents over WebSocket.