togethercomputer/together-cookbook
Jupyter Notebook
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. |  | | Conditional Router Agent Workflow | Create an agent that routes tasks to specialized models. |  | | Parallel Agent Workflow | Run multiple LLMs in parallel and aggregate their solutions. |  | | Orchestrator Subtask Agent Workflow | Break down tasks into parallel subtasks executed by LLMs. |  | | Looping Agent Workflow | Build an agent that iteratively improves responses. |  | | Cross-Provider Advisor Agent Workflow | A cheap Together executor does the work and only consults a frontier Claude advisor when it gets stuck. |  | | Together Open Deep Research | An open source deep-research implementation with multi-step web search. |  | | Together Open Data Science Agent | An open data-science agent that analyzes datasets end-to-end. |  | | Agno Agents | Build agents with the Agno framework on Together. |  | | Arcade Agents | Build agents with Arcade.dev tool integrations. |  | | Composio Agents | Use Composio tools to build production-grade agents. |  | | DSPy Agents | Build optimized agents with DSPy and Together models. |  | | Klavis AI Agents | Use Klavis AI to give agents access to MCP-based tools. |  | | [Agentic RAG with…
Excerpt shown — open the source for the full document.
Notability
notability 5.0/10New repo with moderate stars.