Skip to main content

AgentMark Claude Agent SDK Adapter

Python adapter for integrating AgentMark prompts with Claude Agent SDK.

Installation

pip install agentmark-claude-agent-sdk-v0

Usage

from agentmark_claude_agent_sdk_v0 import (
    create_claude_agent_client,
    ClaudeAgentModelRegistry,
    ClaudeAgentAdapterOptions,
)

# Create a client with default settings
client = create_claude_agent_client()

# Or with custom configuration
client = create_claude_agent_client(
    model_registry=ClaudeAgentModelRegistry.create_default(),
    adapter_options=ClaudeAgentAdapterOptions(
        permission_mode="bypassPermissions",
        max_turns=10,
    ),
)

# Load and format a prompt
prompt = await client.load_text_prompt(ast)
adapted = await prompt.format(props={"task": "Help me write code"})

# Execute with Claude Agent SDK
from claude_agent_sdk import query

async for message in query(prompt=adapted.query.prompt, options=...):
    print(message)

Features

  • Full integration with AgentMark prompt framework
  • Model registry for custom model configurations
  • Tool registry for custom tool definitions
  • MCP server bridging for tool execution
  • OpenTelemetry tracing support
  • Webhook handler for HTTP-based prompt execution

License

MIT

Metadata

Release files for agentmark-claude-agent-sdk-v0 0.4.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 agentmark-claude-agent-sdk-v0 0.4.0
File Size Uploaded Provenance Actions
agentmark_claude_agent_sdk_v0-0.4.0.tar.gz 62.9 kB Without provenance Details for agentmark_claude_agent_sdk_v0-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentmark-claude-agent-sdk-v0 0.4.0
File Interpreter ABI Platform Actions
agentmark_claude_agent_sdk_v0-0.4.0-py3-none-any.whl Python 3 none any Details for agentmark_claude_agent_sdk_v0-0.4.0-py3-none-any.whl

Total release size: 95.4 kB

Release files / agentmark_claude_agent_sdk_v0-0.4.0.tar.gz

Download URL agentmark_claude_agent_sdk_v0-0.4.0.tar.gz
Size 62.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f14ba7c5f5f82ebddaaae3bcee7e703df0d569f8f7669243f913aa1e57e6b50e
BLAKE2b-256 checksum
How to use checksums
1c313966f7dec8a01063b6d474abea3aa01e5481a6797aa9ec93ebb110ccff60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / agentmark_claude_agent_sdk_v0-0.4.0-py3-none-any.whl

Download URL agentmark_claude_agent_sdk_v0-0.4.0-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
160fd780b0a35ccd6f6d70fdde72e169b8bc4686fef7fcce55c8c847d4ad57e2
BLAKE2b-256 checksum
How to use checksums
3fd8d843f0d85366e31dbb25bee097ab08b4a824698e77032c4976ea01f99fd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for agentmark-claude-agent-sdk-v0 0.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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