# Agents That Start From an Event

**URL:** <https://community.solace.com/t/agents-that-start-from-an-event/5025>\
**Category:** Solace Agent Mesh\
**Created:** [November 30, 2026, 7:51pm UTC](https://community.solace.com/t/agents-that-start-from-an-event/5025 "2026-11-30T19:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [November 30, 2026, 7:51pm UTC](https://community.solace.com/t/agents-that-start-from-an-event/5025/1 "2026-11-30T19:51:18Z")

</div>

Most agent demos start with someone typing a question. Most work in a business starts somewhere else: an order lands, a shipment misses its port window, a sensor crosses a threshold. If an agent only runs when a person asks, it works on whatever that person happened to notice, and usually later than it could have.

So when I think about agentic systems past the chat box, my first question has nothing to do with models: which events already flow through this company, and which of them should wake an agent up?

In Agent Mesh, that’s an Event Mesh entrypoint. It subscribes to topics on a Solace event broker and hands each matching message to an agent or workflow. Here’s a rule from the docs, trimmed:

```yaml
event_rules:
  - name: process_orders
    subscriptions:
      - topic: "commerce/orders/>"
    targetAgent: order-processor
    promptTemplate: "Process the following order event: {payload}"
    acknowledgmentPolicy:
      mode: on_completion
      timeoutSeconds: 300
    successOutput:
      enabled: true
      topic: "commerce/orders/processed"

```

Three lines in there are plumbing, and they’re the ones I’d look at first:

- `commerce/orders/>` is a topic subscription, so the agent receives every order event as it happens. Nobody polls a database.
- `mode: on_completion` holds the broker acknowledgment until the agent finishes. The default, `on_receive`, acknowledges as soon as the event arrives.
- `successOutput` publishes the agent’s result back to the broker, so any other system can subscribe to it.

One tip from the docs: the queue Agent Mesh creates for a rule has no redelivery cap and no dead message queue. With `on_completion` and the default `nack` on failure, an event that fails every time is redelivered forever. If that matters, bind the rule to a queue you provision yourself with `existingQueueName`, and set the cap and dead message queue there.

You can try a rule locally: [download the Solace Agent Mesh desktop app](https://solace.com/products/agent-mesh/) and leave the broker host empty to use the built-in development broker.

Docs:

[Event Mesh Entrypoints](https://docs.solace.com/Agent-Mesh/Framework/building/entrypoints/event-mesh/index.htm)

[Event Mesh Entrypoints with the CLI](https://docs.solace.com/Agent-Mesh/Framework/building/entrypoints/event-mesh/cli.htm)

Which event in your own systems would you route to an agent first?
