awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
anthropics avatar

anthropics/claude-agent-sdk-python

0
View on GitHub↗
4,885 stele·646 fork-uri·Python·mit·7 vizualizări

Claude Agent Sdk Python

Claude Agent SDK is a Python library from Anthropic for building AI agents that use Claude’s tool‑calling, streaming, and session‑management capabilities. It provides a structured framework for intercepting and logging every tool call an agent makes, managing conversation sessions across multiple turns, and controlling which tools the agent is allowed to invoke through configurable permission rules.

The SDK distinguishes itself with middleware‑driven tool interception that lets developers block, modify, or require approval for tool calls before or after execution. A permission policy engine evaluates each tool request against allowlists, deny patterns, and baseline permission modes—automatically approving, denying, or delegating decisions. Session lifecycle hooks fire custom code at start, stop, or specific conversation events, giving fine‑grained control over state and cleanup.

Beyond governance, the SDK supports real‑time streaming of agent responses, both for prompts and tool results, enabling incremental processing before a full reply completes. Developers can define custom tools with typed JSON schemas that the agent can discover and invoke, and run interactive sessions with custom extensions that include lifecycle hooks. An in‑process MCP server and a lightweight local server allow external clients to discover and call tools from the same process.

Features

  • Claude Integration Frameworks - Delivers a comprehensive Python SDK for building Claude-based agents with tool governance, streaming, and lifecycle management.
  • Typed JSON Schemas - Provides typed JSON schema definitions for custom tools that agents automatically discover and invoke.
  • Tool Access Controls - Controls agent tool access through allowlists and permission modes for automatic approval or denial.
  • Agent Response Streamers - Streams agent responses incrementally for real-time processing.
  • Agent Governance - Intercepts, logs, and modifies tool calls to enforce governance policies.
  • Cross-Session Conversation Memories - Persists context across exchanges to continue conversations with memory.
  • In-Process MCP Server Implementations - Runs an in-process MCP server to expose tools to external clients.
  • Agent Response Streams - Ships streaming agent response capabilities for real-time display and progressive processing of prompts and results.
  • Tool Call Interception Middleware - Passes tool calls through a middleware chain that can block, modify, or approve execution.
  • Agent Workflow Interception - Middleware hooks intercept and modify AI agent tool calls before or after execution.
  • Streaming Response Architectures - Streams agent response tokens incrementally before full reply completes.
  • Tool Permission Engines - Evaluates tool access against allowlists, deny patterns, and permission modes.
  • Allowlist and Deny Rule Middleware - Implements middleware-based tool permission control with allowlists, deny patterns, and approval delegation.
  • Agent Session Lifecycle Hooks - Ships session lifecycle hooks that fire custom code at agent session start, stop, and conversation events.
  • Agent Tool Interception - Ships a library for intercepting and gating AI agent tool calls with pluggable middleware chains.
  • Lifecycle Hooks - Attaches lifecycle hooks to register callbacks at specific conversation phases.
  • MCP Tool Call Loggers - Logs all tool call activity via MCP for auditing, debugging, and compliance.
  • Custom Extension Integrations - Runs interactive sessions with custom extensions in-process, supporting lifecycle hooks.
  • Tool Allow and Deny Patterns - Defines pattern-based allow and deny rules that automatically approve or block specific agent tool requests.
  • Custom Tool Definitions - Defines custom tools as functions with typed schemas and descriptions for callable use.
  • Tool Schema Definitions - Defines custom tools using JSON Schema for typed parameters and descriptions.
  • One-Shot Query Execution - Sends one-off queries to new sessions without maintaining state.
  • Real-Time Text Streaming - Streams messages in real time for incremental input and output.
  • Incremental Response Clients - Provides a client that streams incremental agent responses and tool results for real-time consumption.
  • Agent Permission Modes - Sets permission modes that select baseline approval policies for all agent tool requests.
  • Infrastructure and SDKs - Official SDK for building agents with path management and integration.

Istoric stele

