Local MCP server — detect local AI models, route smart, one interface for everything
Project description
Pentos Bridge
Local-first AI agent bridge with decentralized cloud fallback.
Pentos Bridge detects local AI models (Ollama, llama.cpp, vLLM) and routes inference requests locally when possible, falling back to Strue's decentralized cloud when needed.
Install
pip install pentos-bridge
Quick Start
# Check what's available locally
pentos-bridge status
# Start the bridge (OpenAI-compatible API on localhost:8787)
pentos-bridge start --key "your-strue-api-key"
Features
- Local-first routing — automatically detects Ollama and routes requests to local models
- Cloud fallback — requests for unavailable models route through Strue's decentralized inference network
- OpenAI-compatible API — drop-in replacement at
http://localhost:8787/v1 - MCP server — works with Claude Desktop and other MCP clients
- Memory integration — optional EverMemOS support for persistent agent memory
Usage
As an OpenAI-compatible API
pentos-bridge start --key "sk_..."
curl http://localhost:8787/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gemma3:4b",
"messages": [{"role": "user", "content": "Hello!"}]
}'
As an MCP server (Claude Desktop)
pentos-bridge mcp
Requirements
- Python 3.10+
- Ollama (optional, for local inference)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pentos_bridge-0.1.0.tar.gz.
File metadata
- Download URL: pentos_bridge-0.1.0.tar.gz
- Upload date:
- Size: 42.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c58e05c094f0ab69021bd4894bf138d1300194a4be528101d4b9d2e184e8c79
|
|
| MD5 |
fb5b0e7b3801c9a1ccc1760561af6109
|
|
| BLAKE2b-256 |
5cb814afe50735e9bc228e9b475b1c2bc029e843b3ee2e1f1caa910f1d35c374
|
File details
Details for the file pentos_bridge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pentos_bridge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dbddf56abb35db541efed7925c8a5c26ef2f9c663ff1ea45417a2e37a9635f6
|
|
| MD5 |
bed13dec476d37b41b54600194b53537
|
|
| BLAKE2b-256 |
faec6991f5c152c470a6173628ad0627d22b9fbf6f7410641b6059524f57a9fd
|