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

Usage

from agentmark_claude_agent_sdk 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 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 agentmark-claude-agent-sdk 0.1.0
File Size Uploaded Provenance Actions
agentmark_claude_agent_sdk-0.1.0.tar.gz 41.1 kB Without provenance Details for agentmark_claude_agent_sdk-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 72.0 kB

Release files / agentmark_claude_agent_sdk-0.1.0.tar.gz

Download URL agentmark_claude_agent_sdk-0.1.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
472cf2bcb86c451090f3cad2443f6047cc9c6a33bd6b6a2af3ced2153fd1689f
BLAKE2b-256 checksum
How to use checksums
7bdd1d74d38cd23993c77ca6019090428406e65ab17d50cae3d880225f1a2265
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-0.1.0-py3-none-any.whl

Download URL agentmark_claude_agent_sdk-0.1.0-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c44f548684260ff4315969b00be324ced34e0bdea963285949a669499f27ba00
BLAKE2b-256 checksum
How to use checksums
bab9506de780f46fbb68542c7c331ed4310b426fd9ddfb415aa553eed8063add
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 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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