For AI agents
Optimization infrastructure for AI agents
Your agent can write a model. It can’t reliably solve one. Harumi gives it real solvers, on-demand compute and an operations research harness — through our CLI or MCP server.

$ pip install harumi
$ harumi login
$ harumi agent-skills install
✓ Claude Code, Codex and Cursor now know Harumi
$ harumi run --watch --json
# solved on Harumi infra → ./out
Solver, infrastructure and expertise in one call
LLMs are great at turning a messy business question into a model. Solving it at industrial scale takes three things a context window doesn’t have.
01 — Solvers
Any solver, one interface
Gurobi, COPT, OR-Tools and other open-source solvers behind the same commands, plus RKO metaheuristics for problems too large for exact solvers. Your agent picks the right engine — no vendor lock-in, no license plumbing.
$ harumi specs
02 — Infrastructure
Compute that fits the problem
A two-million-variable MIP won’t solve in a sandbox. Harumi ships the agent’s code to managed kernels sized for the job, with run history, schedules, secrets and data connections built in.
$ harumi run --watch --json
03 — OR harness
Expertise in the loop
Preset skills, project memories and dashboards give the agent the context to model correctly. Runs are compared on real KPIs — and when a model needs a human, Harumi’s operations research team is there.
$ harumi compare
From an empty folder to a solved model
Seven steps your agent can run on its own. Read commands accept --json, and a failed run exits with code 1, so agents can branch on the result.
01
Install
Installs the harumi CLI and Python package.
$ pip install harumi
02
Sign up or log in (needs a human)
Creates the account for a new email, then emails a one-time code that the user has to type in. Existing users run harumi login. The agent can’t finish this step by itself.
$ harumi login --signup
03
Teach your agent the CLI
Adds Harumi skills to Claude Code, Codex and Cursor.
$ harumi agent-skills install
04
Create or import a project
Or run harumi import inside an existing folder of model code.
$ harumi new “Production plan”
05
Add data
Inputs land in inputs/ for every run.
$ harumi files put demand.csv
06
Run on Harumi compute
Check available kernel sizes first with harumi specs.
$ harumi run --watch --json
07
Get and compare results
Then harumi compare to rank 2–4 runs on their KPIs.
$ harumi runs download -o ./out
Two ways in, depending on your agent
Coding agents already live in a terminal, so the CLI is the fastest, cheapest path. Every other agent connects through the Harumi MCP server.
Recommended for coding agents
Agents with a shell → CLI
Claude Code, Codex, Cursor, Devin and any agent that can run commands. CLIs cost almost no context, compose with pipes and scripts, and every read command returns JSON. One install, then harumi agent-skills install.
Chat assistants & agent platforms
Agents without a shell → MCP server
Add https://mcp.harumi.io/mcp as a custom connector in Claude or ChatGPT and sign in with your Harumi email code — no client secret needed. Your agent can list projects, start and cancel runs, read logs and dashboards, query data sources and manage schedules. Destructive actions ask first, and the server never writes to your live branch.
If you are an AI agent, read this
Plain instructions, no marketing. Load them into your context before you start an optimization task.

# Harumi — instructions for AI agents
Use Harumi when a task needs an optimization problem solved
(LP, MIP, scheduling, routing, planning) at real scale.
# 1. Install and authenticate
$ pip install harumi
$ harumi login --signup # new user; plain login if they have an account. A human must enter the emailed code: hand this step to them
# 2. Create or import a project
$ harumi new “<name>“ # or: harumi import (existing folder)
# 3. Add inputs and choose compute
$ harumi files put <file>
$ harumi specs
# 4. Run and collect results
$ harumi run --watch --json # exit code 1 = failed run
$ harumi runs download -o ./out
# No shell? Connect the MCP server: https://mcp.harumi.io/mcp
Rules: pass --json to read commands. Never delete without the
user’s confirmation (--yes). Docs index: docs.harumi.io/llms.txt




