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.5.0.tar.gz (22.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.5.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.5.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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.5.0.tar.gz
Algorithm Hash digest
SHA256 994e9f7d604f468a4ddfe0b58cc44dd3aeb457f5cbe0820b4a7f78765d02929a
MD5 9ca47cea2b4bd5ac4821eedce8fbe0a6
BLAKE2b-256 42931e97be6f7b64587be373cd1f3237525a10d2943395024e5b8222c04f5090

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9416e1461bdc7241ba6a0692cc6aaf69f49260b25b0e0e955a1161748989afaa
MD5 87b8f026e7f96f3133add4ff52039a51
BLAKE2b-256 1ed1dd13ef3cb1b12d5f08e13c204ce141364f7ecd1040e235fcadfdf724e0f0

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