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.13.0.tar.gz (31.1 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.13.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.13.0.tar.gz
  • Upload date:
  • Size: 31.1 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":true}

File hashes

Hashes for exoclaw_conversation-0.13.0.tar.gz
Algorithm Hash digest
SHA256 4e743576c0d898ba1672c71dfbbd59321f893bbea53a717bc6dc00c7001ceeee
MD5 d759c27849bfafecbac36c1d70f6131d
BLAKE2b-256 2e47b5751f629ab73ea38f21bba15bcc20263509225c767e4f61deb944d355e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 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":true}

File hashes

Hashes for exoclaw_conversation-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf58693e90ca92711a1da994ede60ac932f98f88a4d83748f79224e66485b1cb
MD5 3755568fd5869b719d737f4754083187
BLAKE2b-256 29bfc31c91e32a4439e605f6c41270c8096e8895e7ee1ece6a7cbf28abc1054d

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