Skip to main content
The Together AI API is OpenAI-compatible, so most third-party SDKs work by pointing them at https://api.together.ai/v1 and supplying your Together API key. The integrations below ship dedicated Together support, with first-class clients, helpers, or providers. For agent frameworks (CrewAI, LangGraph, DSPy, PydanticAI, AutoGen, Agno, Composio), see the dedicated pages under Framework integrations.

Hugging Face

Use Together AI as a provider for Hugging Face Inference clients:
See the Together AI Hugging Face guide for more details.

Vercel AI SDK

The Vercel AI SDK is a TypeScript library for building AI-powered applications. The @ai-sdk/togetherai provider gives you native access to Together AI models.
Shell
TypeScript
See the Together AI Vercel AI SDK guide for details on streaming, tool use, and structured outputs.

LangChain

LangChain is a framework for building context-aware, reasoning applications powered by LLMs. The langchain-together package provides chat models and embeddings.
Shell
Python
For RAG patterns with LangChain plus Together embeddings, see RAG integrations and the LangChain provider docs.

LlamaIndex

LlamaIndex is a data framework for connecting custom data sources to LLMs. Together AI works with LlamaIndex through the OpenAILike LLM and dedicated embedding classes.
Shell
Python
For RAG patterns, see RAG integrations, the LlamaIndex Together LLM docs, and the LlamaIndex Together embeddings docs.

Helicone

Helicone is an open-source LLM observability platform. Route Together requests through Helicone’s gateway by overriding base_url and adding the auth header.

Agent frameworks

Each framework below has a dedicated guide with installation, model selection, and runnable examples:
  • CrewAI: Open-source orchestration for multi-agent workflows.
  • LangGraph: Stateful, multi-actor applications built on LangChain.
  • DSPy: Modular AI systems written in code instead of prompt strings.
  • PydanticAI: Typed agent framework from the Pydantic team.
  • AutoGen (AG2): Conversational multi-agent systems.
  • Agno: Open-source library for multimodal agents.
  • Composio: Tool-use platform for connecting agents to external services.

Vector stores and RAG

For Pinecone, MongoDB, Pixeltable, and other vector-store integrations, see RAG integrations.