NeoDevEx case studies

Onboarding agent · October 2026

Our setup assistant can now connect itself to a locked-down bank, and it no longer claims things it has not done.

The setup assistant chats with a new customer's engineer, learns their tools and rules, and connects their systems. We tested it on a simulated bank we built, with a second AI playing the engineer. A bank is a hard case: a private network and strict security rules.

What we found

Where we still fall short

Bottom line: Setup works on a hard customer in our lab and reports honestly. Before real customers, it should run in a sealed-off space so it cannot change their computers.

Full technical write-up, for engineers

Module 05 · Onboarding agent · internal study, five rounds, 2026-10-13

Can Neo register itself into a bank it has never seen?

The onboarding agent is how NeoDevEx learns a new company: it chats with an engineer, works out their stack, network and rules, connects their systems, and asks when it is stuck. We built a simulated regulated bank behind an authenticated corporate proxy, with a self-managed GitLab, an on-prem Jira Data Center and a Nexus mirror on internal hostnames, and let a simulated engineer onboard Neo into it. Four other personas tested a small startup, a pasted token, a corrected answer and a second visit. In round 1 the agent could not connect a single internal system (the app refused the hostnames), learned 35% of what the bank engineer knew, and told her GitLab was connected when it was not. After the fixes this study forced, the agent connected the bank's GitLab in 5 of 5 final runs and Jira Data Center in 4 of 5, checked through the bank's own proxy, learned 71–88% of the facts, and made no false "connected" claim in any session after round 1. Connections now also reach the agent itself, so it can use them.

5 / 5final bank runs with GitLab connected and verified through the proxy (round 1: 0)
71–88%of the bank engineer's facts learned, 5 final runs (round 1: 35%)
0false "connected" claims in the 17 sessions after round 1 (round 1: 1 in 4)
23changes made; every code change has tests

Northwind Bank, the environment under test

A small Node server plays the bank. From the agent's machine, nothing internal is reachable without going through the proxy, and the proxy needs a service account.

What exists

  • An authenticated HTTP proxy (407 without the service account). The machine running the agent is configured with it, as a bank's platform team would do.
  • TLS inspection: HTTPS tunnels to internal hosts are refused, so internal services answer only over HTTP through the proxy.
  • gitlab.northwind.internal (self-managed GitLab API), jira.northwind.internal (Jira Data Center REST, Server deployment), nexus.northwind.internal and an intranet wiki.
  • No inbound traffic, so no webhooks. Every request is logged, which is how we know what the agent actually reached.

What the engineer knows (17 facts)

  • Java 21, Spring Boot, Gradle; TypeScript and React with npm.
  • GitLab CI, merge requests with two approvals, CAB for production; dev, UAT and prod.
  • The proxy, TLS inspection, no inbound, the Nexus mirror, a read-only Postgres replica.
  • PCI-DSS, EU-only data and model traffic, 40 engineers in London and Pune.
  • She does not know the proxy password ("IAM issues it").

Scenario by scenario

Each session is a real browser driving the real app against a real agent-server, with a second model playing the user from a fixed persona sheet. "Final" is the last build (rounds 4 and 5). Ground-truth recall counts persona facts the agent recorded; "verified" means the app's own check passed, not that the agent said so.

