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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
MacPaw avatar

MacPaw/OpenAI

0
View on GitHub↗

OpenAI

This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native access to chat completions, image generation and editing, speech synthesis and transcription, text embeddings, and content moderation through a single interface built on Swift’s async-await concurrency model.

The client supports structured output generation by constraining model responses to a provided JSON schema, and enables real-time consumption of generated text through streaming responses delivered as an AsyncSequence. It includes a thread-based conversation model for managing assistant workflows, with support for creating and running assistants, managing messages and runs, and submitting tool outputs. The library also provides a Model Context Protocol bridge for connecting external tools and data sources at runtime, and a provider compatibility layer that adjusts parsing logic to tolerate non-standard responses from third-party OpenAI-compatible services.

Beyond core API calls, the client handles multipart file uploads for assistants and image variations, computes text embeddings for similarity search, and offers configurable web search parameters. It includes image variation and editing capabilities, speech streaming, and audio translation. The library is distributed as a Swift package and supports cancellation of in-flight requests through Swift’s structured concurrency model.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • OpenAI API Clients - Provides an asynchronous Swift client for calling OpenAI's API across Apple platforms.
  • Streaming Chat Responses - Generates text responses from a language model with optional real-time token-by-token output.
  • Assistant Management APIs - Creates and manages assistants, threads, messages, and runs in conversational workflows.
  • Assistant Thread Runners - Starts a new thread and immediately processes it with an assistant.
  • Chat Completion Services - Sends prompts and conversation history to language models and returns generated text responses.
  • Conversational AI Assistants - Creates and manages AI assistants with threads, messages, and tool execution for conversational workflows.
  • API Speech Synthesizers - Generates audible speech from a text string using a specified voice and audio format.
  • Image Generation - Creates new images from text descriptions using a generative AI model.
  • Conversation Threads - Manages assistant conversations as persistent threads with sequential message and run state tracking.
  • Multimodal Content Generators - Creates images, synthesizes speech, and transcribes or translates audio using generative AI models.
  • Prompt-Based Text Generation - Sends a text prompt to a language model and returns the generated text response.
  • Image Description Generators - Creates new images based on textual descriptions using a DALL-E model.
  • Unified Audio Transcription - Converts spoken audio into written text, supporting multiple languages and formats.
  • Streaming Text Generation - Delivers generated text tokens incrementally as the model produces them for real-time display.
  • Multimodal Clients - Generates images, synthesizes speech, transcribes audio, and computes text embeddings.
  • API Speech Synthesizers - Converts a text string into spoken audio using a specified voice and format.
  • LLM Schema Outputs - Specifies a JSON schema to constrain the format of a model's text response for reliable parsing.
  • Schema-Constrained Outputs - Provides structured output generation by constraining model responses to a provided JSON schema.
  • Schema-Constrained Sampling - Forces the model to return structured data that conforms to a provided JSON schema.
  • Streaming Response Architectures - Delivers incremental tokens or audio chunks via an AsyncSequence for real-time consumption.
  • Incremental Response Clients - Receives generated text tokens incrementally as the model produces them for real-time display.
  • Model Context Protocol - Connects external tools and data sources through a standardized Model Context Protocol interface.
  • Assistant Configuration Updates - Modifies the configuration of an existing AI assistant, such as its model or instructions.
  • Assistant Creations - Configures new AI assistants with a model, instructions, and tools for conversational tasks.
  • Assistant File Uploads - Uploads files, such as PDFs, to be used by an AI assistant as a knowledge source.
  • MCP Protocol Integrations - Integrates external tools and data sources through the Model Context Protocol.
  • Function Calling Interfaces - Invokes callable functions that a model can execute during a chat completion.
  • Image Variation and Mixing - Generates new images as variations of a provided source image using a generative AI model.
  • Message Management - Retrieves all messages belonging to a specific conversation thread for review or processing.
  • Speech-to-Text Translation - Translates spoken audio from any language into English text.
  • Structured Output Generators - Constrains model responses to conform to a provided JSON schema for reliable programmatic parsing.
  • Text Embedding Generators - Converts a text input into a vector representation for use in machine learning tasks.
  • Text Embeddings - Converts text into numerical vectors for semantic search, clustering, or similarity comparison tasks.
  • Streaming Speech Outputs - Delivers synthesized speech audio data in chunks as it is generated.
  • Vector Embeddings - Converts text into numerical vectors using an embedding model for similarity search and clustering.
  • Tool Output Submissions - Provides the results of a tool call back to the assistant so it can continue processing.
  • Image Editing - Modifies existing images by applying changes described in a text prompt.
  • Run Status Inspections - Fetches the current state and details of a specific assistant run for monitoring progress.
  • Mask-Guided Image Editors - Edits images by applying a prompt to areas specified by a mask.
  • Message Appending APIs - Provides an API to add new messages to an existing conversation thread for assistant workflows.
  • Remote Tool Integrations - Connects to external data sources and services via the Model Context Protocol to extend model capabilities.
  • Content Moderation - Checks text against a content policy and returns category-specific violation scores.
  • Content Moderation Policies - Classifies input text to determine if it violates a defined content policy.
  • Response Structure Standardization - Creates AI-powered responses with configurable input and output schemas for programmatic use.
  • AI and Machine Learning - Client library for interacting with public generative AI APIs.
  • Development Packages - API client for AI services.
