Skip to content

Document AI_AGENT in environment-variables.md #7747

Description

@ylv01

What do you want to change?

I noticed that after #7493 added AI_AGENT=pi, it’s documented in the coding-agent README but still missing from docs/environment-variables.md, where the Process Marker section only mentions PI_CODING_AGENT=true.

Why?

Adding it there would keep the dedicated environment variable docs consistent with the README and make the difference between the two process markers clearer.

How? (optional)

Add a short AI_AGENT=pi entry to the Process Marker section and briefly explain how it differs from PI_CODING_AGENT. I’d be happy to make this small docs update.

Activity

  1. github-actions commented on Aug 7, 2026

    @github-actions
    Contributor

    This issue was auto-closed. All issues from new contributors are auto-closed by default.

    Maintainers review auto-closed issues daily and reopen worthwhile ones. Issues that do not meet the quality bar in CONTRIBUTING.md will not be reopened or receive a reply.

    If a maintainer replies lgtmi on one of your issues, your future issues will stay open. If a maintainer replies lgtm, your future issues and PRs will stay open. The command must be at the start of the reply (optionally after one or more @username mentions) or at the end.

    See CONTRIBUTING.md.

  2. added
    untriagedThis issue has been auto closed and has not been triaged
    on Aug 7, 2026
  3. removed
    untriagedThis issue has been auto closed and has not been triaged
    on Aug 10, 2026
  4. self-assigned this
    on Aug 11, 2026
  5. vegarsti commented on Aug 11, 2026

    @vegarsti
    Member

    Documented AI_AGENT=pi in the dedicated environment variable reference, including how it differs from the Pi-specific PI_CODING_AGENT=true marker and their shared inheritance and SDK behavior.

    This comment is AI-generated by /wr

  6. added a commit that references this issue on Aug 11, 2026
    9cb7f49
  7. added a commit that references this issue on Sep 11, 2026
    8aaa4ad
  8. added a commit that references this issue on Oct 8, 2026
    df0022e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions