Skip to content

[feature]: AI service accounts (bot users) with scoped, non-interactive API tokens #9760

Description

@Liewzheng
  • I have searched the existing issues

Summary

Add first-class AI service accounts to Plane CE: workspace admins can create bot identities that act on the v1 API through dedicated service tokens, with an explicit allow-list of what each bot may do (resource type + action, optionally scoped per project). Bots are backed by regular user rows (is_bot=True), so everything they create (work items, comments, ...) is ordinary data owned by a visible, auditable identity — but they can never log in interactively and are default-deny until an admin grants a scope.

Why should this be worked on?

Self-hosted CE users increasingly drive Plane from CI pipelines and AI agents (code review bots, ticket triage, status sync). Today the only options are:

  • Personal API tokens — actions are attributed to a human, the token inherits all of that human's permissions (no least-privilege), and the integration breaks when the person leaves or rotates their token.
  • Sharing one human account — worse attribution and audit trail.

What's needed is the standard "service account" pattern every mature tool has (GitHub machine users/bots, GitLab project bots, Jira service accounts):

  1. A workspace admin creates an AI account in settings — no email signup, no password, no onboarding flow.
  2. The account gets a service API token that is shown once and can be revoked by toggling or deleting the account.
  3. Permissions are an explicit allow-list (default-deny): e.g. "may create work items and comments in project X" — nothing more.
  4. The bot is visible and manageable like a regular member: workspace/project member lists, per-project add/remove, role editing — so project admins keep control of what a bot can touch.
  5. The bot's effective permission is capped by its owner's role, so a bot can never out-privilege the human responsible for it.

This unlocks safe automation and AI-agent integrations on self-hosted instances without weakening the permission model.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions