Skip to main content

waken-claude

CI License: MIT

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

MIT

Metadata

Release files for waken-claude 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waken-claude 0.1.0
File Size Uploaded
waken_claude-0.1.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for waken-claude 0.1.0
File Interpreter ABI Platform
waken_claude-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / waken_claude-0.1.0.tar.gz

Download URL waken_claude-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
10811a9db2ef1fd3fb2d32cfec338f64021b9633a4974c5cc17540de2c4fde42
BLAKE2b-256 checksum
How to use checksums
9f072876f3600181cc547c3cbcdb89f7f2d4df850c2a5c7e3da48fea1f9440ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Release files / waken_claude-0.1.0-py3-none-any.whl

Download URL waken_claude-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71861f98ce70e67275c8617150ce52141db1457ba1463e11cfd5d239c35626f0
BLAKE2b-256 checksum
How to use checksums
55730dce93796c2b1eb37e62fdeba1d13e2afecd6ae04580e11bd9d8e48b6d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page