ML.ai

Security

ML.ai runs on your machine, and by default nothing changes until you approve it

Proposed change · nothing written yet

session.ts+2 −1
40export async function getSession(id) {
41- const s = store.get(id)
41+ const s = await store.get(id)
42+ if (!s) throw new SessionNotFound(id)
43 return s
44}
AllowAlwaysDeny
Waiting for your approval
  • Runs on your machine

    The engine runs locally and listens on localhost only, with generated authentication.

  • Nothing changes without you

    Ask is the default: each edit and command waits for Allow, Always or Deny, with a diff before supported edits.

  • Credentials stay out of reach

    Your sign-in is held by the local engine and never reaches the editor’s interface. SSH keys and cloud credential files are never read.

  • Checked, and reversible

    After a turn that changes files, ML.ai checks the work, and you can undo the last turn’s changes.

What stays and what leaves

The agent runs on your machine. Only what a turn needs goes out, and only to the places listed here.

Stays on your machine

  • Your repository

    The agent reads files, edits them and runs commands locally. Only the file content a turn uses is sent.

  • The agent engine

    Runs locally and listens on localhost only, with generated authentication.

  • Your sign-in

    Held by the local engine and never shown to the editor’s interface. There is no API key, and no separate key is stored.

  • Your session history

    Conversations are stored locally, where you can search, rename and delete them.

Leaves your machine

  • Prompts, selected file content and tool results

    The ML.ai model service

  • A tool’s input

    The MCP server you selected for that action

  • What you ask a connector to read or change

    The service you connected, and ML.ai asks before it changes anything

Requests to ML.ai are encrypted in transit with TLS.

Never sent. Crash reports and product analytics aren’t in the product, and telemetry export stays off unless you set an endpoint.

Working with confidential code? Check your organization’s source code and MCP policies first.

Checks the agent can’t skip

The agent does the work. These are the rules it works under.

  • Permission prompts

    Each action that needs your approval waits for Allow, Always or Deny. Supported edits open a diff first, and shell and MCP actions show their command or input.

    Learn more
  • Command safety

    Every shell command is classified by what it does before it runs. A command that mixes effects takes the strictest result, and one ML.ai can’t classify gets the cautious result.

    Learn more
  • Plan mode

    Plan investigates and writes a plan without the edit or write tools. You accept it and switch to Build, ask for revisions, or reject it.

    Learn more
  • Verification

    After a turn that changes files, ML.ai checks the work and can make up to 2 repairs. An inconclusive result is never counted as a pass.

  • Ask or Auto

    Ask is the default. Auto answers for you, and you choose how it handles Git and edits outside the project, which ask by default.

Refused in every mode

Not even Auto can allow these.

  • Deletes that can’t be proven safe
  • sudo
  • Reading ~/.ssh/id_* or ~/.aws/credentials

Also refused in Plan mode and Explore

  • Writes and network access
  • Running programs
  • Deletes, even inside the project
  • Git writes

Set your own rules

Write the policy into config, and ML.ai follows it in every session.

  • Allow, ask and deny rules

    Rules are an ordered list of action, resource and effect. Resources take wildcards, the last match wins, and an action with no match asks you.

  • Refuse credential stores

    Turn on ml-ai.denyCredentialAccess and ML.ai refuses any command that touches a credential store.

  • Approve MCP servers first

    Servers defined in a repository need your approval before they start, and ML.ai asks again if a definition changes.

  • Keep secrets out of the repo

    Config values can reference {env:VAR} and {file:path}, so secrets never need to live in your repository.

.ml-ai/ml-ai.json

{
  "permissions": [
    {
      "action": "read",
      "resource": "*.env",
      "effect": "deny"
    }
  ]
}

Controls for your whole team

Infinite is priced for one person. Teams and enterprise can book a call for these controls.

ControlInfiniteTeamEnterprise
SAML / OIDC SSO
Admin console and shared rules
SCIM and audit logs
VPC or on-prem deployment
Uptime SLA

Independently audited

SOC 2 Type I, ISO 27001 and FedRAMP High. The SOC 2 examination covered Security, Availability and Confidentiality.

  • SOC 2 Type I

    Examined as of September 15, 2026

  • ISO 27001

  • FedRAMP High

Controls examined for SOC 2

  • Encryption in transit with TLS, and at rest with AES-256
  • An annual penetration test by a qualified third party
  • Vulnerability scans at least monthly
  • Multi-factor authentication on critical systems
  • Background checks and annual security training for staff

FAQs

Where does my sign-in live?

With the local engine. It never reaches the editor’s interface, there is no API key to enter, and no separate key is stored for it. Signing out of one surface signs out the desktop app and every editor window on that computer.

What leaves my machine?

Prompts, the file content you select and tool results go to the ML.ai model service. A tool’s input goes to the MCP server you selected for that action.

Can the agent change files or run commands without asking?

Not by default. Ask is the default approval mode, so each action that needs your approval waits for Allow, Always or Deny. Auto answers for you while it is on, and some commands are refused in every mode, including deletes that can’t be proven safe and sudo.

Can I undo what the agent changed?

Yes. /undo and /redo work on the last turn’s changes, and in the extension you can rewind to one of your messages and restore the code. Undo relies on snapshots, which need a Git repository.

Can we run ML.ai inside our own network?

Yes, on the Enterprise plan. It adds VPC or on-prem deployment, SCIM, audit logs and an uptime SLA. The Team plan adds SAML and OIDC single sign-on and an admin console.

Opening offer$50/mo for 3 months, then $99/mo

Put ML.ai to work without giving up control

Install it, run a real task in your own repo, and approve each change before it lands.