Pimpo
Documentation

RFC 0004: Companies of agents#

Problem#

People already use Pimpo's assistants and jobs as a small team: one assistant reads the news, another drafts posts, a job splits a big task into parts. What they cannot do is run a team that keeps working: several agents with their own job, their own accounts, their own routines and their own budget, who hand work to each other, ask the one above them before deciding, and leave the person in charge only what is theirs to decide.

People want to:

Where things stand#

Proposal#

1. What a company is#

A company belongs to the person who created it. Nothing in the engine knows about any industry: software, marketing or finance are roles, context, rules and routines that come from a template or from the person.

ConceptWhat it holds
Companyname, industry (free text), mission, time zone, working hours, budget, default decision policy, context, rules, shared accounts
Departmentoptional grouping with a name, a color, a budget, context and rules
Rolea reusable function: title, what it is for, responsibilities, deliverables, context, rules, and suggested capabilities, models, autonomy, routines and account kinds. Several members may hold one role
Memberan agent holding a role (name, avatar, persona, boss, overrides, accounts, routines, memory, budget, hours), or a person holding a seat (the CEO, a partner)
Contextwhat an agent needs to know to work well, in Markdown with attachments and versions, at four levels: company, department, role, member
RulesPimpo's rules with a company, department, role or member scope

Members form a tree through reports to. The top is a person, the CEO. A company may add partners, people of the house invited with a role: view, approve or configure.

2. Context and rules in layers#

3. Work: routines, tasks and waiting for a decision#

4. Decisions, autonomy and decision levels#

Deciders. Each kind of decision points to one: Jev (a calibrated probability and a threshold), a model, the boss, a person, a committee of members, or a cascade such as Jev ≥ 0.9 → boss → person. Every decision records the question, the options, who decided, the probability or the reason, and the cost.

Autonomy matrix. Per member, per capability or per risk: does it alone, who approves, and limits (amounts, hosts, how many a day). A member from a template gets its role's matrix; one made from scratch gets the company's default, chosen when the company is created.

Decision levels. The company defines levels, each with a decider; the highest is always a person, the CEO. The suggested levels are operational (the member), tactical (the boss), managerial (the head of the department) and strategic (the CEO). Criteria the company sets place a decision on a level: amount, risk, whether it is public, kind (price, contract, partnership, hiring, budget, legal, architecture...), named entities, impact, and confidence (an unsure decider moves the decision up a level).

Earned autonomy. Pimpo counts, per member and per kind of delivery, how many in a row were approved without edits. After N in a row (10 by default, configurable) it suggests autonomy for that kind; a person accepts. A rejected or corrected delivery afterwards returns that kind to approval. Earned autonomy never goes past the decision levels.

5. Accounts of their own#

6. Invariants#

These are not configuration:

  1. No agent changes its own autonomy, budget, capabilities, accounts or decision levels, nor those of anyone above it, and no agent creates rule exceptions.
  2. No agent creates accounts or types passwords.
  3. A company's budget never exceeds its person's limit, which never exceeds the house's.
  4. Everything is logged with a receipt, and reversible where the service allows.
  5. Content from outside is never an instruction and never grants a capability, also when another agent passes it on.
  6. There is always a stop button for the company, a department and a member, and it works without a model.

7. Costs#

8. Work that needs new capabilities#

Members can use any capability Pimpo has, from the catalog, MCP connectors and skills. The templates of v1.0 need these, each as a connector with contract tests against recorded responses:

AreaCapabilitiesRisk
Companycompany.assign, company.report, company.ask, company.meet, company.rememberNotify
GitHubgithub.repo, github.issue_create, github.issue_edit, github.pr_create, github.pr_review, github.checksRead or Reversible
GitHubgithub.merge, github.releaseIrreversible
Codecode.workspace: a coding CLI working on a branch in its own worktreeReversible
Mediamedia.voice, media.capture, media.render, media.checkReversible
YouTubeyoutube.upload (always private), youtube.publish, youtube.statsupload Reversible, publish Irreversible
LinkedInlinkedin.postIrreversible
Publishingpublish.assisted: a ready post sent to the person's phoneNotify
Financestripe.balance, stripe.charges, github.sponsors, costs.readRead

Coding runs Claude Code, Codex or opencode on the host, chosen per member, in a git worktree per task under the company's folder, on a branch of its own, with only the member's GitHub token and the project variables the person allows: nothing from the vault, nothing from ~/.pimpo. The code sandbox (RFC 0001) is an option per member.

Video is built on this machine with ffmpeg, which Pimpo already uses for audio: a script, local voices (internal/speech), screenshots of the demo through Pimpo's own browser, captions and fixed templates (tutorial 16:9, short 9:16). Checks without a model (length, aspect, loudness, captions) run before a person is asked. Paid video generation can be added as a connector.

9. The screens#

Companies joins the side menu, in Labs until v1.0:

10. Templates#

A template is a company file with roles, context, rules and routines, signed in the gallery like routines. v1.0 ships: software company (PO, PM, two full-stack developers, CTO, marketing, finance), marketing agency, online shop, content channel, consultancy, and blank. The quality practices are part of the roles:

11. A file for each company#

company.yaml holds the company, departments, roles, context, rules, members, routines (by reference), decision levels and account slots without secrets. It is exported and imported, carried by backups, and is what a template is.

Safety#

Alternatives#

Migration#

Plan (M10)#

Built in waves, each usable in Labs before the next. The pilot measures the most expensive bet as soon as the engine and the engineering path exist.

ItemWhatSize
10.1Companies, departments, roles and members; the API, privacy and the company fileM
10.2Context and rules in layers, exceptions, the previewM
10.3Companies in the app: list, creating one, the org chart, the member pageM
10.4Members' routines and agent tasks: hours, concurrency, queue, pauseL
10.5Tasks, delegation with dossier, asking the boss and waiting, drift, loop guardsL
10.6Meetings, reports and the company's memoryM
10.7Deciders, the autonomy matrix and the invariantsM
10.8Decision levels and the CEOM
10.9Costs in layers, forecast and cost per outcomeM
10.10Members' own accounts, kinds of account and services' termsM
10.11GitHub for members and coding in a worktreeL
10.12The pilot: two weeks, measuredowner
10.13Product owner and project managerM
10.14FinanceM
10.15Media, YouTube, LinkedIn and assisted publishingL
10.16Earned autonomyS
10.17Templates, creating a company by describing it, performance, company widgets and the public showcaseM
10.18Talking with members, and meetings with the CEOM
10.19Memory per task, per agent and per company, automatic or by decisionM

Decisions (2026-09-30 and 2026-10-01)#

This page is built from the repository's documentation. Improve it on GitHub.