Skip to content
Gemini CLI

COTI Private Messaging for Gemini CLI

io.github.coti-io/coti-private-messaging

Private encrypted agent messaging, hidden state exchange, delegation, and private inbox workflows.

client:Gemini CLI transport:stdio runtime:npm

Install COTI Private Messaging in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "coti-private-messaging": {
      "command": "npx",
      "args": [
        "-y",
        "@coti-io/coti-sdk-private-messaging"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>",
        "AES_KEY": "<AES_KEY>",
        "COTI_NETWORK": "<COTI_NETWORK>",
        "STARTER_GRANT_REF": "<STARTER_GRANT_REF>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

COTI Private Messaging in other clients