Skip to content

[Due for payment 2026-05-12] [Custom Workflow Agents] Add Agents page in account settings #89284

Closed

Description

@puneetlath

Part of the Custom workflow agents project

Main issue: https://github.com/Expensify/Expensify/issues/614622
Doc section: https://expensify.enterprise.slack.com/docs/T03SC9DTT/F0AKV1FPD41

Feature Description

Add the Agents page in account settings when the user is on the customAgents beta. For now, let's just build the empty stage page with a non-functional new agent button. We will add support for listing agents and creating them in follow-up PRs. Opening this page should call the OpenAgentsPage API, though that API isn't yet functional.

Image

Manual Test Steps

  1. Sign into an account that isn't on the customAgents beta
  2. Make sure you don't see the Agents page in account settings
  3. Sign into an account that is on the customAgents beta
  4. Make sure you do see the Agents page in account settings

Automated Tests

Same as manual

Issue OwnerCurrent Issue Owner: @NicolasBonet

Activity

  1. puneetlath commented on Apr 30, 2026

    @puneetlath
    ContributorAuthor

    @MelvinBot investigate this.

  2. MelvinBot commented on Apr 30, 2026

    @MelvinBot
    Contributor

    Proposal

    What is the root cause of that problem?

    The Agents page doesn't exist yet. The CUSTOM_AGENT beta is already defined but unused — no screen, route, or menu item references it.

    What changes do you think we should make in order to solve the problem?

    Follow the same pattern as the Rules page:

    1. Add screen constant in SCREENS.ts — add AGENTS: { ROOT: 'Settings_Agents' } under SETTINGS
    2. Add route in ROUTES.ts — add SETTINGS_AGENTS: 'settings/agents'
    3. Add type entry in Navigation/types.ts — add to SettingsSplitNavigatorParamList
    4. Register screen in SettingsSplitNavigator.tsx — add to CENTRAL_PANE_SETTINGS_SCREENS
    5. Add to SETTINGS_TO_RHP.ts — empty array for now (no sub-screens yet)
    6. Create page at src/pages/settings/Agents/AgentsPage.tsx — empty state using GenericEmptyStateComponent with a non-functional "New agent" button
    7. Add menu item in InitialSettingsPage.tsx — conditionally push to accountItems when isBetaEnabled(CONST.BETAS.CUSTOM_AGENT) is true
    8. Add translations and Sentry label (AGENTS: 'Account-Agents' in CONST/index.ts)

    Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.

  3. self-assigned this
    on Apr 30, 2026
  4. puneetlath commented on Apr 30, 2026

    @puneetlath
    ContributorAuthor

    @NicolasBonet I added this to the description above:

    Opening this page should call the OpenAgentsPage API, though that API isn't yet functional.

  5. changed the title [-]Add Agents page in account settings[/-] [+][Custom Workflow Agents] Add Agents page in account settings[/+] on Apr 30, 2026
  6. added and removed
    ReviewingHas a PR in review
    on May 5, 2026
  7. changed the title [-][Custom Workflow Agents] Add Agents page in account settings[/-] [+][Due for payment 2026-05-12] [Custom Workflow Agents] Add Agents page in account settings[/+] on May 5, 2026
  8. melvin-bot commented on May 5, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  9. melvin-bot commented on May 5, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.66-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-05-12. 🎊

    For reference, here are some details about the assignees on this issue:

    • @s77rt does not require payment (Contractor)
  10. puneetlath commented on May 5, 2026

    @puneetlath
    ContributorAuthor

    Nice!

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions