Metadata-Version: 2.5
Name: kaibo
Version: 0.1.0
Summary: Python SDK for kaibo: memory for AI agents. remember, recall, explain, forget.
Project-URL: Homepage, https://github.com/egeuysall/kaibo
Project-URL: Repository, https://github.com/egeuysall/kaibo
Project-URL: Issues, https://github.com/egeuysall/kaibo/issues
License: MIT
Keywords: agents,ai,llm,mcp,memory
Requires-Python: >=3.10
Requires-Dist: httpx<1,>=0.27
Requires-Dist: pydantic<3,>=2.7
Description-Content-Type: text/markdown

# kaibo (Python)

Python client for kaibo, memory for AI agents. Same four operations as the TypeScript SDK, the CLI and the MCP server.

```python
import os
from kaibo import Kaibo

kaibo = Kaibo(api_key=os.environ["KAIBO_KEY"])
kaibo.remember(text="Move the release target from July 13 to July 17.", wait=True)

pack = kaibo.recall("release target")
print(pack.answer if pack.found else f"no answer: {pack.reason}")  # do not guess
print(pack.sources)  # the events it came from
```

```python
dry = kaibo.imports.create("mem0", open("memories.json").read(), dry_run=True)  # report, writes nothing
for record in kaibo.exports.stream():  # events and memories; raises if the export is cut off
    ...
key = kaibo.keys.create("ci", ["read"])  # needs an admin key; the secret is in key.key, once
```

`AsyncKaibo` has the same methods as coroutines. Not published yet; install from this folder with `uv pip install -e .`.
The models are checked against the generated OpenAPI document (`openapi.json`) in `tests/`.
