No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keble_agentic_chat-3.45.1.tar.gz.
File metadata
- Download URL: keble_agentic_chat-3.45.1.tar.gz
- Upload date:
- Size: 659.3 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d51e9ad24dd3f61d11e2a6f0f134e6286366c360ca0bfec64bd2fec4cefbdb94
|
|
| MD5 |
868a7abb4c092cb5cc041775959f0295
|
|
| BLAKE2b-256 |
9e1fd59967363aa8b0ef59220b47d17c0b33f27c360dbda57d76241131f49919
|
File details
Details for the file keble_agentic_chat-3.45.1-py3-none-any.whl.
File metadata
- Download URL: keble_agentic_chat-3.45.1-py3-none-any.whl
- Upload date:
- Size: 176.4 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4446ce9ec57ddd4e27d432e272c9c828dd064906ffa32e76498320d950a5d3e8
|
|
| MD5 |
26add69b46e861adccfdc36b82f215d8
|
|
| BLAKE2b-256 |
92eec1ba2dc187f833a5a803b7fa94d204f2adde3bcef0ccb8b33a6fef543bfa
|