> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt & Context Hub

> Store, version, and update the prompts and contexts your agents use in production.

Prompts, retrieval context, skills, and task instructions change more often than the application code around them, and often need to be edited by people who are not engineers. Use the Prompt & Context Hub to store, version, review, and update the non-code parts of your agent so you can change behavior without a full deploy and let domain experts own the context they know best.

[Prompts](#prompts) are individual message templates you send to a model. [Contexts](#context-hub) are versioned bundles of instructions and tools that define a skill or a full agent, promoted through environments so your agents pull the right version.

## Prompts

> [card] [Create and update prompts](https://docs.langchain.com/langsmith/create-a-prompt.md)
>
> Build prompts via the UI or SDK, configure settings, use tools, add multimodal inputs, and connect model providers.

> [card] [Manage prompts](https://docs.langchain.com/langsmith/manage-prompts.md)
>
> Organize with tags, commit changes, trigger webhooks, and share through the public prompt hub.

> [card] [Explore the prompt hub](https://docs.langchain.com/langsmith/manage-prompts.md#public-prompt-hub)
>
> Browse and manage prompt tags and discover community prompts from the LangChain Hub.

> [card] [Open the Playground](https://docs.langchain.com/langsmith/prompt-engineering-concepts.md#playground)
>
> Test and experiment with prompts using custom endpoints and model configurations.

> [card] [Follow tutorials](https://docs.langchain.com/langsmith/optimize-classifier.md)
>
> Learn step-by-step techniques, like optimizing classifiers and advanced prompt engineering.

Use the **[Chat](https://docs.langchain.com/langsmith/chat.md)** in the Playground to optimize prompts, generate tools, and create output schemas with AI-powered assistance.

## Context Hub

> [card] [Concepts](https://docs.langchain.com/langsmith/context-engineering-concepts.md)
>
> Learn the core concepts of context engineering: skills, agents, versioning, and sharing.

> [card] [Use the Context Hub](https://docs.langchain.com/langsmith/use-the-context-hub.md)
>
> Create a context, view its files and history, and promote it to an environment.

> [card] [Manage contexts with the SDK](https://docs.langchain.com/langsmith/manage-contexts-sdk.md)
>
> Push, pull, list, and delete agent and skill repos in the Context Hub programmatically.

> [card] [Configure commit webhooks](https://docs.langchain.com/langsmith/context-hub-webhooks.md)
>
> Send every agent and skill commit in your workspace to an external HTTPS endpoint.

> [!NOTE]
>
> To set up a LangSmith instance, visit the [Platform setup section](https://docs.langchain.com/langsmith/platform-setup.md) to choose between cloud, hybrid, or self-hosted. All options include observability, evaluation, prompt engineering, and deployment.

***

[Connect these docs](https://docs.langchain.com/use-these-docs.md) to your agent of choice via MCP for real-time answers.

[Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/prompt-context-hub.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
