Code review and a coding agent that keep your source code inside
Matca's code-review agent reviews every change from your own pipeline. For each finding it returns the file, the line, the severity and a suggestion. Like the coding agent, it runs on a self-hosted LLM in your own Matca environment. Your source code therefore never leaves that environment.
What does the code-review agent deliver?
Findings a machine can read. Your pipeline sends a change with its context to the agent, through the gateway as agent/<name>. For each finding the pipeline gets back the file, the line, the severity and a suggestion. Your pipeline decides what a finding means. It can be a comment on the merge request, or a merge that waits.
Every new version of the agent has an evaluation suite of its own. It goes live per client behind a stable name only once those evaluations pass on the client's own test set. A better version therefore changes nothing in your pipeline. A version that fails the evaluations never reaches it.
What does the coding agent do?
The coding agent takes a task and works it out in a workspace of its own. It writes files, runs commands and reads the results. It quotes the output it actually saw. It is instructed not to invent results.
Every call starts in the workspace of the agent's isolated pod. Every command has a time limit and bounded output. Every task has a fixed ceiling on model calls, tool calls and tokens. You call the agent from a pipeline step or an internal tool.
How does Matca stop generated code from doing harm?
Code a model writes never runs next to the rest of the platform. The agents run in a gVisor or Kata Containers sandbox. gVisor is an application kernel that provides "a strong layer of isolation between running applications and the host operating system".1 Kata Containers runs each workload in a lightweight virtual machine. Hardware virtualisation is a second layer of defence there.2 In addition:
- The shell tool runs in a separate container that holds no secrets.
- Your environment's network rules block all traffic by default. The agent reaches only its own gateway, knowledge base, storage and traces, and not the internet.
- The agent calls only open-weight models that Matca runs in your environment.
Why must source code stay inside?
Because source code is often the trade secret itself. The EU Trade Secrets Directive protects information only if the person lawfully in control of it has taken reasonable steps to keep it secret.3 On top of that, US law requires a provider of communication or computing services, when served with a US warrant or order, to disclose data in its possession, custody or control, regardless of whether it is stored inside or outside the United States.4
With Matca there is no US party in the path of your code. No closed model runs in the environment. For the most sensitive code, the same environment runs in your own data centre. Read on under high tech and manufacturing.
Frequently asked questions
Does our source code go to a model maker or any other party?
No. Your code is processed in your own Matca environment and goes to no party outside it, including the model's maker. The gateway keeps no prompts or answers in its traces. You choose at onboarding whether your agents' traces keep content.
Which pipelines does the agent work with?
Any pipeline that can make an HTTP call. The agent is reached through the API compatible with OpenAI's. You use Matca's SDKs for Python and TypeScript, the OpenAI SDKs or curl.
Can we test the agent against our own test set?
Yes. A new version of the agent goes live for your organisation only once its evaluations pass on your own test set. Matca agrees with you which findings the agent gives.
Sources (4)
- gVisor, What is gVisor?, accessed
- Kata Containers, Kata Containers - Open Source Container Runtime Software, accessed
- EUR-Lex, Directive (EU) 2016/943 on the protection of undisclosed know-how and business information (trade secrets),
- Legal Information Institute, Cornell Law School, 18 U.S. Code § 2713: Required preservation and disclosure of communications and records,