Claude Target adapter for Waken — routes waken Events to the Claude Agent SDK.
Project description
waken-claude
Claude Target adapter for Waken — "nginx
for AI agents." Routes a waken Event to the
Claude Agent SDK and
returns a Response.
Install
pip install waken-claude
ANTHROPIC_API_KEY must be set in the environment — that's
claude_agent_sdk's own convention, nothing waken-specific.
Usage
from waken import Runtime
from waken_claude import ClaudeAdapter
runtime = Runtime()
runtime.target("claude", ClaudeAdapter())
runtime.run()
waken send claude "Build tic tac toe." --wait
ClaudeAdapter keeps a waken session_id -> SDK session id map internally,
so a multi-turn conversation (same event.session_id across calls) resumes
via the SDK's resume option instead of starting over each turn. Extra
keyword arguments passed to ClaudeAdapter(...) are forwarded to
ClaudeAgentOptions on every call:
runtime.target("claude", ClaudeAdapter(cwd="/repo", allowed_tools=["Read", "Bash"]))
Development
git clone https://github.com/WakenHQ/waken-claude
cd waken-claude
pip install -e /path/to/waken # waken isn't on PyPI yet — install it locally first
pip install -e ".[dev]"
pytest
Tests mock claude_agent_sdk.ClaudeSDKClient entirely — no API key or
network access needed to run the suite.
waken itself is pre-release and its repo is currently private, so
pip install -e ".[dev]" on its own (as CI does) can't resolve the
waken>=0.1.0 dependency yet — this is a known, expected gap until waken
is published to PyPI, not something this package works around.
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 waken_claude-0.1.0.tar.gz.
File metadata
- Download URL: waken_claude-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10811a9db2ef1fd3fb2d32cfec338f64021b9633a4974c5cc17540de2c4fde42
|
|
| MD5 |
71e169c6e490a3692018c4f1eea98c71
|
|
| BLAKE2b-256 |
9f072876f3600181cc547c3cbcdb89f7f2d4df850c2a5c7e3da48fea1f9440ee
|
Provenance
The following attestation bundles were made for waken_claude-0.1.0.tar.gz:
Publisher:
publish.yml on WakenHQ/waken-claude
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waken_claude-0.1.0.tar.gz -
Subject digest:
10811a9db2ef1fd3fb2d32cfec338f64021b9633a4974c5cc17540de2c4fde42 - Sigstore transparency entry: 2082000521
- Sigstore integration time:
-
Permalink:
WakenHQ/waken-claude@7bc7a7621d38d59638eb75a88097416f73977c53 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/WakenHQ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bc7a7621d38d59638eb75a88097416f73977c53 -
Trigger Event:
push
-
Statement type:
File details
Details for the file waken_claude-0.1.0-py3-none-any.whl.
File metadata
- Download URL: waken_claude-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71861f98ce70e67275c8617150ce52141db1457ba1463e11cfd5d239c35626f0
|
|
| MD5 |
a8e4e840a3956b2e97ac9ec44840c94a
|
|
| BLAKE2b-256 |
55730dce93796c2b1eb37e62fdeba1d13e2afecd6ae04580e11bd9d8e48b6d4a
|
Provenance
The following attestation bundles were made for waken_claude-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on WakenHQ/waken-claude
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waken_claude-0.1.0-py3-none-any.whl -
Subject digest:
71861f98ce70e67275c8617150ce52141db1457ba1463e11cfd5d239c35626f0 - Sigstore transparency entry: 2082000549
- Sigstore integration time:
-
Permalink:
WakenHQ/waken-claude@7bc7a7621d38d59638eb75a88097416f73977c53 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/WakenHQ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bc7a7621d38d59638eb75a88097416f73977c53 -
Trigger Event:
push
-
Statement type: