Provider-agnostic core for eager tool calling — seal detector + async executor pool.
Project description
eager-tools-core
Provider-agnostic core for eager tool calling — dispatches each tool the moment its block finishes streaming, overlapping tool execution with LLM generation on the wall clock.
For the mechanism, runtime contract, and edge cases, see the top-level
METHOD.md.For execution plan + OSS strategy, see
ROADMAP.mdandNEXT.md.
Status
Alpha / scaffold. Public API shape is locked; implementation bodies arrive in Move 3 (CloudThinker port). See NEXT.md for the sequence.
Install (once published)
pip install eager-tools-core
Public API
from eager_tools import (
SealDetector, # streaming chunk → SealEvent state machine
ExecutorPool, # async dispatcher for sealed tool calls
ToolCall, SealEvent, # data carriers
Tool, # protocol every user tool implements
ObservabilityHook, # opt-in trace emitter (OTel / Langfuse / LangSmith)
NonIdempotentToolError,
)
Adapter contract
Each provider-specific adapter (anthropic, openai, langgraph, claude-agent) consumes SealDetector + ExecutorPool and emits normalized chunks into the detector. Adapters are separate packages — see packages/eager-tools-<provider>/.
License
MIT. See top-level LICENSE.
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 eager_tools_core-0.3.0.tar.gz.
File metadata
- Download URL: eager_tools_core-0.3.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8992b9c597c120f9ca719d1e76a4eb80410db2b2a3040e2a398d990d8be24ac5
|
|
| MD5 |
f4affdcfaab98fe979875653c4230066
|
|
| BLAKE2b-256 |
46094b22734d1910d2dbb976d666c95f266b22f703db50a852453f3e95008f30
|
File details
Details for the file eager_tools_core-0.3.0-py3-none-any.whl.
File metadata
- Download URL: eager_tools_core-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee1f53cdb45aafb14a7774b0d7a36c100024823522776170601aca13f73f21d
|
|
| MD5 |
96fd5c11e3108637370882d92ee4ed3f
|
|
| BLAKE2b-256 |
0478a102b83d0d9affb3add8411d8c8cb0b4e1770bc316fcf02f41e5eda838d1
|