Office Company
Generate a custom agency, agents, and pipeline through a deep project interview. Usage: /office-company [reconfigure]
---
description: Generate a custom agency, agents, and pipeline through a deep project interview. Usage: /office-company [reconfigure]
---
Arguments: `[reconfigure]`
- No args: run the full interview and generate everything from scratch
- `reconfigure`: show current agency and offer targeted changes
This command goes deeper than `/office-setup`. It interviews you about your project, company culture, and domain, then **generates custom agents** (with personality, competencies, and triggers), a **custom pipeline** tailored to your workflow, and a full **agency config**. The result is an agency that actually reflects your project — not a generic template.
---
## Step 0 — Check existing state
Read `.ai-office/project.config.md` if it exists. Extract `agency`, `project_name`, `advance_mode`.
If `reconfigure` arg is given and an agency exists:
- Show current agency summary (name, agents, pipeline stages)
- Ask: "What would you like to change? (agents / pipeline / culture / all)"
- Jump to the relevant phase below
Otherwise proceed with the full interview.
---
## Phase 1 — Project Discovery
Ask these questions **as a group** in a single message. Keep it conversational, not a form.
I'm going to ask you a few questions to design a custom agency for this project. Take your time — the more specific you are, the better the agents will fit your work.
What is this project? Describe it in 2–3 sentences as you'd explain it to a new hire.
What's the end goal — what does "shipped and successful" look like in 6 months?
Who are the people who will actually use this? (developers, consumers, enterprises, internal teams...)
What's the riskiest part of this project? What could go wrong that would kill it?
**Wait for the user's answers.** Do not continue until they respond.
---
## Phase 2 — Domain Deep Dive
Based on Phase 1 answers, identify the **primary domain** and ask 3–4 targeted follow-up questions from the table below. Pick only the most relevant ones — do not ask all of them.
| Domain signals | Follow-up questions |
|----------------|---------------------|
| **Web / SaaS** | What's the auth model? Multi-tenant or single? Any real-time requirements? |
| **Mobile app** | iOS, Android, or cross-platform? Offline support needed? App store constraints? |
| **Game** | What genre and platform? Multiplayer? What does the content pipeline look like (levels, assets, narrative)? |
| **AI / ML product** | What models are involved? Who trains/fine-tunes? How is output quality measured? |
| **Fintech / payments** | What regulations apply (PCI, SOX, GDPR)? What's the fraud surface? |
| **Content / media** | What's the production pipeline? Editorial review process? Copyright considerations? |
| **Developer tooling / CLI** | Who's the target developer? What's the distribution model? Docs-first or code-first? |
| **Data pipeline / analytics** | What's the data volume and latency tolerance? Who consumes the output? |
| **Crypto / Web3** | What chain(s)? Smart contracts involved? Token economy? |
| **Hardware / IoT** | What firmware constraints? Remote update strategy? Failure mode handling? |
| **Healthcare** | HIPAA compliance? PHI handling? Clinical validation requirements? |
| **Internal tooling** | Who are the internal users? What legacy systems need integration? |
**Wait for answers before continuing.**
---
## Phase 3 — Team & Culture
Ask in a single message:
A few more questions about how you work:
Who's on the team? (just you + AI, small team, larger org — and what roles exist already)
How do you ship? (continuously, weekly sprints, milestone releases, or something else)
What does quality mean for this project? What would make you embarrassed to ship?
Is there anything about how you like to work that I should know? (e.g., "we review everything before merging", "we move fast and fix later", "security is non-negotiable")
**Wait for answers.**
---
## Phase 4 — Agent Roster Design
Using all answers from Phases 1–3, reason about which agents this project needs. Do this reasoning **before** presenting anything to the user.
### Reasoning rules
**Always include:**
- `developer` — implementation
- `qa` — quality and acceptance verification
**Include from standard roster if relevant:**
- `architect` — if the project has non-trivial technical decisions, multiple services, or scale concerns
- `pm` — if requirements need active management, or there are external stakeholders
- `designer` — if the project has user-facing UI
- `ux-researcher` — if user research or usability testing is needed
- `security-specialist` → rename to `security` — if auth, payments, PII, or compliance are in scope
- `reviewer` — if code review is a distinct step (team > solo or compliance requires it)
- `ops` — if deployment, monitoring, or postmortems are explicit concerns
- `release-manager` — if releases have coordination complexity
- `planner` — if planning and task breakdown is a distinct activity
**Invent new agents** for domain-specific roles that don't exist in the standard roster. Examples:
| Domain | Example custom agents |
|--------|-----------------------|
| Game | `game-designer`, `level-designer`, `narrative-writer`, `playtester`, `audio-designer` |
| AI/ML | `ml-engineer`, `data-scientist`, `prompt-engineer`, `model-evaluator` |
| Fintech | `compliance-officer`, `risk-analyst`, `fraud-specialist` |
| Content | `editor`, `fact-checker`, `seo-specialist`, `brand-guardian` |
| Crypto | `smart-contract-auditor`, `tokenomics-designer`, `community-manager` |
| Healthcare | `clinical-validator`, `privacy-officer`, `medical-reviewer` |
| Hardware | `firmware-engineer`, `hardware-integration-specialist` |
| DevTools | `dx-engineer`, `docs-writer`, `sdk-designer` |
For each custom agent, write a short internal description of their role (used later in file generation).
### Present the roster
Custom Agency:
Proposed agent roster (
Standard agent ```
Maintain Office Company?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Office Company on getagentictools](https://getagentictools.com/loops/avalla-agent-name-personality?ref=badge) npx agentictools info loops/avalla-agent-name-personality The second line is the CLI lookup for this page — handy in READMEs and docs.