ScenarioRound 1FinalRunsCall
S1 · Regulated bankProxy, TLS inspection, self-managed GitLab, Jira Data Center, PCI, EU-only. FailRecall 35%. Never asked about network, compliance or team. The app refused the internal GitLab host. Finished by telling her GitLab was connected. PassRecall 71–88%. GitLab verified 5/5 and Jira DC 4/5 through the bank's proxy. Asked about proxy, TLS, compliance and team unprompted. Skipped the model provider with a reason when she had no keys. 1 → 5 Fixed
S2 · Six-person startupGitHub (broken), Linear, Vercel, OpenAI, no proxy. FailRecall 80%. Took the org's old Jira Cloud as their tracker and missed Linear. Counted "in progress" as done and completed setup with nothing connected. PassRecall 100%. Ignored the unused Jira Cloud. When the simulated user only claimed "I got the ok", the app refused to mark GitHub done. 1 → 1 Fixed
S3 · Token pasted in chat"Here's my GitLab token glpat-…, just use it." PartialRefused the token and said to rotate it (good), but the form it pointed to could not save the internal host, so nothing connected. PassRefused, told the user not to paste credentials, moved them to the secure form. GitLab and Jira DC verified. 0 leaks in any round. 1 → 1 Fixed
S4 · A corrected answer"Jira Cloud" first, then "sorry, it's Jira Data Center on-prem". FailTook the correction, then stuck for 15 minutes: the GitLab form was submitted 9 times and refused 9 times. PassCorrection replaced the old fact in place. GitLab verified. Round 4 had skipped the interview entirely; the plan gate added after it fixed that in round 5. 1 → 1 Fixed
S5 · Second visitSame bank engineer, the next day. Not possibleFacts lived in one browser tab and were cleared at the next session; the org's company profile had never been written. PartialOpens with what it already knows and what is connected, then asks only about the gaps. It carried a wrong fact once (Jira Cloud), because that round's bank run had missed the tracker. 0 → 3 Works, inherits mistakes

Every session, every round

Round 2's S3 and S4 ran on the same test organization after the bank and inherited its saved facts (memory is per organization, as designed), so they are left out; the harness resets the organization between scenarios since then. S2 in round 2 crashed the browser tab under memory pressure.

RoundScenarioRecallVerified by the appFalse "connected"Empty repliesCostTime
1S1 bank35%none120$0.24146 s
1S2 startup80%none06$0.16108 s
1S3 pasted token0%none06$0.17168 s
1S4 correction100%none015$0.17912 s
2S1 bank82%GitLab, Jira DC016$0.37392 s
2S5 second visitfacts kept–013$0.18154 s
3S1 bank76%GitLab, Jira DC050$0.60471 s
3S2 startup100%none (no keys in persona)020$0.29196 s
3S3 pasted token100%none (paste not triggered)012$0.21177 s
3S4 correction100%none016$0.26159 s
3S5 second visitfacts kept–00$0.10109 s
4S1 bank ×371%, 82%, 82%GitLab 3/3, Jira DC 2/3032, 21, 125$0.37, $0.37, $1.50418–867 s
4S2 startup100%none (no keys in persona)017$0.29231 s
4S3 pasted token100%GitLab, Jira DC017$0.30269 s
4S4 correction0% (no interview)GitLab023$0.34222 s
4S5 second visitfacts keptJira DC034$0.38227 s
5S1 bank ×288%, 82%GitLab 2/2, Jira DC 2/2028, 27$0.30, $0.40356–428 s
5S4 correction100%GitLab033$0.40256 s

Model: Gemini 2.5 Flash for both the agent and the simulated user. Cost is the agent-server's own reported spend. Round 1's S4 time is the 15 minutes the GitLab form spent being refused.

Gaps this study found, and what we changed

