Examples

See what Undes produces after the agents finish their work.

Undes is not optimized for polished chat replies. It is designed to produce structured engineering artifacts: evidence, rejected hypotheses, risks, open checks and a final recommendation.

Architecture review Design decision

Direct file access boundary

Undes analyzes why a planned file read is selected during planning but does not reach the final execution flow.

  • Checks call sites and execution boundaries.
  • Separates likely root cause from secondary symptoms.
  • Produces concrete implementation guidance.
View example
CI/CD review Pull request check

Risky change before merge

Undes runs as a background engineering review and reports missing tests, unsafe assumptions and areas requiring human confirmation.

  • Suitable for scheduled or pipeline-based analysis.
  • Highlights what was not checked.
  • Gives reviewers a structured artifact.
View example

Bug investigation: OIDC callback race condition

A developer asks Undes to review a refactoring of authentication middleware. The initial implementation looks reasonable, but one reviewer agent identifies that the lock is placed around the wrong part of the flow.

Prompt

Refactor auth middleware to support OIDC. Review the proposed change for race conditions, unsafe assumptions and missing tests.

undes run / agent:review
> refactor auth middleware to support OIDC

  ⏺ codex.gpt-5     implementing  
     "Keeping session API; adding mutex around
      acquire() — OIDC callbacks can race."
    └─ 4 files changed · 142 lines

  ⏺ gemini.pro 2.5  reviewing      
     "handleCallback awaits exchange() without
      holding the lock — duplicate sessions on
      concurrent /callback requests."
    └─ flagged: token-refresh race

  ⏺ claude.opus 4.7 reasoning      ⟳ ▰▰▰▱▱
     "Agree with gemini. The fix must cover
      exchange() and session acquisition."

  ┌─ Trust gates ─────────────────────────────┐
   ✔ payload   ✔ impact   ⟳ consensus  · k3  
  └───────────────────────────────────────────┘
Final artifact Engineering decision

Decision

The mutex must protect the full callback exchange and session acquisition path, not only the later session API call.

Evidence used

The agents compared the planned middleware flow, callback execution order, token exchange timing and duplicate session creation scenario.

Rejected hypothesis

“Adding a mutex around acquire() is enough” was rejected because the duplicate session can be created before acquire() is reached.

Open checks

Add concurrent callback tests, failed token exchange tests and refresh-token regression checks before merging.

Architecture review: execution flow boundary

In this example, Undes investigates why a file-read operation is selected during planning but disappears before the final execution flow. The point is not just to find a bug, but to show where the pipeline loses intent.

Output structure Root-cause analysis

Likely root cause

The execution flow does not consistently preserve the selected file-read request between planning, artifact resolution and final synthesis.

Evidence to inspect

Call sites that write artifacts, normalize file requests, resolve paths and pass final context into synthesis.

Risk

The model may reason from incomplete context and repeat questions already answered earlier in the run.

Recommended fix

Preserve canonical artifact state and make legacy aliases explicit rather than treating them as primary execution outputs.

CI/CD review: risky pull request before merge

Undes can run as a background review step where speed is less important than review quality. The goal is to give the team a structured artifact before a risky change is merged.

Status Needs review
Risk Missing regression tests around retry behavior
Evidence Changed middleware path, no matching integration tests found
Open check Run concurrent request scenario before approval
undes run "Review this pull request for risky assumptions, missing tests, and unsafe architectural changes."

Try the same pattern on your own codebase.

Start with a real engineering concern: a bug, a refactoring, a fragile subsystem, or a pull request where the answer must be verified before merge.