RepoTogether AITogether AIpublished Oct 7, 2024seen 5d

togethercomputer/together-cookbook

Jupyter Notebook

Open original ↗

Captured source

source ↗

togethercomputer/together-cookbook

Description: A collection of notebooks/recipes showcasing usecases of open-source models with Together AI.

Language: Jupyter Notebook

License: MIT

Stars: 1138

Forks: 209

Open issues: 4

Created: 2024-10-07T16:28:33Z

Pushed: 2026-06-09T22:49:47Z

Default branch: main

Fork: no

Archived: no

README:

Platform • Docs • Blog • Discord

Together Cookbook

The Together Cookbook is a collection of code and guides designed to help developers build with open source models using Together AI. The best way to use the recipes is to copy code snippets and integrate them into your own projects!

Contributing

We welcome contributions to this repository! If you have a cookbook you'd like to add, please reach out to use the Discord or open a pull request!

Prerequisites

To make the most of the examples in this cookbook, you'll need a Together AI API key (sign up for free here).

While the code examples are primarily written in Python/JS, the concepts can be adapted to any programming language that supports interaction with the Together API.

Cookbooks

| Cookbook | Description | Open | | -------- | ----------- | ---- | | Agents | | | | Serial Chain Agent Workflow | Chain multiple LLM calls sequentially to process complex tasks. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Serial_Chain_Agent_Workflow.ipynb) | | Conditional Router Agent Workflow | Create an agent that routes tasks to specialized models. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Conditional_Router_Agent_Workflow.ipynb) | | Parallel Agent Workflow | Run multiple LLMs in parallel and aggregate their solutions. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Parallel_Agent_Workflow.ipynb) | | Orchestrator Subtask Agent Workflow | Break down tasks into parallel subtasks executed by LLMs. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Parallel_Subtask_Agent_Workflow.ipynb) | | Looping Agent Workflow | Build an agent that iteratively improves responses. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Looping_Agent_Workflow.ipynb) | | Cross-Provider Advisor Agent Workflow | A cheap Together executor does the work and only consults a frontier Claude advisor when it gets stuck. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Cross_Provider_Advisor_Workflow.ipynb) | | Together Open Deep Research | An open source deep-research implementation with multi-step web search. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Together_Open_Deep_Research_CookBook.ipynb) | | Together Open Data Science Agent | An open data-science agent that analyzes datasets end-to-end. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/DataScienceAgent/Together_Open_DataScience_Agent.ipynb) | | Agno Agents | Build agents with the Agno framework on Together. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Agno/Agents_Agno.ipynb) | | Arcade Agents | Build agents with Arcade.dev tool integrations. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Arcade.dev/Agents_Arcade.ipynb) | | Composio Agents | Use Composio tools to build production-grade agents. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/Composio/Agents_Composio.ipynb) | | DSPy Agents | Build optimized agents with DSPy and Together models. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/DSPy/DSPy_Agents.ipynb) | | Klavis AI Agents | Use Klavis AI to give agents access to MCP-based tools. | ![Colab](https://colab.research.google.com/github/togethercomputer/together-cookbook/blob/main/Agents/KlavisAI/Agents_KlavisAI.ipynb) | | [Agentic RAG with…

Excerpt shown — open the source for the full document.

Notability

notability 5.0/10

New repo with moderate stars.