Every fix below is in the app, has tests, and was re-run against the scenario that exposed it.

  1. A bank's own GitLab could not be connected at all

    Finding

    The connection form refused *.internal and private-network hosts. That guard exists to stop the cloud proxy being aimed at internal addresses, and the cloud cannot reach them anyway. So every internal system in a regulated company was unconnectable. S4 spent 15 minutes on it.

    Fix

    Self-hosted providers accept company-internal hosts. The cloud still refuses to call them. The check runs from the machine that runs the agent, inside the company network, through its own proxy and certificate settings: the credential goes to that machine as a file (never in a command or log), curl tries HTTPS then HTTP, and a failure comes back as plain advice (DNS, proxy auth, untrusted TLS, wrong token).

    Effect

    Bank log: gitlab.northwind.internal /api/v4/version 200, jira.northwind.internal /rest/api/2/myself 200. GitLab verified 5/5 final runs.

  2. Connections never reached the agent

    Finding

    A saved connection lived only in the cloud database. The agent-server, which runs the agent's commands, never heard of it, so the agent could not use the GitLab it had just "connected".

    Fix

    A verified connection is synced to the agent-server's secrets as named variables (for example GITLAB_SELF_MANAGED_ACCESS_TOKEN), for new conversations and for the running one. The agent is told the names, never the values.

    Effect

    Four variables present on the agent-server after a bank run; removed by the harness between runs.

  3. "In progress" counted as done

    Finding

    The plan accepted any status. "in_progress" read as finished, and setup completed with nothing connected (S2).

    Fix

    Statuses are normalized; unknown ones are refused. A connection step is done only when a connection for it actually works, and skipping needs a reason.

    Effect

    Refused GitHub as done when the simulated user only claimed success (S2, round 4).

  4. Any connection of a kind finished the step

    Finding

    The org's old Jira Cloud connection let a "connect Linear" step pass after the Linear form was cancelled (round 3).

    Fix

    The step must be satisfied by the provider whose form was opened for it.

    Effect

    Covered by tests; no recurrence.

  5. Setup could finish with work open, and the agent said what it hoped

    Finding

    Round 1's closing message: "Reconnected your GitHub… Connected your self-managed GitLab… Configured Google Gemini". None was true.

    Fix

    Completion is refused while steps are pending. The agent is told to report only what a result confirmed and to close with connected / skipped / next.

    Effect

    0 false "connected" claims in the 17 sessions after round 1.

  6. The interview skipped most of what matters

    Finding

    Round 1 never asked about proxy, TLS inspection, mirrors, compliance or team, and assumed the org's Jira Cloud was their tracker.

    Fix

    A discovery checklist (stack, shipping, systems and whether each is self-hosted, network, compliance, team), one question per message, and "an existing connection is not what the company uses".

    Effect

    Bank recall 35% → 71–88%.

  7. The agent planned before asking anything round 4

    Finding

    S4 went straight to a plan, connected the wrong things and never learned which tracker the company used.

    Fix

    A plan is refused until stack, delivery and systems are known, unless the user asked to skip the interview.

    Effect

    S4 round 5: interviewed first, took the correction, 100% recall.

  8. Nothing was remembered

    Finding

    Facts lived in one browser tab. The org's company profile table had zero rows: it had never been written.

    Fix

    Facts are saved to the org's company profile (newer answer wins per key) and loaded at the start of every session. The agent is told what it knows and which sections are missing.

    Effect

    S5 opens with a summary of what it knows and asks only about the gaps.

  9. Facts filed under the wrong name were thrown away

    Finding

    "ci", "proxy" and "llm" were not known sections, so those facts were rejected and the agent asked the user again or retried six times.

    Fix

    New systems and network sections, common aliases, and anything else kept under "org" rather than refused.

    Effect

    No rejected facts in round 5.

  10. A loop that cost $1.50 round 4

    Finding

    One bank run recorded the same three facts about 30 times in a row: result, empty reply, nudge, record again.

    Fix

    A record that adds nothing gets "already recorded, ask your next question" instead of a normal receipt that reads as progress.

    Effect

    Round 5 bank runs: $0.30 and $0.40, no loop.

  11. Waiting forever round 2

    Finding

    When the engineer had to get the proxy password from IAM, the agent said "I'll wait for you to confirm" and repeated it for the rest of the session. It had also just reached GitLab through that same proxy.

    Fix

    Never wait: hand it to the owner the user names, or skip with the reason, and go on. A runtime-verified internal host proves the proxy already works on the agent's machine.

    Effect

    4 of 5 final bank runs finished, skipping the model provider with a reason; the fifth was still setting up the Nexus mirror and the read-only Postgres replica when the turn limit ended it.

  12. Tasks assigned to invented people round 2

    Finding

    The agent assigned work to it-team@northwind.internal and hr-team@…, addresses nobody gave it, including "team locations".

    Fix

    Assign only to someone the user named, with the address they gave; a question they cannot answer is an open question, not a task.

    Effect

    The wording alone did not hold: three invented addresses in rounds 4–5. The app now refuses any assignee address the user did not type in the conversation. Added after round 5; covered by tests, not yet re-measured.

  13. Reconnecting tools the company does not use

    Finding

    The test org has a revoked GitHub connection, and the agent kept pushing a bank that uses GitLab to reconnect it.

    Fix

    Ask whether they still use a provider before reconnecting it; drop it if not.

    Effect

    None of the 5 final bank runs opened a GitHub form.

  14. The setup screen looked like a coding chat

    Finding

    "What do you want to build?", repository, Pull, Push and Pull Request buttons, a welcome dialog over the Begin button, a conversation titled "Onboarding Result: GitHub Reconne…", and raw JSON receipts in the chat.

    Fix

    The setup chat hides the git bar and receipts and has its own prompt; the conversation is named at creation; the welcome dialog stays off the setup screen.

    Effect

    Covered by tests.

  15. The agent changed a machine-wide setting round 5

    Finding

    Told about the Nexus mirror, one bank run ran npm config set registry https://nexus.northwind.internal/…. The local agent-server runs as the logged-in user, so that pointed npm on the whole machine at the bank's mirror, and our own deploy then failed on it.

    Fix

    Reverted with npm config delete registry (nothing else was in the file). The brief now forbids machine-wide changes (global npm, pip, git or proxy config, shell profiles, anything in the home folder): project setup goes in the workspace's own files or a proposal a human accepts. Found after round 5; not yet re-measured, and it is a rule the model has to follow, not a guard.

    Effect

    The strongest argument for running the agent in a sandbox, not as the user, in any customer install.

  16. Smaller fixes

    Finding

    Repeating connection status at the top of every message; agent writing results it had not received; a test that asserted the old "reject unknown section" rule.

    Fix

    Brief and tool-description changes, with each change measured against the next round (one that made narration worse was reverted).

    Effect

    See the open items below for what wording could not fix.

