Connect AI smart glasses to OpenClaw via Companion App. Provides secure linkCode pairing, chat API, and SSE streaming for voice-controlled AI conversations t...
---
name: nimo-glasses
description: Connect AI smart glasses to OpenClaw via Companion App. Provides secure linkCode pairing, chat API, and SSE streaming for voice-controlled AI conversations through smart glasses.
---
# Nimo AI Glasses Plugin
Connect AI smart glasses to your OpenClaw Gateway for private, on-device AI voice conversations.
## What it does
- ๐ **Secure pairing** โ 6-digit one-time link code, auto-rotates after each pairing
- ๐ฌ **Chat API** โ `POST /nimo/chat` for text โ AI reply
- ๐ก **SSE streaming** โ real-time token-by-token AI responses via `GET /nimo/events`
- ๐ **Session tokens** โ bearer-token auth with configurable expiry (default 60 days)
- โ๏ธ **Configurable** โ custom system prompt, max response length
## Installation
```bash
openclaw plugins install nimo-glasses
```
Then enable in your config:
```json5
{
plugins: {
entries: {
"nimo-glasses": {
enabled: true,
config: {
maxResponseLength: 300,
systemPrompt: "You are an AI assistant in smart glasses. Be concise, no line breaks."
}
}
}
}
}
```
Restart the gateway:
```bash
openclaw gateway restart
```
## Usage
1. `GET /nimo/health` โ get the current link code
2. `POST /nimo/pair` โ exchange link code for a session token
3. `POST /nimo/chat` โ send a message, get AI reply
4. `GET /nimo/events` โ SSE stream for real-time responses
## Data Flow
```
Smart Glasses โ STT โ Companion App โ OpenClaw Gateway (this plugin) โ AI Agent โ Reply โ TTS โ Glasses
```
Data does NOT pass through any third-party server. Direct connection to your own Gateway.
don't have the plugin yet? install it then click "run inline in claude" again.