• VERSIONING
  • COMPARISON
  • RECOVERY
  • HUMAN

How to retrieve prompt templates with your agent

Connect LangSmith to your AI client to pull specific prompt versions from the LangChain Hub. You can manage and test your prompt logic without leaving your chat interface.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I get my LangChain Hub prompts into my AI chat?

Your agent uses the LangSmith MCP to fetch versioned templates from the LangChain Hub. You can then ask your agent to use these specific prompts for testing or comparison. This setup gives you immediate access to your prompt library.

Prompt management outcomes.

Where your prompt logic lands.

This connection turns your chat interface into a prompt testing ground.

VERSIONING

Access specific versions

Your agent pulls exact iterations of your prompts from the Hub. You can test how a change in wording affects your agent's output.

COMPARISON

Compare prompt logic

Ask your agent to run two different templates against the same input. This helps you see which version performs better in real time.

RECOVERY

Retrieve lost templates

If you need to roll back to a previous prompt, your agent can find it in the Hub. It pulls the historical data so you don't have to manually copy-paste.

HUMAN

Manual prompt edits

Your agent can read and fetch templates, but it won't rewrite your saved versions in the Hub. You still control the source of truth in LangSmith.

The workflow

What your agent does when you request a template.

Your agent acts as the bridge between your chat and the LangChain Hub.

  1. Locate templates

    Your agent scans your LangChain Hub to find the specific prompt names or tags you're looking for.

    list_prompts
  2. Fetch content

    Once identified, your agent retrieves the exact text and configuration of the selected prompt version.

    list_prompts
  3. Apply logic

    Your agent loads the retrieved template into its current context so it can follow your specific instructions.

    list_prompts
  4. Verify output

    You review the results to ensure the retrieved prompt behaves as expected before you commit to it.

    list_prompts

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute LangSmith tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin interacting with your LangChain Hub templates.

Starting points

Replace the bracketed text with your actual prompt names or Hub tags.

LangSmith Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ixIJrwVWDWlC1bEOf4IyffAPgAEw302Ns6BE1oLo/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, LangSmith capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "langsmith-llm-observability-hub-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ixIJrwVWDWlC1bEOf4IyffAPgAEw302Ns6BE1oLo/mcp"
    }
  }
}
Copy into chat04
  • 01

    List all the prompt templates available in my LangChain Hub.

  • 02

    Find the prompt template named 'customer_support_v2' and show me its content.

  • 03

    Retrieve the latest version of the 'summarizer' prompt from the Hub.

  • 04

    Compare the logic between 'template_alpha' and 'template_beta' from my Hub.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect LangSmith once, then ask.

Follow the link to authorize the connection. Your credentials stay encrypted, and you can start pulling prompts immediately.

Connect LangSmith to your agent

FAQ

How this task behaves.

  • 01

    Can your agent edit my templates in the LangChain Hub?

    No. Your agent can only retrieve and read the templates. Any changes to your prompt logic must be done manually in LangSmith.

  • 02

    Can I pull prompts from a different user's Hub?

    No. Your agent only has access to the Hub associated with your connected LangSmith account.

  • 03

    Does your agent see my entire LangSmith project?

    Your agent only accesses the prompt data through the specific tools provided. It doesn't browse your entire project history unless you ask it to list prompts.

  • 04

    How does your agent know which version of a prompt to get?

    You tell your agent which version you want, or it will default to the latest version if you only provide the template name.

  • 05

    Can I use these prompts in other AI clients?

    Yes. Once you've connected the MCP, you can use these prompts in any compatible client like Claude, Cursor, or Windsurf.

  • More questions about LangSmith? See everything the LangSmith Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from LangSmith to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    LangSmith plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect LangSmith to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.