Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exoclaw_conversation-0.22.0.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoclaw_conversation-0.22.0-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_conversation-0.22.0.tar.gz.

File metadata

  • Download URL: exoclaw_conversation-0.22.0.tar.gz
  • Upload date:
  • Size: 51.9 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

Hashes for exoclaw_conversation-0.22.0.tar.gz
Algorithm Hash digest
SHA256 fe6d6f86cd499bf960440a613cd497b096fc9b5cc212292cedb7e8111330e761
MD5 641f57c28de34a130d9a33be66d013c1
BLAKE2b-256 26f398e288c003cbafb0518b30bddfe25c9337087d0da639fe417671f96c96c8

See more details on using hashes here.

File details

Details for the file exoclaw_conversation-0.22.0-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_conversation-0.22.0-py3-none-any.whl
  • Upload date:
  • Size: 38.5 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

Hashes for exoclaw_conversation-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9ecd3a70dbc64009192c183dd8c9731efe64e94491d09f4258e479031ab017c
MD5 2efd5133e7bdc09d55190432958a74c5
BLAKE2b-256 b098248cb933373a0b32214244755141998613d82b9bdb50857b1e4563f7e19c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page