{"id":45644,"library":"oc-piloci","title":"oc-piloci","description":"A self-hosted multi-user LLM memory service designed for Raspberry Pi 5. Implements MCP (Model Context Protocol) for persistent memory management across sessions. Supports multiple backends (SQLite, PostgreSQL) and provides REST and MCP APIs. Current version 0.3.120, actively developed.","status":"active","version":"0.3.120","language":"python","source_language":"en","source_url":"https://github.com/oc-piloci/oc-piloci","tags":["llm","memory","mcp","raspberry-pi","rag"],"install":[{"cmd":"pip install oc-piloci","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Memory embedding computations","package":"numpy","optional":true},{"reason":"PostgreSQL backend support","package":"psycopg2-binary","optional":true}],"imports":[{"wrong":"from oc_piloci import OCPilociClient","symbol":"OCPilociClient","correct":"from piloci import OCPilociClient"}],"quickstart":{"code":"import os\nfrom oc_piloci import OCPilociClient, MemoryConfig\n\n# Use environment variable for API key\napi_key = os.environ.get(\"PILOCI_API_KEY\", \"your-api-key\")\nconfig = MemoryConfig(backend=\"sqlite\", db_path=\":memory:\")\nclient = OCPilociClient(api_key=api_key, config=config)\n\n# Store a memory\nclient.store(\"user:123\", \"Bot: Hello!\", \"What did the bot say?\")\n\n# Retrieve memories\nmemories = client.retrieve(\"user:123\", \"bot greeting\")\nprint(memories)","lang":"python","description":"Initialize client with an in-memory SQLite backend, store and retrieve memories."},"warnings":[{"fix":"Upgrade to Python 3.11+.","message":"Python 3.11 minimum; will fail with ImportError on 3.10 or lower.","severity":"breaking","affected_versions":"<=3.10"},{"fix":"Always provide a MemoryConfig with explicit backend and settings.","message":"Client must be configured with a MemoryConfig before store/retrieve; default config may use PostgreSQL requiring external setup.","severity":"gotcha","affected_versions":"all"},{"fix":"Use keyword argument 'namespace' instead of 'user' when upgrading.","message":"The 'user' parameter in store() is being renamed to 'namespace' in v0.4.0.","severity":"deprecated","affected_versions":"0.3.x"}],"env_vars":null,"search_vec":"'0.3.120':43 '5':18 'across':28 'activ':44 'api':40 'backend':32 'context':22 'current':41 'design':14 'develop':45 'host':7 'implement':19 'llm':11,46 'manag':27 'mcp':20,39,48 'memori':12,26,47 'model':21 'multi':9 'multi-us':8 'multipl':31 'oc':2 'oc-piloci':1 'persist':25 'pi':17,51 'piloci':3 'postgresql':34 'protocol':23 'provid':36 'rag':52 'raspberri':16,50 'raspberry-pi':49 'rest':37 'self':6 'self-host':5 'servic':13 'session':29 'sqlite':33 'support':30 'user':10 'version':42","created_at":"2026-06-07T12:56:01.147658+00:00","updated_at":"2026-06-07T12:56:01.147658+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'OCPilociClient' from 'piloci' (/tmp/tmpyjkuicnb/venv/lib/python3.12/site-packages/piloci/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}