Skip to main content

File-backed conversation implementation for exoclaw

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.7.1.tar.gz (23.8 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.7.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.7.1.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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":null}

File hashes

Hashes for exoclaw_conversation-0.7.1.tar.gz
Algorithm Hash digest
SHA256 a540b8434ae114f419eef0d00fb69f49dcc299a88dc44eb34d8701afb484cafe
MD5 35fd049076640c2834115d6ddabf6501
BLAKE2b-256 e4c2ac0a31894271d3497f09de961676cd1e2febe3f5dd4a34d089d493eb4e55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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":null}

File hashes

Hashes for exoclaw_conversation-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbe7f1abfe4c6f6ac1c4e25b62b86ec6e80dc056c4f9f7aa434a5a9a0646aa75
MD5 79ba6d592320bf62e94ffef42ed3660f
BLAKE2b-256 f8d0b8b17407dec0c9f216546606343d311855956da6cb4c46e0d14eea53650a

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