eager-tools-anthropic
Anthropic adapter for eager tool calling — wraps anthropic.AsyncMessageStream and dispatches each tool the instant its block seals, overlapping tool execution with ongoing LLM generation.
For the mechanism and runtime contract, see the top-level
METHOD.md.
Status
Alpha / scaffold. Public API shape is locked; implementation bodies arrive in Move 3 (CloudThinker port). See NEXT.md.
Install (once published)
pip install eager-tools-anthropic
Usage
import anthropic
from eager_tools_anthropic import AnthropicEagerStream
client = anthropic.AsyncAnthropic()
async with client.messages.stream(
model="claude-opus-4-6",
tools=[...],
messages=[...],
) as source:
runner = AnthropicEagerStream(source, tools=my_tools)
async for event in runner.events():
print(event.kind, event.tool_call)
async for call, result in runner.results():
print(call.name, "→", result)
Supported SDK versions
anthropic>=0.39(Messages streaming API).
License
MIT. See top-level LICENSE.
Metadata
Release files for eager-tools-anthropic 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eager_tools_anthropic-0.3.0.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eager_tools_anthropic-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / eager_tools_anthropic-0.3.0.tar.gz
| Download URL | eager_tools_anthropic-0.3.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a87e0bb7acbf1287570b1e6924d29c1a3a3557c3f4cda8b261f81d807f70f141
|
|
BLAKE2b-256 checksum How to use checksums |
45dca7602f71cb795b6caaeaea34fdff9b33835b3434701d95c7ca9e5bb9567d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.17
|
Release files / eager_tools_anthropic-0.3.0-py3-none-any.whl
| Download URL | eager_tools_anthropic-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f0b65c2ee4bbf641dd43e5f91f5ed5b6320fa4f6d2eed8cf35e0fc669353a47
|
|
BLAKE2b-256 checksum How to use checksums |
ee31c91570b55b4bf74586e680e8195a9d0a17427ce8aeb9dc8be702fd715ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.17
|