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.18.0.tar.gz (43.3 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.18.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.18.0.tar.gz
  • Upload date:
  • Size: 43.3 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.18.0.tar.gz
Algorithm Hash digest
SHA256 839e335057a34e983fb48876989632ec7cdc3de82fa07fcc615a55303b0d275c
MD5 adea6bda24492fc133a27df798d57ec1
BLAKE2b-256 2d50d0392e332c6091afb23e7cdcbc32c040f23090a7a99ca0ddebbe476ec189

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_conversation-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 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.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06f816290a5f54fa4fd94ef212b0302bd3199d76b8d96e7caae69918415fa606
MD5 668f5c4d85958a7b27660613c9a7906b
BLAKE2b-256 8704a97e3821dcad79d9f4db86f98092b5182aacf4f87890ec7b4a2e1a392310

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