Add team

From BerriAI/litellm-skills · View interactive version

Add team is an AI agent skill from the GitHub repository BerriAI/litellm-skills. Create a new team on a live LiteLLM proxy. Asks for team name, budget, and allowed models, then calls POST /team/new and shows the result. Use when the user wants to create a new team, set up team budgets, or configure model access for a team on the proxy.

How to use this skill

Skill file

Add Team

Create a new team on a live LiteLLM proxy.

Setup

Ask for these if not already known:

LITELLM_BASE_URL  — e.g. https://my-proxy.example.com
LITELLM_API_KEY   — proxy admin key

API reference: https://litellm.vercel.app/docs/proxy/team_based_routing

Ask the user

  1. Team name (required, becomes team_alias)
  2. Max budget (optional, e.g. 100.00)
  3. Allowed models (optional, e.g. gpt-4o, gpt-4o-mini) — leave empty to allow all
  4. TPM / RPM limits (optional)

Run

BASE="$LITELLM_BASE_URL"
KEY="$LITELLM_API_KEY"

curl -s -X POST "$BASE/team/new" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "team_alias": "<name>",
    "max_budget": <budget_or_null>,
    "models": [<models_or_empty>],
    "tpm_limit": <tpm_or_null>,
    "rpm_limit": <rpm_or_null>
  }'

Verify

Confirm the team was created:

curl -s "$BASE/team/info?team_id=<team_id>" \
  -H "Authorization: Bearer $KEY"

Output

Show the user:

On error:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.