Source: https://internal-agents.com/agents/flex-investigation-agent

# Flex — AI Investigation Agent

Flex runs an internal Slack agent that support, operations, and engineering use to debug HSA and FSA payment problems. Given an email, order number, or error string, it traces the transaction across systems and answers in plain English. On high-confidence bugs it opens a pull request for review.

- Approach type: Task agent
- Deployment stage: Deployed
- Autonomy: Drafts reviewed
- Evidence strength: Detailed primary
- Status: Internal
- First reported year: 2026
- Work: Finance ops, On-call, Coding
- Interfaces: Slack
- Invocation: Interactive
- Entry reviewed: 2026-09-15

## Where people stay involved

- **payment investigation → proposed code fix** — Work product review · Level 3

## Overview

### Summary

Flex runs an internal Slack agent that support, operations, and engineering use to debug HSA and FSA payment problems. Given an email, order number, or error string, it traces the transaction across systems and answers in plain English. On high-confidence bugs it opens a pull request for review.

Fact · Reported · High confidence · `flex-investigation-agent--summary`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

## How it works

### Supporting component

Payment trace → root-cause hypothesis → proposed code fix as a PR

Fact · Reported · High confidence · `flex-investigation-agent--primitives-0`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

## Supervision evidence

### Operating model assessment

Level 3 for payment investigation → proposed code fix; human attention boundary: work-product-review.

Inference · Catalog judgment · High confidence · `flex-investigation-agent--operating-models-0`

Confidence reason: The source describes a trace, diagnosis, and proposed pull request returned for review.

Qualifications:

- Observation date: 2026

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

## Implementation details

### Sandbox

unknown

Inference · Catalog judgment · Medium confidence · `flex-investigation-agent--architecture-sandbox`

Confidence reason: The preserved sources do not document an execution sandbox; unknown does not mean absent.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

### Harness

Investigation-to-fix loop; underlying runtime not documented

Fact · Reported · High confidence · `flex-investigation-agent--architecture-harness`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

### Model

Not specified

Fact · Reported · High confidence · `flex-investigation-agent--architecture-model`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

### Interfaces

slack

Fact · Reported · High confidence · `flex-investigation-agent--architecture-interfaces`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

### Tool access

Traces a payment end-to-end across payment systems; can open a PR with a proposed fix when a bug is found

Fact · Reported · High confidence · `flex-investigation-agent--architecture-tool-access`

Confidence reason: A linked first-party source states the claim.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

## Lessons and interpretation

### Lesson

Start where correctness is observable; payment investigation produces artifacts (a trace, a hypothesis, a diff) that can be checked

Inference · Catalog judgment · Medium confidence · `flex-investigation-agent--lessons-learned-0`

Confidence reason: The catalog derives this observation from the linked sources.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

### Lesson

An ops agent that can prepare a fix (not just a report) closes the loop from investigation to code

Inference · Catalog judgment · Medium confidence · `flex-investigation-agent--lessons-learned-1`

Confidence reason: The catalog derives this observation from the linked sources.

Evidence:

- Supports · [1] [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments) · [Preserved copy](https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md)

## Sources

1. [The Flex AI Investigation Agent for HSA/FSA payments](https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments)
   - Engineering blog · First party · Evidence
   - Original URL: <https://www.withflex.com/blog/the-flex-ai-investigation-agent-for-hsa-fsa-payments>
   - Accessed: 2026-08-12 · Last verified: 2026-08-31
   - Preserved copy in the repository: <https://github.com/steel-experiments/internal-agents-map/blob/main/archive/sources/flex-investigation-agent-source-1/content.md>