2,862 stars·511 forks·Swift·mit·38 views

Star history

Star history chart for macpaw/openaiStar history chart for macpaw/openai

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with OpenAI

These projects share indexed features with OpenAI. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • openai/openai-goopenai avatar

    openai/openai-go

    2,974View on 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
    View on GitHub↗2,974
  • spring-projects/spring-aispring-projects avatar

    spring-projects/spring-ai

    9,001View on GitHub↗

    Spring AI is an application framework for Java that provides a portable, fluent API for integrating AI models, tools, and vector stores into applications. It wraps multiple AI providers behind a common interface, allowing developers to switch between chat, embedding, image, and speech models without changing application code. The framework includes a chainable chat client API similar to WebClient or RestClient, supports both synchronous and streaming interactions, and offers structured output conversion that transforms unstructured AI responses into strongly-typed Java objects. The framework

    Javaartificial-intelligencejavaspring-ai
    View on GitHub↗9,001
  • openai-php/clientopenai-php avatar

    openai-php/client

    5,805View on GitHub↗

    This project is a PHP API client and SDK for integrating OpenAI services into PHP applications. It serves as an integration library and wrapper for interacting with large language models to generate text, images, and audio via REST API calls. The library provides specialized orchestration for AI assistants, managing conversation threads and vector stores. It also includes tools for custom model fine-tuning, semantic search implementation through text embeddings, and audio processing for transcription and synthesis. The capability surface covers content moderation, file management, and the ha

    PHP
    View on GitHub↗5,805
  • zai-org/glm-4.5zai-org avatar

    zai-org/GLM-4.5

    4,210View on GitHub↗

    GLM-4.5 is a multimodal large language model and advanced reasoning system. It functions as an AI coding assistant, an autonomous AI agent, and a multimodal content generator capable of processing and generating text, images, audio, and video within a single unified system. The project is distinguished by its deep reasoning capabilities, utilizing chain-of-thought processing to solve complex mathematical, logical, and technical problems. It features an agentic architecture that allows for autonomous task execution, long-horizon goal planning, and the ability to interact with external tools an

    Pythonagentglmllm
    View on GitHub↗4,210
Compare all 30 related projects→

Frequently asked questions

What does macpaw/openai do?

This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native access to chat completions, image generation and editing, speech synthesis and transcription, text embeddings, and content moderation through a single interface built on Swift’s async-await concurrency model.

What are the main features of macpaw/openai?

The main features of macpaw/openai are: OpenAI API Clients, Streaming Chat Responses, Assistant Management APIs, Assistant Thread Runners, Chat Completion Services, Conversational AI Assistants, API Speech Synthesizers, Image Generation.

Which projects share features with macpaw/openai?

Projects with overlapping indexed features include: 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… spring-projects/spring-ai — Spring AI is an application framework for Java that provides a portable, fluent API for integrating AI models, tools,… openai-php/client — This project is a PHP API client and SDK for integrating OpenAI services into PHP applications. It serves as an… zai-org/glm-4.5 — GLM-4.5 is a multimodal large language model and advanced reasoning system. It functions as an AI coding assistant, an… crmne/ruby_llm — ruby_llm is an LLM integration framework and AI agent orchestrator designed to connect applications to multiple large… aallam/openai-kotlin — This project is a multiplatform software development kit designed to integrate large language models into Kotlin…