awesome-repositories.com
Blog
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
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
anthropics avatar

anthropics/anthropic-sdk-python

0
View on GitHub↗
2,795 stele·459 fork-uri·Python·mit·8 vizualizări

Anthropic Sdk Python

This is a Python SDK for interacting with large language models via API. It serves as a client library to generate text, process messages, and manage conversational states, while providing a specialized interface for connecting to models hosted across different cloud infrastructure providers.

The SDK includes a tool-calling framework that maps Python functions to JSON schemas, allowing models to execute external tools. It also features a built-in token counting utility to estimate input size before transmission and a server-sent events client for receiving model tokens in real time.

The library covers a broad range of capabilities, including asynchronous batch processing for large-scale prompt handling, automated pagination of API results, and file upload management. It also implements traffic management through automatic request retries with exponential backoff to handle transient network errors and rate limits.

Features

  • LLM Application Development - Provides standardized interfaces for interacting with Claude models to build generative AI applications in Python.
  • Text Generation APIs - Provides the primary interface for interacting with language models to generate text, chat, and code completions.
  • AI Agent Tool Integrations - Interfaces that connect language models to external Python functions for functional task execution.
  • Cloud Model Connectivity - Provides specialized authentication and endpoint handling for connecting to machine learning models across different cloud providers.
  • Cloud Model Connectors - Acts as an interface for connecting to machine learning models hosted across different cloud infrastructure providers.
  • Custom Provider Implementations - Provides specialized client implementations to support different cloud hosting environments and authentication methods.
  • API Client SDKs - Serves as a comprehensive Python client library for interacting with large language models via API.
  • Provider-Specific Configurations - Specializes base URLs and authentication logic to support various cloud hosting environments for the same model.
  • Tool-Calling Frameworks - Provides a framework for mapping Python functions to JSON schemas, enabling models to execute external tools.
  • Tool Calling Integration Frameworks - Provides a framework to map Python functions to JSON schemas, enabling models to execute external tools through structured output.
  • Tool-Use Integrations - Connects AI models to external Python functions, enabling the model to perform actions and process data.
  • Model Provider Implementations - Offers specialized interfaces for connecting to language models hosted across different cloud infrastructure providers.
  • Chat Message Sending APIs - Provides a programmatic API for sending messages within conversational sessions to a language model.
  • Token Streaming - Implements real-time delivery of AI model generated tokens using server-sent events.
  • Tool Schema Mappings - Translates Python function signatures into JSON schemas to define tool capabilities for the language model.
  • Decorator-Based Tool Registrations - Allows Python functions to be registered as tools via decorators, enabling the model to execute external capabilities.
  • Asynchronous Batch Processing - Submits arrays of requests for asynchronous background processing and retrieves aggregated results.
  • Batch Processors - Provides a pipeline for submitting large arrays of requests for asynchronous background processing against model APIs.
  • Enterprise AI Infrastructure - Implements production-grade infrastructure for managing model connections with built-in resilience and error handling.
  • Pre-Request Token Analysis - Analyzes text input using a local tokenizer to estimate tokens before sending data to the server.
  • High Volume AI Processing - Handles high volumes of model requests through asynchronous batch processing and automated pagination.
  • LLM Token Counters - Provides utilities for counting tokens in message payloads to estimate input usage and budget prompt size.
  • Token Context Limiting - Manages input token counts and file uploads to ensure prompts stay within model context window limits.
  • Text Tokenization Utilities - Analyzes raw text input to estimate the number of tokens used within a model's context window.
  • Batch Processing Clients - Provides a client for submitting and monitoring large groups of asynchronous requests for background execution.
  • CLI Token Counters - Calculates the number of tokens in a text string to estimate input size and verify model limits.
  • Input Token Estimators - Analyzes input text using a local tokenizer to estimate token counts before transmitting data.
  • Request Retries - Automatically retries failed network requests using exponential backoff to handle transient errors and rate limits.
  • File Uploaders - Provides components for transmitting files to remote servers using file paths or binary data.
  • Incremental Response Clients - Implements a client that streams incremental model responses in real time using server-sent events.
  • Exponential Backoff Retries - Implements an exponential backoff strategy to automatically retry failed network requests and handle rate limits.
  • API Error Handling Patterns - Implements client-side error handling patterns to catch connection issues, rate limits, and HTTP errors.
  • LLM Providers and Models - Official client library for Anthropic API services.

