Skip to content

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

ConceptDescription
EnterpriseThe overall organization (name, description, leader).
TeamA group of people within the organization.
PersonA member of the organization, attached to a team. Each person has a prompt that defines their role and behavior.
LeaderThe person responsible for the enterprise (can be an existing person).

Limits

ElementMaximum
Teams per Enterprise100
People per Enterprise500

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

  1. Go to Settings → Scenarios (Enterprises are managed in the same section).
  2. Click New Enterprise.
  3. 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)
  4. Click Save.

Adding Teams

  1. Open the Enterprise you just created.
  2. Click + New team.
  3. Give the team a name (e.g. Engineering, Product, QA).
  4. Save.

Adding People

  1. Inside the desired team, click + New person.
  2. 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
  3. Save.

Launching a Conversation with an Enterprise

  1. Go to the AI tab.
  2. Click New conversation.
  3. In the Enterprise selector, choose the organization.
  4. Write your initial brief — describe the situation or question to address.
  5. Click Send.

Runeya automatically creates:

  • A dedicated workspace in DATA_DIR/enterprise-runs/<conversationId>/
  • A USER_REQUEST.md file 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:

  1. Go to Settings → Scenarios.
  2. Select the Enterprise from the list.
  3. Modify the desired fields and save.

To delete:

  1. Select the Enterprise.
  2. 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.

Released under the MIT License.