Primus provides local execution and file tools for your connected workspace. Choose only the surface you want. Every path is multi-tenant, computer-agnostic, protected by OAuth 2.1 + PKCE S256, and locked to a $0.00 default metered spend cap. Remote execution (primus:exec) is Default-OFF and requires dual-key local consent.
SURFACE 1 · ZERO DOWNLOADREADY
AI Plugin / Remote MCP (Any AI Client)
Connect Claude, ChatGPT, Antigravity, Cursor, or VS Code to https://masidyn.dev/mcp/primus (or edge https://masidyn.ai/Primus/mcp) via OAuth 2.1 + PKCE S256. No local install required.
Optional outbound-only companion for consenting local execution on your computer. Enforces a workspace root fence, destructive command denylist, pre-egress secret redaction, immutable local audit log, $0.00 spend cap, and 1-click revoke.
WINDOWS (POWERSHELL)irm https://masidyn.dev/install-primus.ps1 | iex
MACOS · LINUX · WSL · CHROMEBOOKcurl -fsSL https://masidyn.dev/install-primus.sh | sh
Use the OpenAI-compatible cloud API at https://api.masidyn.dev/v1 with an OAuth access token, or a local runtime's discovered loopback URL without a cloud account. The existing https://masidyn.dev/v1 alias remains supported.
CLI ToolREADY
MasiDyn Sovereign CLI
The unified model picker, cloud proxy, and one-shell multi-seat swarm controller.
source: agnostic/masidyn_pick.py + BIDFORGE/tools/agent_cli_cluster.pycurl -fsSL https://masidyn.dev/install.sh | sh
On-the-Go Chromebook stack — pipes all MasiDyn seats and Praetors into Crostini (penguin) AND natively into ChromeOS via penguin.linux.test:11460 with automatic LAN -> Tunnel failover.
Optional local companion for dual-key consented command execution on your own computer (--allow-exec, workspace fence, secret redaction, local audit log).
source: public/clients/masidyn_primus_agent.py + public/install-primus.ps1/.shcurl -fsSL https://masidyn.dev/install-primus.sh | sh
Pipes all MasiDyn seats and Praetors into Crostini (penguin) AND natively into ChromeOS via http://penguin.linux.test:11460with automatic Home LAN → Tunnel failover.
Complete the OAuth quickstart, then set MASIDYN_ACCESS_TOKEN to the returned access_token. Download the client file above before running its example. Portal sign-in alone does not supply a CLI token.
Python SDK
import os
from masidyn_client import MasiDyn
# Set MASIDYN_ACCESS_TOKEN to the access_token from your OAuth code exchange.
md = MasiDyn(
base_url="https://api.masidyn.dev/v1",
token=os.environ["MASIDYN_ACCESS_TOKEN"],
)
reply = md.chat("masidyn-auto", "Design a resilient application.")
print(reply)
# Streaming support
for chunk in md.chat_stream("masidyn-auto", "List three design principles."):
print(chunk, end="", flush=True)
TypeScript / Node.js
import { MasiDyn } from "./masidyn";
// Server-side Node.js: use the access_token from your OAuth code exchange.
const token = process.env.MASIDYN_ACCESS_TOKEN;
if (!token) throw new Error("Set MASIDYN_ACCESS_TOKEN before calling MasiDyn Cloud.");
const md = new MasiDyn({
baseUrl: "https://api.masidyn.dev/v1",
token,
});
const reply = await md.chat("masidyn-auto", "Explain the MasiDyn Cloud API.");
console.log(reply);
The IDE is a lightweight Tauri 2 desktop app (Vite + Monaco editor + xterm terminal) with live model telemetry and multi-seat swarm status.
brain-ide · Tauri
npm install -g @masidyn/cli
masidyn ide install
masidyn ide launch # opens the Brain IDE desktop app
# or run in developer workspace mode:
masidyn ide --dev