Prompt Buddy logoPrompt Buddy

langchain · LangGraph and LangChain Agents Docs

Langsmith Create Run, Stream Output

Instructions for using the LangSmith Agent Server API to create a new run within an existing thread and stream the resulting output.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Langsmith Create Run, Stream Output

Instructions for using the LangSmith Agent Server API to create a new run within an existing thread and stream the resulting output.

When To Use

Use when you need to programmatically initiate a new execution trace within a specific thread and receive real-time streaming responses from the LangSmith Agent Server API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/langsmith-agent-server-api-thread-runs-create-run-stream-workflow-guide.mdOpenAPI documentation for creating a run and streaming output via the Langsmith Agent Server API.Questions about openAPI documentation for creating a run and streaming output via the Langsmith Agent Server API.
examples/langsmith-agent-server-api-thread-runs-create-run-stream-langsmith-agent.textAn OpenAPI 3.1.0 specification defining the endpoints and schemas for creating and streaming runs within the LangSmith Agent Server API.Exact payloads, commands, or snippets shown in An OpenAPI 3.1.0 specification defining the endpoints and schemas for creating and streaming runs within the LangSmit...

What This Skill Covers

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

  • Main sections: OpenAPI.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.langchain.com/langsmith/agent-server-api/thread-runs/create-run-stream-output.md