Graficul istoricului de stele pentru anthropics/claude-agent-sdk-pythonGraficul istoricului de stele pentru anthropics/claude-agent-sdk-python

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Claude Agent Sdk Python

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Claude Agent Sdk Python.
  • atmosphere/atmosphereAvatar Atmosphere

    Atmosphere/atmosphere

    3,780Vezi pe GitHub↗

    Atmosphere is a Java-based framework for building and coordinating AI agents. It provides a real-time transport layer for streaming data via WebSockets, SSE, gRPC, and WebTransport, alongside a multi-agent orchestration framework for managing agent fleets through sequential, parallel, and graph-based execution workflows. The project features a durable workflow engine that persists agent state as snapshots, allowing long-running tasks to survive system restarts and incorporate human-in-the-loop approvals. It also implements Model Context Protocol servers to expose tools, resources, and prompt

    Javaacpagentic-aiembabel
    Vezi pe GitHub↗3,780
  • mervinpraison/praisonaiAvatar MervinPraison

    MervinPraison/PraisonAI

    5,592Vezi pe GitHub↗

    PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and execution of complex workflows. It functions as a multi-agent orchestration framework, a workflow builder, and a Model Context Protocol server, while also providing retrieval-augmented generation through vector knowledge bases. Agents can interact via CLI, web, or standardized protocols with sandboxed code execution. The platform distinguishes itself with a rich set of agent communication protocols, including A2A, REST, WebSocket, voice and telephony integration, and MCP, allo

    Pythonagentsaiai-agent-framework
    Vezi pe GitHub↗5,592
  • livekit/agentsAvatar livekit

    livekit/agents

    9,379Vezi pe GitHub↗

    This project is a framework for developing multimodal AI agents that function as programmable participants in real-time communication rooms. It enables the construction of agents that can see, hear, and speak by integrating speech-to-text, large language models, and text-to-speech pipelines to facilitate low-latency, natural conversations. The system is distinguished by its advanced orchestration of real-time media and conversational flow, including support for full-duplex speech, preemptive response generation, and sophisticated interruption management. It further differentiates itself throu

    Pythonagentsaiopenai
    Vezi pe GitHub↗9,379
  • letta-ai/lettaAvatar letta-ai

    letta-ai/letta

    21,168Vezi pe GitHub↗

    Letta is a framework for building, deploying, and managing autonomous AI agents that maintain persistent state across long-term interactions. It provides a comprehensive suite of primitives for defining agents with configurable personas, modular memory blocks, and tool-use capabilities, enabling them to retain user preferences and conversation history over extended sessions. The platform distinguishes itself through its advanced memory management and orchestration capabilities. It allows agents to autonomously update their own memory, perform retrieval-augmented generation, and coordinate com

    Pythonaiai-agentsllm
    Vezi pe GitHub↗21,168
Vezi toate cele 30 alternative pentru Claude Agent Sdk Python→

Întrebări frecvente

Ce face anthropics/claude-agent-sdk-python?

Claude Agent SDK is a Python library from Anthropic for building AI agents that use Claude’s tool‑calling, streaming, and session‑management capabilities. It provides a structured framework for intercepting and logging every tool call an agent makes, managing conversation sessions across multiple turns, and controlling which tools the agent is allowed to invoke through configurable permission rules.

Care sunt principalele funcționalități ale anthropics/claude-agent-sdk-python?

Principalele funcționalități ale anthropics/claude-agent-sdk-python sunt: Claude Integration Frameworks, Typed JSON Schemas, Tool Access Controls, Agent Response Streamers, Agent Governance, Cross-Session Conversation Memories, In-Process MCP Server Implementations, Agent Response Streams.

Care sunt câteva alternative open-source pentru anthropics/claude-agent-sdk-python?

Alternativele open-source pentru anthropics/claude-agent-sdk-python includ: atmosphere/atmosphere — Atmosphere is a Java-based framework for building and coordinating AI agents. It provides a real-time transport layer… mervinpraison/praisonai — PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and… livekit/agents — This project is a framework for developing multimodal AI agents that function as programmable participants in… letta-ai/letta — Letta is a framework for building, deploying, and managing autonomous AI agents that maintain persistent state across… disler/claude-code-hooks-mastery — This project is an extension framework and orchestration system for Claude Code that uses lifecycle hooks to intercept… strands-agents/sdk-python — This is an open-source Python SDK for building and orchestrating production-grade AI agents. It provides a unified…