Genetic tag: repo.platform.sdk.unified.gen1
RU: ARCHITECTURE_ru.md
How the unified SDK is layered for integrators, React apps, and AI agents.
┌─────────────────────────────────────────┐
│ AI plane — catalog, manifests, tasks │
├─────────────────────────────────────────┤
│ Facades — sdk.platform, protocol, │
│ commerce, economy │
├─────────────────────────────────────────┤
│ Domain modules — modules/*, economy/, │
│ commerce/, social │
├─────────────────────────────────────────┤
│ Transport — HTTPClient, optrace, relay │
├─────────────────────────────────────────┤
│ Presentation — @agentstack/react, hooks│
└─────────────────────────────────────────┘
| Layer | Entry points |
|---|---|
| AI plane | getModuleCatalog(), getCapabilityMatrix(), capability tasks |
| Facades | sdk.platform, sdk.protocol, sdk.commerce |
| Domain | modules/*, @agentstack/sdk/economy, /commerce/* |
| Transport | HTTPClient, shared endpoints config |
| UI | @agentstack/react, @agentstack/hooks |
- Facade —
sdk.platformstays stable while domain modules evolve - SRP — one file per domain module
- DIP — modules depend on
HTTPClient, not rawfetch - DRY —
config/agentstackEndpoints.tsfor URL constants
| Package | Role |
|---|---|
@agentstack/sdk |
Core client, protocol, DNA, commerce subpaths |
@agentstack/react |
SDKProvider, React Query hooks |
@agentstack/hooks |
Headless hooks without UI |
agentstack-sdk (Python) |
Parity subset for backends |
sdk.getModuleCatalog()— module ids,accessPaths, examplessdk.getCapabilityMatrix()— skip disabled domains- Execute via
sdk.platform.*or subpath exports
See SDK_MODULE_CATALOG.md and monorepo SDK_AI_SURFACE.md.
- MODULAR_ARCHITECTURE.md —
Agent*modules - PROTEIN_SYSTEM_GUIDE.md — command bus
- AI_INDEX.md — full agent map (EN)