A local credential broker for coding agents

Let your agentverify the app.Signed in.

Keep dedicated test passwords in your OS store. Let Testlane sign in and give your local browser the session it needs to check the app you’re building.

npm install --save-dev --save-exact testlane@0.5.1

Open source · Apache 2.0v0.5.1 · npm pending

FROM SETUP TO A REAL CHECK01 / 03
your machine / your appLOCAL

Inspect setup before using a stored credential.

npx --no-install testlane doctor --json

// Illustrative, abbreviated diagnostic report
{
  "ok": true,
  "checks": [
    { "id": "registry", "status": "pass" },
    {
      "id": "authentication",
      "status": "warn",
      "code": "authentication.not_requested"
    }
  ]
}
Default diagnostics do not sign in.

Illustrative examples, abbreviated for clarity. Supply your own profile, MCP client and app checks. Full session recipe

Fits the way you workCLIMCP / stdioLocal HTTPPlaywright recipesSee tested contracts

Put authenticated access to work

What would you like
your agent to verify?

Give the agent a specific task, an approved account and checks that prove the result.

Illustrative agent prompt
“I changed the account page. Sign in as the approved QA user and check the page, its identity endpoint and access without a session.”
Existing-app quickstart

Prove the intended user can use it.

  1. 1
    Sign in with the QA profile

    Load the local session into a fresh browser context.

  2. 2
    Check identity and page content

    Assert the expected user and the protected page’s heading.

  3. 3
    Exercise both sides of access

    Check the authenticated API response and an anonymous 401 or 403, as your app specifies.

Illustrative tasks for your configured checks; nothing on this page executes against an app. The core broker supplies authentication. Optional Playwright templates supply reviewed verification recipes. Install in your project

Watch the handoff

One local session.
A clear chain of responsibility.

Testlane brokers the sign-in. Your Playwright checks decide what passes, and your client or workflow records the results.

Illustrative flow · runs locally in your projectManual preview
  1. Human setup01

    Approve a profile

    Dedicated test account

  2. Agent / MCP client02

    Request a session

    session_file

  3. Testlane broker03

    Policy, sign-in & audit

    Before file issuance

  4. Shared filesystem04

    Return a local file

    Path + cleanup ID

  5. Your Playwright checks05

    Verify the app

    Identity · page · API

  6. Client / workflow06

    Clean up. Report.

    Release file + context

01 / 06

A human approves the account and origin.

Review the profile and seed its dedicated sandbox credential in the OS-backed store.

reviewed profile → OS credential store

Six steps · 13-second loop · no live requests

Built into our release work

How we use it at
Ownstead Systems.

For our 0.5.1 release verification, we installed the exact package tarball in an isolated project, generated sandbox accounts in a reference app, and ran real Chromium browser and API checks.

The same hosted 0.5.1 artifact bytes passed nine consumer checks on Windows DPAPI and Linux Secret Service. A scoped Claude Code 2.1.268 run exercised four MCP tools: list_profiles, check, session_file and release_session_file.

These release checks use generated reference apps and accounts. Claude coverage is the scoped four-tool sequence; full client-driven browser workflows and Codex acceptance remain unverified.

Read the tested contracts
  1. 01 Pack once
  2. 02 Install isolated
  3. 03 Verify identity & permissions
  4. 04 Release files & clean records
Verified 0.5.1 candidate checksAbridged recorded checks · not a live run
{
  "diagnostics": true,
  "mcpBrowser": true,
  "disconnectCleanup": true,
  "smokeCommand": true,
  "featureCommand": true,
  "noRetainedSessionFiles": true,
  "noCredentialLeak": true
}

Abridged results from these generated-account checks.

Know the boundary

Useful access.
Explicit limits.

Testlane reduces stored-password exposure in normal agent workflows. It is pre-1.0 software for dedicated sandbox and test credentials, and has not had an independent security audit.

Read the threat model
Declare your environments.
Production profiles and declared production hosts are refused. Testlane does not automatically discover which systems are production.
Keep the file consumer local.
MCP session-file delivery needs a shared filesystem. It does not transfer state into a remote browser worker.
The app owns session validity.
A copied cookie can outlive the broker’s artifact expiry. Deleting the file does not revoke the app’s session.
The OS user remains a trust boundary.
Processes running as the same OS user can access user-scoped stores and session files. Use an appropriate account and execution environment.

Where we’re going

Local first. More to come.

Hosted workflows and paid plans are planned. The current local broker is being prepared for public beta. Tell us which parts of your verification workflow need a better handoff.

Follow development

Put it to work

Your next check can be signed in.

Open the quickstart Explore the source