generaltypescript
Langdock A2A Demo
32by 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:
-
Langdock Account & API key with access to the Agent API
-
Node.js (v18 or higher recommended)
brew install node
- pnpm package manager
brew install pnpm
- ngrok for tunneling
brew install ngrok
Getting Started
- Tunnel the server port with ngrok
ngrok http 3333
- Install dependencies and run dev server with your ngrok URL
AGENT_URL=https://<your-ngrok-url>.ngrok-free.app pnpm d
-
Copy the Url from the Terminal output
-
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
- 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 SDKexpress- Web frameworkuuid- UUID generation
Capabilities
StreamingPush NotificationsMulti-TurnAuth: none
a2a-agenta2a-server