-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Define and implement a general Factory API that provides a consistent interface for creating, initializing, and managing all AGNTCY components within the App-SDK — including Identity, Catalog, Directory, Semantics, Transport, Workflow, Observability, and Security.
The goal is to establish a uniform abstraction that ensures interoperability between components, simplifies extension and testing, and enables consistent usage from applications like CoffeeAGNTCY and future AGNTCY-based projects.
Objectives:
• Define a base factory interface (ComponentFactory) with lifecycle methods for creation, registration, and teardown.
• Provide typed factories per subsystem (e.g., IdentityFactory, CatalogFactory, etc.).
• Align with AGNTCY architecture patterns (factory-of-factories).
• Enable dependency injection and composition for app developers.
• Publish the interface early to guide component evolution and SDK cohesion.
Deliverables:
• API spec and interface definitions in app-sdk/
• Integration hooks for each component
• Example use in coffeeAgntcy
• Developer documentation and usage examples