Skip to main content

Contribute templates

Follow these best practices when submitting a template to Langflow.

For template formatting examples, see the Langflow repository's starter_projects folder.

Create a PR to submit your template

Follow these steps to submit your template:

  1. Fork the Langflow repository on GitHub.
  2. Add your template.json file to the Langflow repository's starter_projects folder in your fork.
  3. Include the Required items for template submission listed below.
  4. Create a Pull Request from your fork to the main Langflow repository.
  5. Include a screenshot of your template in the PR.

The Langflow team will review your PR, offer feedback, and merge the template.

Required items for template submission

Include the following items and follow these guidelines when submitting your template.

Name

The template name must be concise and contain no more than three words. Capitalize only the first letter of each word. For example: Blog Writer or Travel Planning Agent.

Description

The description is displayed in the UI to guide users to your template. The description should be brief and informative, and describe what the template does and its intended use cases. For example:json "description": "Auto-generate a customized blog post from instructions and referenced articles.",

Icons

Use icons from the Lucide icon library.

Flow

Use only the components that are available in the sidebar. Do not use custom components.

Include a note to guide users. Notes accept Markdown syntax. A single note usually suffices.

For example:


_17
# Financial Assistant Agents
_17
_17
The Financial Assistant Agent retrieves web content and writes reports about finance.
_17
_17
## Prerequisites
_17
_17
* [OpenAI API Key](https://platform.openai.com/)
_17
* [Tavily AI Search key](https://docs.tavily.com/welcome)
_17
* [Sambanova API key](https://sambanova.ai/)
_17
_17
## Quickstart
_17
_17
1. In both **Agent** components, add your OpenAI API key.
_17
2. In the **Model Provider** field, select **Sambanova**, and select a model.
_17
3. In the **Sambanova** component, add your **Sambanova API key**.
_17
4. In the **Tavily Search** component, add your **Tavily API key**.
_17
5. Click the **Playground** and ask `Why did Nvidia stock drop in January?`

Format

Submit the template in JSON format.

Tags

Assign the template to one of the following categories:

  • Assistants
  • Classification
  • Coding
  • Content Generation
  • Q&A
  • Prompting
  • RAG
  • Agents

For more information, see the Langflow repository's template categories.

Search