AgentDirectoryEntry agent.directory-entry@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
network
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/agent/directory-entry.v1.json

One discoverable A2A agent belonging to a person.

Fields

FieldTypeRequiredDescriptionConstraints
idstringyes
  • pattern ^agt_[0-9A-HJKMNP-TV-Z]{26}$
ownerstringyes
  • pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$
kindenumyes
  • one of "actor", "codes", "link-local", "chat-bot", "service"
namestringyes
  • maxLength 120
machine_idstring
  • pattern ^lnk_[0-9A-HJKMNP-TV-Z]{26}$
servicestring
  • maxLength 60
endpointstring
  • pattern ^https://
  • format uri
skillsarray of stringyes
  • maxItems 100
  • items: maxLength 120
statusenumyes
  • one of "online", "busy", "offline"
allow_othersbooleanyes
updated_atstringyes
  • format date-time

Examples

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

Valid: example
{
  "id": "agt_AAAAAAAAAAAAAAAAAAAAAAAAAA",
  "owner": "usr_AAAAAAAAAAAAAAAAAAAAAAAAAA",
  "kind": "link-local",
  "name": "Codex",
  "machine_id": "lnk_AAAAAAAAAAAAAAAAAAAAAAAAAA",
  "skills": [
    "code"
  ],
  "status": "online",
  "allow_others": false,
  "updated_at": "2026-11-11T00:00:00Z"
}
Rejected: example
{}

Validate

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