One button. Users bring their own Claude, OpenAI, or local models. Your app gets an OpenAI-compatible endpoint. Zero cost.
One command on macOS or Linux. Runs quietly in the menu bar.
One button. One approval prompt. Done.
Requests flow through their subscription. You pay nothing.
Bring your existing subscriptions and API keys. Plug-my-ai routes them all through one local endpoint.
Works in web apps, Electron apps, native macOS/Linux/Windows apps — anything that can make HTTP requests. Users pair once, then your app talks to their local AI.
// 1. Start pairing — opens user's approval page
const res = await fetch('http://localhost:21110/v1/connect', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
app_name: 'My App',
app_url: 'https://myapp.com'
})
});
const { request_id } = await res.json();
// 2. Poll until user approves
const poll = await fetch(`http://localhost:21110/v1/connect/${request_id}`);
const { status, token } = await poll.json();
// token = "pma_abc123..." → save it
// 3. Use it — standard OpenAI-compatible API
const chat = await fetch('http://localhost:21110/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'claude',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true
})
});
Single binary. No runtime dependencies. Works on macOS and Linux.
Windows support coming soon.
curl -fsSL https://get.plugmy.ai/install.sh | sh
brew install plug-my-ai
coming soon