---
title: "Set up a team — PromptConduit docs"
description: Create a team, invite people, and see AI coding cost by member, repo, client and pull request, with monthly budgets, email and Slack alerts, CSV export, roles and plans.
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev/docs/teams. Index of every page: https://promptconduit.dev/llms.txt -->

# Set up a team

Create a team, invite people, and see AI coding cost by member, repo, client and pull request, with monthly budgets and alerts.

A team pools the sessions its members sync. Everything on this page works from the terminal, from your agent through the [MCP server](https://promptconduit.dev/docs/agents), or in the [web app](https://app.promptconduit.dev/team). Each `team` command takes `--json`.

## Before you begin

-   Install the CLI and sign in with `promptconduit login`. See the [Quickstart](https://promptconduit.dev/docs/quick-start).
-   Make sure sync is on: `promptconduit status` should say `Mode: Cloud sync`. In local-only mode nothing reaches the team.

## Step 1: Create the team

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team create "Acme Eng"
```

You become its owner. Your last 30 days of synced usage is added to the team, so it starts with real numbers. Pass `--no-history` to start empty instead. Teams of up to 3 people are free.

## Step 2: Invite your teammates

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team invite dev@example.com
```

The command prints an invite link. PromptConduit also tries to email it, but send the link yourself in case the email doesn't arrive. The invite is for that email address and expires after 7 days. The default role is `member`. Pass `--role viewer`, or `--role admin` if you're an owner.

## Step 3: Your teammates accept

Each teammate installs the CLI, signs in with the invited email address, and then accepts:

**Terminal:**

<!-- docs-test: skip: needs a real invite link -->
```bash
promptconduit team join https://app.promptconduit.dev/invite/…
```

**Browser:**

Open the invite link, sign in with Google or GitHub, and accept.

From then on, the sessions they sync count toward the team. What they did before joining stays private unless they pass `--share-history`, which adds their last 30 days.

> [!TIP]
> Teammates who only use Claude Code can skip the CLI: [Claude Code telemetry](https://promptconduit.dev/docs/claude-code-telemetry) sends cost straight from Claude Code's built-in OpenTelemetry.

## Step 4: See the team's cost

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team spend --period 7d
```

Without `--by`, it shows totals and the top members, repos and models. With `--by`, it shows one breakdown: `member`, `repo`, `client`, `model`, `branch`, `pr` or `day`. Periods are `7d`, `30d` and `90d`.

`promptconduit team savings` shows where the team could save: cache use, model mix, and sessions that ran away. The same views are on the [team page](https://app.promptconduit.dev/team) in the web app.

## Set monthly budgets

Set a budget for the whole team, one repo, or one member:

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team budgets set --org-wide --monthly 2000
promptconduit team budgets set --repo acme/api --monthly 500
promptconduit team budgets set --member dev@example.com --monthly 150
```

Setting a budget for a scope that already has one changes its amount. `promptconduit team budgets` lists each budget with its month-to-date and projected cost. `team budgets rm` removes one by its id.

Alerts fire at 80% and 100% of a monthly budget. They're emailed to owners and admins. To send them to Slack too, connect an incoming webhook:

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team alerts slack -
```

The `-` reads the webhook URL from stdin, which keeps it out of your shell history. A test message is posted first, so a bad URL fails right away. `team alerts slack --disconnect --yes` stops it.

## Group cost by client

Agencies can tag each repo with the client it's for:

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team tag acme/api "Acme Corp"
promptconduit team spend --by client
```

`team tag acme/api --clear` removes a tag.

## Export to CSV

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team export --by client --period 30d -o acme-november.csv
```

Group by `client`, `repo`, `member`, `pr` or `day`. Without `-o`, the CSV goes to stdout.

## Add CI cost

To see what GitHub Actions runs cost next to token cost, upload a repo's Actions metadata from a clone of it. It reads only run and job metadata, with your own GitHub token:

<!-- docs-test: skip: needs a GitHub token and a signed-in account -->
```bash
promptconduit ci sync
```

PromptConduit prices each job and matches it to the agent session that pushed its commit. See [CI cost](https://promptconduit.dev/docs/cost#ci).

## Roles

| Role | Can |
| --- | --- |
| `owner` | Everything an admin can, plus invite admins and make someone an admin or an owner. |
| `admin` | Invite members and viewers, change and remove members, set budgets, tag repos, connect Slack, and manage billing. |
| `member` | See the team's cost, budgets and savings. |
| `viewer` | See the team's cost, budgets and savings. |

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team members
promptconduit team members role dev@example.com admin
promptconduit team members rm dev@example.com --yes
```

A removed member loses access to the team's data at once. Their own usage history stays theirs. A team always keeps at least one owner.

## If you're on several teams

`team` commands pick your team when you belong to exactly one. Otherwise pass `--org` with the team's id, slug or name, or set `PROMPTCONDUIT_ORG`. `promptconduit team list` shows your teams.

> [!NOTE]
> New sessions you sync count toward one team: the first one you joined that still exists. On your other teams you can still see their cost, but your new sessions don't add to it.

## Plans and billing

| Plan | Price | For |
| --- | --- | --- |
| Free | $0 | Up to 3 members. |
| Team | $99 a month, flat | Up to 15 members. One flat price, no seat math. |
| Growth | $249 a month, flat | Up to 50 members, for teams and agencies running AI across many repos. |
| Enterprise | Contact us | More than 50 members, or procurement in the loop. |

Plans are flat, not per seat. Team and Growth start with a 14-day free trial, no card required. An invite past your plan's member limit is refused until you upgrade. Owners and admins start a plan or change it here. Both commands print a Stripe page to open, and the CLI never handles card details:

<!-- docs-test: skip: needs a signed-in account on a team -->
```bash
promptconduit team billing
promptconduit team billing checkout --tier team --open
promptconduit team billing portal --open
```

Full plan details are on the [pricing page](https://promptconduit.dev/pricing).

## Next steps

-   [Claude Code telemetry](https://promptconduit.dev/docs/claude-code-telemetry): team cost from Claude Code with nothing to install.
-   [AI agents (MCP)](https://promptconduit.dev/docs/agents): ask your agent how the team is tracking against its budgets.
-   [CLI reference](https://promptconduit.dev/docs/cli-reference#teams): every team command and flag.

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://promptconduit.dev/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Docs",
      "item": "https://promptconduit.dev/docs"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Set up a team",
      "item": "https://promptconduit.dev/docs/teams"
    }
  ]
}
```
