Skip to Content

LangChain Execution Engine

The LangChain execution engine has moved to the Ark Marketplace .

Installation

Install from the marketplace:

ark marketplace install executor-langchain

Or deploy with DevSpace as a dependency:

dependencies: executor-langchain: git: https://github.com/mckinsey/agents-at-scale-marketplace subPath: services/executor-langchain

Features

  • A2A protocol for engine communication
  • LangChain framework integration
  • Optional RAG (Retrieval-Augmented Generation) support via agent labels
  • Compatible with all Model providers (Azure OpenAI, OpenAI)

ExecutionEngine Resource

The LangChain executor registers as an ExecutionEngine with A2A protocol:

apiVersion: ark.mckinsey.com/v1prealpha1 kind: ExecutionEngine metadata: name: executor-langchain spec: address: valueFrom: serviceRef: name: executor-langchain port: "8000" description: "LangChain Executor - A2A server with RAG support"

RAG Support

Enable RAG for an agent by adding the label:

apiVersion: ark.mckinsey.com/v1alpha1 kind: Agent metadata: name: my-agent labels: langchain: rag spec: executionEngine: name: executor-langchain prompt: | You are an expert Python developer assistant with deep knowledge of the codebase.

Next Steps

Last updated on