What to ask
Once Aristotle is connected, ask things like:- “Verify that the parser in ./src handles every input without crashing.”
- “Write a C function that merges two sorted arrays, and verify that it never reads out of bounds.”
- “How is my Aristotle run going?”
- “What did Aristotle prove in my last project?”
- “Continue last week’s project with the files I changed.”
Set up the MCP
Add Aristotle’s MCP server to your assistant, then sign in with your Aristotle account when it asks. There’s no key to copy.Private deployments
- Use the address of your deployment in place of
aristotle.harmonic.fun, in the server URL and in each command below. - An administrator of the deployment must turn on MCP access for your account or organization.
- An assistant that runs on your computer or in a cloud workspace, such as Claude Code, Codex, Cursor, or VS Code, connects from that machine. That machine needs Tailscale or the allowed network of the deployment.
- An assistant that connects from the servers of its vendor, such as ChatGPT, claude.ai, or Claude Desktop, needs approved access to the address. It cannot reach a deployment that is open on Tailscale only.
Claude Code
/mcp and choose Authenticate.
Claude Desktop and claude.ai
Go to Customize › Connectors, add a custom connector with the server URL, and sign in. On Team and Enterprise plans, an Owner adds it under Organization settings › Connectors first.ChatGPT
Where your plan allows custom MCP servers, go to chatgpt.com/plugins, add one with the server URL and OAuth, and sign in.Codex
Cursor
Add Aristotle to Cursor, then sign in when Cursor asks. Or add this to~/.cursor/mcp.json yourself:
Private deploymentsThe Add Aristotle to Cursor link adds the public server. Add this config with the address of your deployment instead.
VS Code
Add Aristotle to VS Code, then sign in when VS Code asks. Or run MCP: Add Server, choose HTTP, and enter the server URL.Private deploymentsThe Add Aristotle to VS Code link adds the public server. Run MCP: Add Server with the server URL of your deployment instead.
On a remote machine
If your assistant runs over SSH or in a cloud workspace, sign-in ends on a page with acurl command. Run it on the machine your assistant runs on.
Good to know
- Billing: your first run asks you to confirm which organization pays. Runs billed to it then start without asking for 90 days, except a new project that sends only a prompt, which asks each time. While that organization’s credits are low, every run asks.
- Long runs: runs take minutes to days. Your assistant checks in for about 10 minutes, then stops. Ask again later, or follow the run in the web app.
- Questions: some runs ask you a question. Each question waits 15 minutes for your answer, then the run carries on without it.
- Uploads: up to 100 MB compressed. Credentials (
.envfiles, keys, and.sshfolders),.gitfolders, Lean’s build outputs, and symbolic links stay out, and Aristotle drops anything your.gitignoreexcludes. Outside a git checkout, or on Windows without git, those files are sent and dropped once they arrive; to keep a file from being sent at all, move it out of the folder. Your assistant tells you what it left out. - Verilog: see Verilog verification for giving your assistant a design’s top module, defines, and black boxes.
Private deploymentsThe settings of your deployment decide access and credits. If your organization needs either, ask the administrator of the deployment.
Tools
Your assistant picks these itself. They’re listed here for reference.get_credit_balance: check your organization’s credit balancecreate_uploadandstart_run: send a project and start a runget_runandwait_for_run: check on a runanswer_question: answer a run’s questionsend_message: tell a running run what to changelist_propertiesandget_property: read the resultscontinue_run: start a finished project’s next runlist_projectsandlist_runs: find projects and their earlier runscreate_download: download a project’s filescancel_run: stop a run, asking you first about one started elsewhererename_project: rename a projectdelete_project: delete a project for good, always asking you firstsend_feedback: tell Harmonic what went wrong or what would help, with your email so we can follow up
Use the CLI
Two commands, and Aristotle is verifying your code. The CLI needs Python 3.10 or later.Private deploymentsSet In Windows PowerShell:Then use that address in place of
ARISTOTLE_WEB_URL to the address of your deployment before you install, log in, or submit a project. On macOS or Linux:aristotle.harmonic.fun in the install command. Keep the variable set in each shell and CI job that runs Aristotle. The machine that runs the CLI, also a CI runner, needs Tailscale or the allowed network of the deployment.1
Install the CLI
On macOS or Linux, this installs uv if it is missing, installs the CLI, and logs you in:Running it again upgrades. To install without logging in, give the variable to Or, on any system, Windows included:This installs
sh, not curl:aristotle globally, with no virtual environment to create or activate. It needs uv, a fast, reliable Python package manager.2
Verify your code
--wait to stay in the terminal until it finishes. See Tracking properties for reading the result.Other ways to install
Run Aristotle without installing it:Logging in and out
aristotle login does on its own what the first submit offers to do. It prints the address of the approval page and a code, and opens the page when a browser is available. Sign in there, type the code, check that the page names your machine, and approve. If you belong to more than one organization, the page also asks which one the key is for, starting with your company’s. Runs started with the key are billed to that organization. Aristotle then makes a key named after the machine, and the CLI stores it in ~/.config/aristotle/credentials.json ($XDG_CONFIG_HOME/aristotle when that is set, %APPDATA%\aristotle on Windows), readable only by you. The key is listed in API keys, where you can revoke it.
aristotle logout removes the stored key. The key itself stays valid until you revoke it in API keys.
Private deploymentsThe approval page and API keys are on your deployment, at the address that
ARISTOTLE_WEB_URL gives. The CLI stores the key of that deployment in a separate file in the same folder.Scripts and CI
To check properties in your CI pipeline witharistotle ci, see Verify in CI.
A build job has nobody to approve a login, so give it a key from API keys directly. The environment variable overrides a stored key, so a logged-in machine still behaves like the build agent when one is set:
Private deploymentsCreate the key in API keys on your deployment. Set
ARISTOTLE_WEB_URL in the job too, and run the job on a runner that reaches the deployment.Verify your setup
aristotlelib 3. followed by the rest of the version, confirming the CLI is set up.