Skip to main content
Minimal echo bot that repeats your input.

Code

How It Works

Handler Function
  • Takes messages list as input
  • Returns the last user message as assistant response
  • messages[-1]["content"] gets the most recent message
  • We are not calling any llm model here, just returning the last message
Config
  • name: Agent identifier
  • deployment.url: Local server address
  • deployment.expose: Makes agent accessible
Bindufy
  • Wraps your handler with Bindu protocol
  • Handles A2A communication

Dependencies

Run

Example API Calls

Frontend Setup

Open http://localhost:5173 and try to chat with echo agent