AgentDB

Vocab packs & ontologies — receive requests in the format you require

Encode your service's request contract once — vocab packs, intent packs, and versioned ontologies govern every channel the same way.

Your request contract, encoded once

A vocab pack is a DefinedTermSet of DefinedTerm entities: the statuses, categories, and controlled values your service accepts. An agent in Slack, a bot on Telegram, and a coding agent on REST all conform to the same contract without any of them being special-cased.

Worked example — a task-tracker’s vocabulary

Publish the pack as a versioned entity (identifiers are immutable — publish a new version to change it). This payload is a fixture this site’s CI validates and executes:

{
  "@context": "https://schema.org/",
  "@type": "CreateAction",
  "object": {
    "@type": "DefinedTermSet",
    "additionalType": "VocabPack",
    "identifier": "site-fixture:vocab-pack:tasks:1.0.0",
    "name": "Tasks vocab",
    "version": "1.0.0",
    "hasDefinedTerm": [
      {
        "@type": "DefinedTerm",
        "name": "wip",
        "termCode": "In Progress",
        "alternateName": [
          "active",
          "working"
        ]
      },
      {
        "@type": "DefinedTerm",
        "name": "done",
        "termCode": "Completed",
        "alternateName": [
          "finished",
          "shipped"
        ]
      }
    ]
  }
}

Each DefinedTerm maps the words people actually use (name, alternateName) onto the canonical value your service stores (termCode).

Intent classification: free text → typed action

With vocabulary in place, conversational channels resolve free-form requests onto your defined actions. ClassifyIntent is a dry-run — it tells you what the utterance means without executing it:

{
  "@context": "https://schema.org/",
  "@type": "AssessAction",
  "additionalType": "ClassifyIntent",
  "object": {
    "@type": "Question",
    "text": "show me everything that's still in progress"
  }
}

The response carries the resolved action plus a confidence score and its source (pattern, vocab, or llm). Swap additionalType to ExecuteIntent to classify and dispatch in one call.

The cold → warm loop

When classification gets it wrong (or a human confirms a mapping), teach it — the mapping is stored as a LearnedPattern term and future utterances classify deterministically instead of falling back to an LLM:

{
  "@context": "https://schema.org/",
  "@type": "AssessAction",
  "additionalType": "LearnIntent",
  "object": {
    "@type": "Question",
    "text": "site-fixture: hand this off to"
  },
  "instrument": [
    {
      "@type": "PropertyValue",
      "name": "canonicalCommand",
      "value": "reassign"
    },
    {
      "@type": "PropertyValue",
      "name": "resolvedAction",
      "value": "update"
    },
    {
      "@type": "PropertyValue",
      "name": "resolvedEntity",
      "value": "Task"
    }
  ]
}

ForgetVocabTerm walks a bad mapping back. Teaching and forgetting are mutating — gate them behind an editor token; classification is a read.

Versioned, auditable contracts

Packs compose into published ontology versions, and every entity is stamped with the contract version it was written under — contract evolution is auditable instead of silent.

Where this shows up