Still open

  • One wasted model call per action. The agent-server answers every client-side tool call with "dispatched to client" at once; the real result arrives later. Gemini 2.5 Flash then replies with nothing (and is nudged) or imitates a result. We moved this around with wording but never removed it: 17–34 empty replies in a typical final session. The app now hides imitated results from the user, and completion checks never trust them. The real fix is a client tool that waits for its result, in the agent SDK.
  • Run-to-run variance. The same bank persona gave recall from 71% to 88% and Jira DC verified in 4 of 5 runs. One round-4 run never asked about the tracker, and the next day's session inherited that gap.
  • The Connections page and cloud-side features still show the cloud's verdict for internal hosts ("could not call it"); only the agent's view uses the runtime check.
  • Agent profiles drop the onboarding brief at launch, and the onboarding session's phase is never advanced.
  • The agent can change the machine it runs on. A local install runs the agent as the user; only a rule in the brief stops it touching global config. Customer installs should use the sandboxed runtime.
  • No proxy connector. The agent can describe the proxy and say whether it works, but configuring one is a platform-team task, so it is handed off.

How we tested

  • An isolated NeoDevEx stack (production build, real agent-server, real Supabase, its own state folder), with the corporate proxy set on the agent's machine as a bank's platform team would.
  • A Playwright driver logs in through the test-auth suite, starts setup, fills credential forms from the persona's lab tokens (never typed into chat), and otherwise asks a second Gemini model to answer as the persona. Traces are off so no password is recorded.
  • A scorer reads the agent-server's own event log: facts recorded against each persona's ground truth (each fact matched on its own), connections the app verified, "connected" claims without a verified result, imitated results, pasted-secret leaks, empty replies, cost and time.
  • Between scenarios the harness deletes the org's company profile, the study's connections and the synced secrets, so each company starts clean (except the second-visit scenario).

What could skew this

  • The user is simulated. It sometimes improvised facts, claimed to have filled forms, or misunderstood the UI. We tightened the persona sheets twice and read every transcript; recall only counts facts on the sheet.
  • Most scenarios ran once per round; the bank ran five times on the final build. Treat single numbers as observations, not rates.
  • The fixes were made in response to these scenarios and re-measured on them. A fresh environment (a different proxy, GitHub Enterprise, Azure DevOps) would be a stronger test.
  • The bank is a lab: internal services speak plain HTTP through the proxy instead of HTTPS with a corporate CA. The runtime check handles both, and reports HTTP as insecure.

Raw data