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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoServidor MCPAcerca deCómo clasificamosPrensa
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
anthropics avatar

anthropics/claude-agent-sdk-python

0
View on GitHub↗
4,885 estrellas·646 forks·Python·mit·7 vistas

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.

Historial de estrellas

Gráfico del historial de estrellas de anthropics/claude-agent-sdk-pythonGráfico del historial de estrellas de anthropics/claude-agent-sdk-python

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Claude Agent Sdk Python

Proyectos open-source similares, clasificados según cuántas características comparten con Claude Agent Sdk Python.
  • atmosphere/atmosphereAvatar de Atmosphere

    Atmosphere/atmosphere

    3,780Ver en 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
    Ver en GitHub↗3,780
  • mervinpraison/praisonaiAvatar de MervinPraison

    MervinPraison/PraisonAI

    5,592Ver en 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
    Ver en GitHub↗5,592
  • livekit/agentsAvatar de livekit

    livekit/agents

    9,379Ver en 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
    Ver en GitHub↗9,379
  • letta-ai/lettaAvatar de letta-ai

    letta-ai/letta

    21,168Ver en 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
    Ver en GitHub↗21,168
Ver las 30 alternativas a Claude Agent Sdk Python→

Preguntas frecuentes

¿Qué hace 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.

¿Cuáles son las características principales de anthropics/claude-agent-sdk-python?

Las características principales de anthropics/claude-agent-sdk-python son: 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.

¿Qué alternativas de código abierto existen para anthropics/claude-agent-sdk-python?

Las alternativas de código abierto para anthropics/claude-agent-sdk-python incluyen: 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…