---
title: "agent.trigger@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/agent.trigger"
updated: null
---

# agent.trigger@1 · OpenVibe.Services

HTML: [agent.trigger@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/agent.trigger)

# AgentTrigger `agent.trigger@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: actor
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/agent/trigger.v1.json`](/docs/contracts/agent.trigger.json)

Immutable source event. Source-local actor identity grants no cross-source authority. Accepting an id twice creates one ticket.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `minLength 1` |
| `source` | string | yes |  | - `minLength 1` |
| `actor` | object | yes |  | - `no other fields` |
| `actor.source` | string | yes |  | - `minLength 1` |
| `actor.id` | string | yes |  | - `minLength 1` |
| `actor.kind` | enum | yes |  | - `one of "person", "bot", "system"` |
| `source_scope` | string | yes |  | - `minLength 1` |
| `threads` | array of string | yes |  | - `minItems 1`<br>- `unique items`<br>- `items: minLength 1` |
| `occurred_at` | string | yes |  | - `format date-time` |
| `text` | string | yes |  | - `minLength 1` |
| `read_pointer` | string |  |  | - `format uri` |
| `addresses_agent` | enum |  |  | - `one of "mention", "direct", "none"` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: example

~~~~
{
  "id": "trg_1",
  "source": "github",
  "actor": {
    "source": "github",
    "id": "owner",
    "kind": "person"
  },
  "source_scope": "issues",
  "threads": [
    "issue:1"
  ],
  "occurred_at": "2026-11-09T12:00:00Z",
  "text": "Fix the bug"
}
~~~~

Rejected: unknown

~~~~
{
  "id": "trg_1",
  "source": "github",
  "actor": {
    "source": "github",
    "id": "owner",
    "kind": "person"
  },
  "source_scope": "issues",
  "threads": [
    "issue:1"
  ],
  "occurred_at": "2026-11-09T12:00:00Z",
  "text": "Fix the bug",
  "unexpected": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('agent.trigger@1', value);   // { valid, errors: [{ path, message }] }
~~~~
