File-backed conversation implementation for exoclaw, runs on CPython + MicroPython
Project description
exoclaw-conversation
File-backed conversation state manager implementing the exoclaw Conversation protocol.
Install
pip install exoclaw-conversation
Usage
from pathlib import Path
from exoclaw_conversation.conversation import DefaultConversation
conversation = DefaultConversation.create(
workspace=Path("~/.nanobot/workspace").expanduser(),
provider=provider, # any exoclaw LLMProvider
model="anthropic/claude-opus-4-5",
)
messages = await conversation.build_prompt("session-1", "Hello!")
await conversation.record("session-1", new_messages)
DefaultConversation.create() wires the standard file-backed SessionManager, MemoryStore, and ContextBuilder. Each component can also be supplied independently via the constructor for custom setups.
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 exoclaw_conversation-0.20.0.tar.gz.
File metadata
- Download URL: exoclaw_conversation-0.20.0.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
452ae39b53007bc6cb63c208539e7f9d65bfa9281430de352bc62fa934cec589
|
|
| MD5 |
2926523a1a2fea8a1a690d1ab3740760
|
|
| BLAKE2b-256 |
231e0e2fe07d2d8b0d1116c264703b4445d8de659bc7ee77c753a5985ffaecde
|
File details
Details for the file exoclaw_conversation-0.20.0-py3-none-any.whl.
File metadata
- Download URL: exoclaw_conversation-0.20.0-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a17157532b93a536ffe363242c36a5f005affd1656f3a8b7f058362f6c384438
|
|
| MD5 |
bdfc4d5e44dedbcbe9f279ee96a4e113
|
|
| BLAKE2b-256 |
331a37c65d77e8318daa8c29ccc59cf36d3796c63eb9e096525b04a02141010d
|