Skip to main content

HuggingFace

You can use Together AI models with Hugging Face Inference. Install the huggingface_hub library:
Chat Completion with Hugging Face Hub library
Learn more in our Together AI - HuggingFace Guide .

Vercel AI SDK

The Vercel AI SDK is a powerful Typescript library designed to help developers build AI-powered applications. Install both the Vercel AI SDK and OpenAI’s Vercel package.
Instantiate the Together client and call the generateText function with Llama 3.1 8B to generate some text.
Learn more in our Together AI - Vercel AI SDK Guide .

Langchain

LangChain is a framework for developing context-aware, reasoning applications powered by language models. To install the LangChain x Together library, run:
Here’s sample code to get you started with Langchain + Together AI:
See this tutorial blog for the RAG implementation details using Together and LangChain.

LlamaIndex

LlamaIndex is a simple, flexible data framework for connecting custom data sources to large language models (LLMs). Install llama-index
Here’s sample code to get you started with Llama Index + Together AI:
See this tutorial blog for the RAG implementation details using Together and LlamaIndex.

CrewAI

CrewAI is an open source framework for orchestrating AI agent systems. Install crewai
Build an multi-agent workflow:
Learn more in our CrewAI guide.

LangGraph

LangGraph is an OSS library for building stateful, multi-actor applications with LLMs Install langgraph
Build a tool-using agent:
Learn more in our LangGraph Guide including code notebooks.

PydanticAI

PydanticAI is an agent framework created by the Pydantic team to simplify building agent workflows. Install pydantic-ai
Build PydanticAI agents using Together AI models
Learn more in our PydanticAI Guide including code a notebook.

DSPy

DSPy is a framework that enables you to build modular AI systems with code instead of hand-crafted prompting Install dspy
Build a question answering agent
Learn more in our DSPy Guide including code a notebook.

AutoGen(AG2)

AG2 (formerly AutoGen) is an open-source framework for building and orchestrating AI agents. Install autogen
Build a coding agent
Learn more in our Autogen Guide including code a notebook.

Agno

Agno is an open-source library for creating multimodal agents. Install agno
Build a search and answer agent
Learn more in our Agno Guide including code a notebook.

MongoDB

See this tutorial blog for the RAG implementation details using Together and MongoDB.

Pinecone

Pinecone is a vector database that helps companies build RAG applications. Here’s some sample code to get you started with Pinecone + Together AI:

Helicone

Helicone is an open source LLM observability platform. Here’s some sample code to get started with using Helicone + Together AI:

Composio

Composio allows developers to integrate external tools and services into their AI applications. Install composio-togetherai
Get Together AI models to use integrated tools
Learn more in our Composio Guide including code a notebook.

Pixeltable

See this tutorial blog for the RAG implementation details using Together and Pixeltable.