Class EmbabelDeclarationReader

java.lang.Object
ai.badmonkey.agentspaces.embabel.EmbabelDeclarationReader
All Implemented Interfaces:
AgentDeclarationReader

public final class EmbabelDeclarationReader extends Object implements AgentDeclarationReader
Reads an Embabel @Agent for the core binder (reviews/embabel-agentspaces-review-2026-11-12.md §7.2, §7.3), so a bean that is both an Embabel agent and a fleet worker gets one card, named by @Agent(name), carrying the @Agent description and the @AchievesGoal goals.

Every @Action is classified (§7.3). One that carries a space annotation of its own is the core binder's to bind, under that kind. One with no binding and exactly one entry parameter, an entry result, no precondition and no other parameters is a map of 1: the reader asks the binder for an implied take, advertised as an embabel-action with its space and served by writing the entry tagged aspace.action=<agent>.<method>. One with a parameter Embabel resolves is served the same way once a host registers a platform invoker (§7.8); until then it is advertised as local. What cannot be a map of 1 (several entry inputs, no entry result, a precondition on local state) is advertised as local, kept off the card, or, under advertise-unserved: invocable, advertised as it was before this reader.

Loaded by ServiceLoader with the defaults below; a host registers a configured instance through AgentSpaces.declarationReaders(List), which replaces the loaded one.

  • Constructor Details

    • EmbabelDeclarationReader

      public EmbabelDeclarationReader()
      The ServiceLoader constructor, with the default settings.
    • EmbabelDeclarationReader

      public EmbabelDeclarationReader(EmbabelDeclarationReader.Settings settings)
  • Method Details