Agent Assurance Technical & Security Overview
How the rook CLI runs, which hosts it contacts, and how it handles your code and data. Written for engineering and security review.
01 At a Glance
- Local first. Rook tests AI agents that you own and run. It runs on your machine or CI runner, and your working files stay in
.testmuai/rook/. - Only what a task needs. Model-backed steps send only the context that task needs, over TLS. Rook does not upload your codebase in bulk.
- Secrets stay put. Values that you store with
rook env setare never synced. - No training. Your inputs and outputs are never used to train any model.
02 Architecture and Dataflow
The rook CLI is the only component that crosses your boundary. It connects to TestMu AI over HTTPS (TLS 1.2 or later) through Cloudflare. TestMu AI services call the model providers and use a database, object storage, and authentication.
How Data Moves
- Sign in. The rook CLI signs in through Cloudflare to the Sign-in service, which handles your account and identity. All traffic into the TestMu AI cloud enters through Cloudflare.
- Explore. The rook CLI reads source from the agent source repo and sends task content to the model service. The model service sends a prompt to the AI models and gets a completion back. The rook CLI puts the returned agent spec into the agent context, which writes it to the local workspace.
- Generate. The rook CLI sends task content to the model service. The model service writes tests with the AI models and returns them. The rook CLI puts the tests into the agent context, which writes them to the local workspace.
- Run. The rook CLI passes the context for each turn to the agent context. Your agent under test reads it and replies. The agent context returns the replies to the rook CLI, which sends them to the model service to judge. The agent context writes the results to the local workspace. The rook CLI never calls your agent directly.
- Sync. When you run
rook sync, the rook CLI sends tests and verdicts through Cloudflare to the Rook service in US East. The Rook service keeps projects, agents, and run records in the database, and reports and evidence files in storage. - Review. The Rook service sends records and evidence to Rook Cloud UI, where you and your team view and share results.
The model service and the AI models are transient: they read data only to understand your agent, write tests and judge replies, and store nothing. Only Rook's own output is stored, never model data.
Storage data residency and the model inference region are configurable under Enterprise agreements and commitments.
Network Hosts
| Host | Path | Method | Purpose |
|---|---|---|---|
rook-api.lambdatest.com | /controller/v1/chat/stream | POST (SSE) | Streamed model generation |
rook-api.lambdatest.com | /api/v1/* | GET, POST | Sessions, data, plan check, telemetry |
rook.lambdatest.com | / | GET | Hosted Rook Cloud UI |
auth.lambdatest.com, accounts.lambdatest.com, billing.lambdatest.com | /, /api/user | GET, POST | Sign-in, identity, billing |
Amazon S3 (*.amazonaws.com) | Presigned, per file | PUT | Run evidence upload |
registry.npmjs.org | Package metadata | GET | Check for a newer release |
raw.githubusercontent.com, github.com | /LambdaTest/rook/… | GET | rook update on shell-installer installs |
03 Security & Data Privacy
What Leaves, What Never Does
| Data class | Where it lives | Leaves your machine? | When |
|---|---|---|---|
| Agent workspace and context | Your repository | Excerpts only | Excerpts that a model step needs |
| Rook project files | .testmuai/rook/ | On sync only | When you run rook sync |
| Run evidence and artifacts | .testmuai/rook/ | On a recorded run | Normal runs record to the hosted timeline. --test runs stay local. |
| Secrets, credentials, keys | ~/.testmuai/rook/ | Not synced | Never part of a sync |
| Session transcripts | ~/.testmuai/rook/sessions/ | No | Only if you export them for support |
| Operational telemetry | Not stored locally | Yes, by default | Background events. Turn off with ROOK_TELEMETRY=off or the telemetry setting. |
Controls
- TLS 1.2 or later in transit. AES-256 at rest.
- Single sign-on through SAML 2.0, and SCIM provisioning.
- Platform-level audit logs.
- A data processing agreement with Standard Contractual Clauses.
Compliance
Company-level certifications: ISO/IEC 42001 (Stage 1 audit cleared), SOC 2 Type II, ISO/IEC 27001, 27017, and 27701, plus GDPR, HIPAA, and CCPA. Scope details are available on request.
Retention & Model Providers
- Local data under
.testmuai/rook/is yours. Keep it, delete it, or commit it as you choose. - Cloud (synced) data is deleted after 30 days.
- Model providers are OpenAI and Google Gemini.
- No training. Your inputs and outputs are never used to train any model.