keble-agentic-chat
keble-agentic-chat is the host-neutral chat runtime package for Keble
Pydantic-AI and LangGraph based chat flows. It owns durable chat history,
timeline schemas, client/server action rows, background subagent sessions,
live socket frames, tool-provider composition, and LangGraph turn execution.
Verified State
Checked on 2026-06-30 against pyproject.toml, keble_agentic_chat/,
package exports, and the current test layout.
- Package:
keble-agentic-chat 3.45.1 - Python:
>=3.13,<3.14 - Critical deps:
keble-helpers,keble-db,keble-exceptions,pydantic-ai-slim,langgraph,langgraph-checkpoint,langgraph-checkpoint-mongodb,tenacity - Source roots:
runtime/,schemas/,store/,crud/,subagents/,adapters/ - Public exports:
AgenticChat,LangGraphruntime helpers, action and live-frame schemas, subagent/session contracts, and generic browser client-tool primitives.
Runtime Contract
LangGraphChatRuntimeis the turn engine. Pydantic-AI executes provider calls; LangGraph owns control flow, interrupts, resume, and checkpointing.AgenticChatis a thin per-scope holder for durable storage and run control. It is not a feature-specific orchestration layer.- Timeline entries are the public read contract. Raw provider messages are private resume state.
- The LangGraph checkpoint
pendingchannel is the deferred-batch source of truth.ChatPendingResumeonly carries origin metadata for host dependency rehydration. - Hosts compose package-owned
GeneralChatToolProvider,ClientActionChatToolProvider, and subagent delegation providers instead of reimplementing tool registration.
Testing
Default tests are offline and must exclude live, slow, eval, local-stack, DB-stack, and container layers.
uv sync --group test
uv run pytest -m "not live and not slow and not eval and not local_stack and not db_stack and not container"
uv run npx --yes pyright .
Integration and live tests must use the marker and env guards declared in
pyproject.toml.
Package-owned test helpers live under keble_agentic_chat.testing; do not
recreate root-level tests/config.py, root test packages, or cross-test imports
through tests.*.
Mongo/Redis/Qdrant integration settings load explicit process env first, then
the umbrella keble.backend/.env through keble_db.testing.resolve_test_env.
Live Azure model lists map from backend AZURE_PROVIDER_ENDPOINTS,
AZURE_PROVIDER_API_TOKENS, and
AZURE_OPENAI_CHAT_MODELS_DEPLOYMENTS when package-local list env vars are
absent. Set KEBLE_BACKEND_ENV_FILE=/path/to/.env from unusual worktree or CI
layouts, and keep package-owned test database/collection names isolated.
Change Logs
Historical release notes and long AI change history live under logs/.
Keep this README focused on the active contract only.
Side Effect If Changes
- Backend chat rooms, guided bootstrap, positioning rooms, and any chat
client-tool flow depend on
pending_resumestaying an origin-metadata bridge rather than a second authorization gate. - Frontend action rendering depends on the typed client-tool payload/result
schemas staying aligned with
keble-core. - Storage or timeline schema changes require backend, frontend, and tests to move together.
Metadata
Release files for keble-agentic-chat 3.45.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| keble_agentic_chat-3.45.1.tar.gz | 659.3 kB | Without provenance | Details for keble_agentic_chat-3.45.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keble_agentic_chat-3.45.1-py3-none-any.whl | Python 3 | none | any | Details for keble_agentic_chat-3.45.1-py3-none-any.whl |
Total release size: 835.7 kB
Release files / keble_agentic_chat-3.45.1.tar.gz
| Download URL | keble_agentic_chat-3.45.1.tar.gz |
|---|---|
| Size | 659.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d51e9ad24dd3f61d11e2a6f0f134e6286366c360ca0bfec64bd2fec4cefbdb94
|
|
BLAKE2b-256 checksum How to use checksums |
9e1fd59967363aa8b0ef59220b47d17c0b33f27c360dbda57d76241131f49919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Release files / keble_agentic_chat-3.45.1-py3-none-any.whl
| Download URL | keble_agentic_chat-3.45.1-py3-none-any.whl |
|---|---|
| Size | 176.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4446ce9ec57ddd4e27d432e272c9c828dd064906ffa32e76498320d950a5d3e8
|
|
BLAKE2b-256 checksum How to use checksums |
92eec1ba2dc187f833a5a803b7fa94d204f2adde3bcef0ccb8b33a6fef543bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Security for keble-agentic-chat 3.45.1
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.