Skip to main content

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.md and NEXT.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eager_tools_core-0.3.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eager_tools_core-0.3.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

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

Hashes for eager_tools_core-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8992b9c597c120f9ca719d1e76a4eb80410db2b2a3040e2a398d990d8be24ac5
MD5 f4affdcfaab98fe979875653c4230066
BLAKE2b-256 46094b22734d1910d2dbb976d666c95f266b22f703db50a852453f3e95008f30

See more details on using hashes here.

File details

Details for the file eager_tools_core-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eager_tools_core-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee1f53cdb45aafb14a7774b0d7a36c100024823522776170601aca13f73f21d
MD5 96fd5c11e3108637370882d92ee4ed3f
BLAKE2b-256 0478a102b83d0d9affb3add8411d8c8cb0b4e1770bc316fcf02f41e5eda838d1

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