Istoric stele

Graficul istoricului de stele pentru anthropics/anthropic-sdk-pythonGraficul istoricului de stele pentru anthropics/anthropic-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 Anthropic Sdk Python

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Anthropic Sdk Python.
  • openai/openai-goAvatar openai

    openai/openai-go

    2,974Vezi pe GitHub↗

    openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to generate text, images, and audio via REST endpoints, enabling the integration of large language models and AI assistant orchestration into Go applications. The library serves as an agent orchestration tool for managing stateful conversation threads and autonomous agents with integrated tool calling and file search. It also functions as an asynchronous batch processing client for monitoring large-scale request groups and fine-tuning jobs, alongside a management SDK for controllin

    Go
    Vezi pe GitHub↗2,974
  • vrsen/agency-swarmAvatar VRSEN

    VRSEN/agency-swarm

    3,962Vezi pe GitHub↗

    Agency Swarm is a multi-agent orchestration framework and development kit designed to coordinate specialized AI agents through defined communication patterns and handoffs. It functions as a system for managing agent swarms, providing an API gateway to expose these coordinated collectives as production-ready HTTP endpoints. The project distinguishes itself through its Model Context Protocol integration layer, which connects agents to external data sources and capabilities. It implements specialized orchestration patterns, such as the orchestrator-worker model and role-based delegation, to tran

    Python
    Vezi pe GitHub↗3,962
  • berriai/litellmAvatar BerriAI

    BerriAI/litellm

    50,579Vezi pe GitHub↗

    LiteLLM is a unified gateway and proxy server designed to centralize access to over one hundred language model providers. It provides a standardized API interface that abstracts vendor-specific schemas, allowing developers to interact with diverse models through a single, consistent format. By acting as a central traffic management layer, it enables organizations to route, secure, and govern model interactions across multiple deployments. The platform distinguishes itself through its policy-driven architecture, which uses configuration-based routing to manage traffic distribution, load balanc

    Pythonai-gatewayanthropicazure-openai
    Vezi pe GitHub↗50,579
  • qwenlm/qwenAvatar QwenLM

    QwenLM/Qwen

    21,294Vezi pe GitHub↗

    Qwen is a comprehensive framework for large language model development, serving, and deployment. It provides a complete ecosystem for transformer-based sequence modeling, offering base models alongside specialized tools for instruction-tuned alignment, fine-tuning, and long-context inference. The project is designed to support both research and production environments, enabling users to train, optimize, and host generative models locally or across distributed hardware. The framework distinguishes itself through its focus on high-performance serving and extensibility. It features a high-perfor

    Pythonchineseflash-attentionlarge-language-models
    Vezi pe GitHub↗21,294
Vezi toate cele 30 alternative pentru Anthropic Sdk Python→

Întrebări frecvente

Ce face anthropics/anthropic-sdk-python?

This is a Python SDK for interacting with large language models via API. It serves as a client library to generate text, process messages, and manage conversational states, while providing a specialized interface for connecting to models hosted across different cloud infrastructure providers.

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

Principalele funcționalități ale anthropics/anthropic-sdk-python sunt: LLM Application Development, Text Generation APIs, AI Agent Tool Integrations, Cloud Model Connectivity, Cloud Model Connectors, Custom Provider Implementations, API Client SDKs, Provider-Specific Configurations.

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

Alternativele open-source pentru anthropics/anthropic-sdk-python includ: openai/openai-go — openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to… vrsen/agency-swarm — Agency Swarm is a multi-agent orchestration framework and development kit designed to coordinate specialized AI agents… berriai/litellm — LiteLLM is a unified gateway and proxy server designed to centralize access to over one hundred language model… qwenlm/qwen — Qwen is a comprehensive framework for large language model development, serving, and deployment. It provides a… stripe/stripe-node — This is a typed server-side library and payment gateway SDK for integrating Stripe into Node.js applications. It… mervinpraison/praisonai — PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and…