commandoperator/cmdop-sdk
À propos
Connect ChatGPT, Claude Code and Codex to your Mac or Linux computers. Read files, run commands and start tasks with permissions you choose.
Outils de développementProgression mesurée des étoiles
- in 24h
- Historique en cours
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
Your AI. Your computers. Connected.
Give ChatGPT, Claude Code, Codex and your own applications access to computers you control.
Open an app. Read a file. Run a build. Come back for the result.
Connect your AI · Build with the SDK · Read the docs · cmdop.ai

Illustrated workflow: your AI, your applications and a computer you control.
Ask here. It happens there.
“Open Spotify on my Mac.”
Your AI can act on your computer through CMDOP. An instruction in the chat becomes an action on the machine you chose, within the access you allow.
Try that scenario with Spotify installed and application control enabled on your Mac. Connect your AI, then ask it to open the app.
What will you ask your computer to do?
| Ask your AI to… | What happens on your computer |
|---|---|
| “Find nonstop flights from Bali to Bangkok and save them on my Mac.” | A local flight search returned two fares. CMDOP saved them in a report on the Desktop. See the flight search. |
| “Ask the Codex on my Mac and bring back its answer.” | CMDOP selected the installed Codex and followed its task until the reply arrived. See the Codex example. |
| “Start the build. I'll check it later.” | It starts a task you can revisit. See a remote test run. |
Each workflow needs the corresponding access. You choose the computer and the permissions. Persistent tasks can outlive the call or chat; retained output is bounded and does not survive a machine-program restart. Explore the workflows.
Your computers. Your rules.
Choose the access. Give each AI client or application its own agent token and permissions. The computer's access limits and operating system permissions still apply.
See what happened. Tool calls are recorded under the agent that made them.
Disconnect an integration. Revoke its agent token to prevent its next call.
Build with the SDK
Use the same computer tools from Python or TypeScript. Start with a read: find an online computer and print its OS, architecture and CPU count.
| TypeScript / Node.js 20+ | Python 3.10+ |
|---|---|
npm install @cmdop/sdk |
pip install cmdop |
Set up your computer and token, then try a first program. The SDK connects to CMDOP; install the machine program separately.
First read in TypeScript and Python
These programs use CMDOP_URL and CMDOP_TOKEN from your environment and need read access.
They choose the first online computer; select an explicit id when the target matters.
TypeScript
import { connect } from "@cmdop/sdk";
const client = connect();
try {
const online = (await client.machines()).find((machine) => machine.online);
if (!online) throw new Error("Bring a machine online on your CMDOP page.");
const info = await client.machine(online.id).sys.info({});
console.log(info.os, info.arch, info.cpus);
} finally {
await client.close();
}
Python
import cmdop
with cmdop.connect() as client:
online = next((machine for machine in client.machines() if machine["online"]), None)
if online is None:
raise RuntimeError("Bring a machine online on your CMDOP page.")
info = client.machine(online["id"]).sys.info()
print(info.os, info.arch, info.cpus)
Run the executable examples · Complete quickstart
To send a prompt to an agent installed on your machine, follow the Codex or Claude Code example.
Bring the tools you already use
ChatGPT, Claude Code and Codex connections have been verified over MCP. The Python and Node.js SDKs are published on PyPI and npm. The machine program is available for macOS and Linux; see feature status for other platforms.
Bring your existing AI account and your computers. CMDOP offers a free core; see pricing for current plan terms and limits.
Go further
Run the Docker demo · SDK documentation · Workflow showcase · Examples · TypeScript · Python · Versions and support · Releases
Found a problem or have a useful workflow to share? Open an issue. Include a small reproducer for bugs and remove tokens and personal data. Star the repository if you want to keep these tools handy.
The SDK is open source under MIT. The rest of the CMDOP platform has its own distribution terms. Technical documentation here is exported from the public docs site; report corrections through an issue.
Explorer des projets similaires
Chargement…