LLM integration layer for kore-mind. Runtime-agnostic cognitive bridge.
Project description
kore-bridge
LLM integration layer for kore-mind. Runtime-agnostic cognitive bridge.
Install
pip install kore-bridge # core (zero deps beyond kore-mind)
pip install kore-bridge[openai] # + OpenAI
pip install kore-bridge[anthropic] # + Anthropic
pip install kore-bridge[all] # everything
Quick start (Ollama — 100% local, zero API keys)
ollama pull llama3.2
from kore_mind import Mind
from kore_bridge import Bridge, OllamaProvider
mind = Mind("agent.db")
llm = OllamaProvider(model="llama3.2") # local, free, private
bridge = Bridge(mind=mind, llm=llm)
# Think with context (auto-remembers)
response = bridge.think("Help me with my proof", user="carlos")
# Observe something
bridge.observe("User prefers concise answers")
# Reflect: LLM generates emergent identity from memories
identity = bridge.reflect()
print(identity.summary)
Providers
# Ollama (local, recommended for OSS)
from kore_bridge import OllamaProvider
llm = OllamaProvider(model="llama3.2")
# OpenAI
from kore_bridge.providers import OpenAIProvider
llm = OpenAIProvider(model="gpt-4o-mini")
# Anthropic
from kore_bridge.providers import AnthropicProvider
llm = AnthropicProvider(model="claude-sonnet-4-5-20250929")
# Any callable
from kore_bridge import CallableLLM
llm = CallableLLM(lambda msgs: my_custom_api(msgs))
Demo
python examples/demo_llm.py # uses llama3.2
python examples/demo_llm.py mistral # uses mistral
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kore_bridge-0.1.0.tar.gz
(8.3 kB
view details)
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 kore_bridge-0.1.0.tar.gz.
File metadata
- Download URL: kore_bridge-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9811fde0f184668f3625fdbc537b56e2f58dda8379401883d9ddc5249e5b67a
|
|
| MD5 |
c91aea5ba098e67aeef72397de12703e
|
|
| BLAKE2b-256 |
72f92713aa3352386a6a40f7998f5a8cfe931ea474f4723752d987b21b7ada2e
|
File details
Details for the file kore_bridge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kore_bridge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0110420efb60a45671f4641fa6a8f2979738995474ee2046fdf8aa17a0c2667a
|
|
| MD5 |
045fb6cb346117d41b7161de1e072146
|
|
| BLAKE2b-256 |
f4cf1304d152921702c56343d2bd26784a08ca9f0e37c076641bf5d4989cabb9
|