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.2.0.tar.gz
(12.0 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.2.0.tar.gz.
File metadata
- Download URL: kore_bridge-0.2.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e1d197a7c34552f90fe0993fbb89d6f41f18d82906a189c7f6c2093a87aad81
|
|
| MD5 |
64b60e5e8373fc0ef740a94a238c880f
|
|
| BLAKE2b-256 |
47f441b727a2ced08924ce56ef9a3ba620575cdf354ad256c8be6054d19523df
|
File details
Details for the file kore_bridge-0.2.0-py3-none-any.whl.
File metadata
- Download URL: kore_bridge-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.9 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 |
4c661243ea70a761522d32c372b65a65b8a48108602ddb4dabff521940bc7b3b
|
|
| MD5 |
29accbbbd39b2033600e99990e449e6a
|
|
| BLAKE2b-256 |
3b368a09b65b54edbadfd8e9081982ab6df9457a193f534516f7ccd1f982ecf4
|