StackA2A
generaltypescript

Langdock A2A Demo

32

by matsjfunke

This is a sample A2A Agent server which wraps the Langdock Agent API

Updated 2026-01-30
Quality Score32/100
Community
0
Freshness
75
Official
30
Skills
10
Protocol
30
🔒 Security
20

Getting Started

1Clone the repository
$ git clone https://github.com/matsjfunke/Langdock-A2A-Demo
2Navigate to the project
$ cd Langdock-A2A-Demo
3Install dependencies
$ npm install
4Run the agent
$ npm start

README

Demo Langdock A2A Agent

This repo is a sample of a simple implementation of an A2A agent compatible with Langdock's implementation of the A2A protocol.

Requirements

The following is needed to run / experiment with this repo:

  1. Langdock Account & API key with access to the Agent API

  2. Node.js (v18 or higher recommended)

brew install node
  1. pnpm package manager
brew install pnpm
  1. ngrok for tunneling
brew install ngrok

Getting Started

  1. Tunnel the server port with ngrok
ngrok http 3333
  1. Install dependencies and run dev server with your ngrok URL
AGENT_URL=https://<your-ngrok-url>.ngrok-free.app pnpm d
  1. Copy the Url from the Terminal output

  2. Open Langdock and "add integration" -> "start from scratch" -> "Connect Remote Agent (A2A)" -> paste the copied url into the input field:

  • Run this command (in a different terminal) to open the langdock integrations page:
pnpm langdock
  1. Create a Connection to the Agent

Just use an langdock api-key with the Agent API Scope, it will be forwarded to the A2A

(Optionally) Open the A2A Inspector to test your agent:

pnpm inspector

Agent Details

  • Protocol Version: 0.3.0
  • Port: 3333

Dependencies

  • @a2a-js/sdk - A2A protocol SDK
  • express - Web framework
  • uuid - UUID generation

Capabilities

StreamingPush NotificationsMulti-TurnAuth: none
a2a-agenta2a-server
View on GitHub