# Echo starter

The executable starter created by berry init.

Source: cd46e0e78d73497aec99e3e8d33c1fef632f36f9
URL: /reference/echo

This optional code-only example checks connectivity without paid model inference. It is not a prerequisite for the [skill quickstart](/quickstart).

On a connected runtime, run:

````sh
berry init my-agent
berry deploy my-agent --id my-agent --permissions '[]'
berry agents
````

Take the returned agent ID, then run:

````sh
berry run AGENT_ID --request-id hello-ada-1 --input '{"name":"Ada"}' --wait
````

The completed result is `{"message":"Hello, Ada!"}`. Retain the request ID after an uncertain response. The CLI journey checks installation, execution and request replay.

## plugin.json [#pluginjson]

````json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "example.echo",
  "version": "1",
  "description": "Return a named message without model inference.",
  "extensions": {
    "ai.strawberry.berry": {
      "agents": {
        "echo": {
          "title": "Echo",
          "description": "Return a named message without model inference.",
          "entry": "echo"
        }
      }
    }
  }
}
````

## echo.md [#echomd]

````markdown
---
name: echo
description: Return a named message without model inference.
language: javascript
input:
  type: object
  properties:
    name:
      type: string
      description: Name to greet.
  required:
    - name
  additionalProperties: false
output:
  type: object
  properties:
    message:
      type: string
  required:
    - message
  additionalProperties: false
---
export default function (input) {
  return {message: `Hello, ${input.name}!`}
}
````
