Skip to main content

chat-agent

Domain-agnostic Chat Agent with Tool-Use loop — platform package per ADR-034 §3.

Core Components

  • ChatAgent: Core Tool-Use loop (LLM → tool calls → execute → LLM)
  • DomainToolkit: ABC for app-specific tool collections
  • SessionBackend: Protocol for pluggable session storage (InMemory, Redis)
  • ToolkitRegistry: Global registry for toolkit discovery

Installation

pip install -e ".[dev]"

Usage

from chat_agent import ChatAgent, InMemorySessionBackend

agent = ChatAgent(
    toolkit=MyToolkit(),
    completion=my_llm_client,
    session_backend=InMemorySessionBackend(),
    system_prompt="You are a helpful assistant.",
)

response = await agent.chat(
    session_id="user-123",
    user_message="How many rooms are on floor 2?",
    tenant_id="tenant-abc",
)

Metadata

Release files for iil-chat-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iil-chat-agent 0.1.0
File Size Uploaded Provenance
iil_chat_agent-0.1.0.tar.gz 9.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iil-chat-agent 0.1.0
File Interpreter ABI Platform
iil_chat_agent-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / iil_chat_agent-0.1.0.tar.gz

Download URL iil_chat_agent-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f9e4fc77d27450823c8fee6bbd6b3bee09b67b997f47e4239007914bd115f65
BLAKE2b-256 checksum
How to use checksums
b446ee4943c8cbc823ab42b9c5b868fd372eded42110a6d8d31be879db7a473a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / iil_chat_agent-0.1.0-py3-none-any.whl

Download URL iil_chat_agent-0.1.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26ec76e10f2b011a6415d60631d3793864a503d43e69d1eb1ff467566fc33462
BLAKE2b-256 checksum
How to use checksums
2e46074bf44530937505b20e78d697f793f4df460db057269ab1dbf61a51c5bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for iil-chat-agent 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page