- Tools (
list-controls,update-control,update-use-case-architecture, and the rest) read or write Keldyn data. Each call is a request and a response. - Prompts (
start-dev,review-changes,review-codebase,collect-evidence,generate-architecture) hand your agent a brief and a little Keldyn context. A coding-agent review runs on your own model. Your code does not reach Keldyn during that step. - The PR Review Bot is the flow where code leaves. It sends the changed lines of a pull request, the version identifiers, and the use case id.
Flow A: a tool call (read or write Keldyn data)
Most tool calls take this path:list-*, get-*, update-control, update-risk-tracking, create-task, Trust Center admin tools, and the rest of that family.
Nothing in this flow is sent to a third-party AI model. It’s the same authenticated Keldyn API call the web app makes for the same action, just issued by your agent instead of a browser click.
Flow B: a prompt (agent-guided workflow)
Prompts (start-dev, review-changes, review-codebase, collect-evidence, generate-architecture) do not scan your code. They assemble a text brief from a little Keldyn context and hand it to your agent. The agent does the work locally.
For every KC prompt, the scan and the reasoning happen on your side, on your own model. The only thing that can reach Keldyn from that prompt is the finding, evidence line, or architecture object your agent explicitly saves with a follow-up tool call. Each prompt’s rules require your review before that save. See Responsible use.
PR Review Bot
A coding-agent review (review-changes, review-codebase, start-dev) runs on your own model. Your code stays in your environment for that review.
The PR Review Bot is the one flow where code leaves your environment. When a connected repository opens or updates a pull request, or someone comments @keldyn, the bot sends exactly:
- Changed lines: the pull request diff.
- Version identifiers: the repository, the pull request, and the head commit.
- Use case id: the use case the repository is reviewed against, so the verdict uses that use case’s controls.
To read the changed lines in place, the review checks out that pull request head in a short-lived sandbox and may read a line the change depends on. The checkout is discarded when the run finishes. Nothing of the changed lines is kept after the verdict.
Where Keldyn’s own AI is involved, without your source code
Saving an architecture is a Keldyn-side model call, and it does not send your source code. Whenupdate-use-case-architecture saves a Threagile model, typed by hand or produced by generate-architecture, keldyn-api writes a plain-language management summary of it. The model is asset names, types, technology, trust boundaries, and data flows. That is GRC metadata describing the system for risk analysis. It is not your source code, so this hop is not your codebase reaching a model provider. The request:
Untrusted content is screened before this hop (prompt-injection/jailbreak checks): see Cybersecurity for the AI-specific controls this and other AI-assisted features are tested against.
Security analysis stays on Keldyn’s own infrastructure
Runninganalyze-use-case-architecture (or the security refresh triggered automatically after a save) does not call a third-party AI model. It sends the architecture model to Threagile, a self-hosted, deterministic risk-analysis engine Keldyn runs on its own infrastructure (the same one that also evaluates framework compliance checks). Threagile returns a list of risks, which keldyn-api stores in Postgres alongside the use case. No subprocessor beyond Keldyn’s own hosting is involved in this step.
What leaves your environment, at a glance
- Stays on your own model: source code, files, and diffs read during a coding-agent review (
review-changes,review-codebase,start-dev). That review runs on your model. Your code does not reach Keldyn. - The one flow where code leaves your environment: the PR Review Bot. It sends the changed lines, the version identifiers, and the use case id. Those changed lines go to Keldyn, then to Requesty and AWS Bedrock (Anthropic models,
eu-west-1) for the verdict. Nothing of the changed lines is kept after the verdict. Your team can see the run record; people who can open the pull request can see the comments on your git host. - Leaves your machine, stays inside Keldyn: anything you pass as a KC tool argument (evidence text, control status, an architecture model, a task) goes to keldyn-api, Postgres, or S3 over HTTPS, the same as if you had typed it into the web app.
- Leaves Keldyn to a subprocessor, and is not your source code: the architecture-summary call, sent transiently to Requesty/Bedrock. That payload is Keldyn GRC metadata (an asset and trust-boundary model). Your codebase does not reach a model provider through KC. Nothing here is used for training. See Compliance for the subprocessor list.
- Stays on Keldyn’s own infrastructure: the Threagile security analysis, which runs on Keldyn-hosted infrastructure rather than a third party.