Quickstart — Mima Governance SDK
Quickstart — Mima Governance SDK
Five minutes from install to your first compliance record in the ledger.
Prerequisites
- A Mima workspace (sign up at app.mima.works)
- An API key from Settings → API Keys (
mima_ext_...) - Python 3.9+ or Node.js 18+
Python
Install
Configure
The SDK resolves your workspace automatically from the API key. Pass workspace_id= explicitly only when managing multiple workspaces.
First attestation
Wrap the function that calls your LLM:
First GRC record
Check your posture at app.mima.works/posture — the record appears within seconds.
TypeScript
Install
Configure
First attestation
First GRC record
Using the MCP server (Claude Code / Cursor)
If you’re using an AI coding agent rather than app code, configure the MCP server instead of the SDK. It works for any language.
Then ask your agent: “Use mima to check my governance posture” or “Log an AI risk assessment for this system.”
See MCP Server for the full tool reference.
What happens next
- Records flow into the Mima evidence ledger, timestamped and HMAC-signed.
- Each record earns mapped controls (e.g.
EUAIA_ART9,ISO42001_6_1). - Your posture score updates in real time on the dashboard.
- Gates check for required evidence before deploys or quarterly reviews.
