Enterprise
The Enterprise feature lets you simulate an organization in Runeya: you define teams, people, and their hierarchy, then launch an AI conversation where each "person" plays their role according to the prompt you assigned them.
This is useful for simulating organizational processes: multi-team code reviews, planning meetings, risk analysis, or any situation involving multiple stakeholders with different roles.
Core Concepts
| Concept | Description |
|---|---|
| Enterprise | The overall organization (name, description, leader). |
| Team | A group of people within the organization. |
| Person | A member of the organization, attached to a team. Each person has a prompt that defines their role and behavior. |
| Leader | The person responsible for the enterprise (can be an existing person). |
Limits
| Element | Maximum |
|---|---|
| Teams per Enterprise | 100 |
| People per Enterprise | 500 |
The hierarchy between people (via parentId) must not form a cycle — a person cannot be both a superior and a subordinate of another in the same hierarchy chain.
Creating an Enterprise
- Go to Settings → Scenarios (Enterprises are managed in the same section).
- Click New Enterprise.
- Fill in:
- Name: the organization's name (e.g.
Acme Corp) - Description: the mission or context of the organization
- Leader: the person who leads the organization (you can create them afterward)
- Name: the organization's name (e.g.
- Click Save.
Adding Teams
- Open the Enterprise you just created.
- Click + New team.
- Give the team a name (e.g.
Engineering,Product,QA). - Save.
Adding People
- Inside the desired team, click + New person.
- Fill in:
- Name: the person's name or role title (e.g.
Alice — Tech Lead) - Prompt: the instructions that define how this person responds (e.g.
"You are Alice, a senior tech lead. You analyze technical problems pragmatically and prioritize stability.") - Manager (optional): the person this person reports to
- Name: the person's name or role title (e.g.
- Save.
Launching a Conversation with an Enterprise
- Go to the AI tab.
- Click New conversation.
- In the Enterprise selector, choose the organization.
- Write your initial brief — describe the situation or question to address.
- Click Send.
Runeya automatically creates:
- A dedicated workspace in
DATA_DIR/enterprise-runs/<conversationId>/ - A
USER_REQUEST.mdfile containing your brief - One markdown file per person in the Enterprise
Each person "responds" according to their prompt, in the order defined by the organization's hierarchy.
Editing or Deleting an Enterprise
To edit an existing Enterprise:
- Go to Settings → Scenarios.
- Select the Enterprise from the list.
- Modify the desired fields and save.
To delete:
- Select the Enterprise.
- Click Delete, then confirm.
WARNING
Deleting an Enterprise is permanent. Past conversations associated with this Enterprise remain accessible, but the organization itself cannot be recovered.
Common Use Cases
- Multi-role code review: a developer, a tech lead, and a security officer each share their opinion on a PR.
- Simulated planning meeting: the product manager, architect, and QA assess a new feature.
- Risk analysis: multiple experts (legal, technical, commercial) evaluate a decision from their own angle.
- Training: simulate professional exchanges to prepare for presentations or negotiations.
FAQ
Do people talk to each other? No. Each person responds independently to your initial brief, based on their own prompt. There are no direct exchanges between Enterprise members.
Can I reuse an Enterprise for multiple conversations? Yes. An Enterprise can be selected for as many conversations as you like.
Does the hierarchy affect the order of responses? Yes. Processing order takes the defined hierarchy into account (parentId). People without a manager respond first.