AnyaSelf Docs

Glossary

Key terms and concepts used throughout the AnyaSelf platform.

Platform Concepts

TermDefinition
HouseholdThe top-level data boundary in AnyaSelf. All members, items, outfits, missions, and purchase requests belong to a household. Equivalent to a "family account."
MemberA person within a household. Each member has their own wardrobe items, outfits, and style preferences.
AuraThe name of the AnyaSelf AI voice assistant. Implemented as a floating bubble overlay in the frontend, connected to Gemini Live via WebSocket.

AI & Missions

TermDefinition
MissionA stateful agent conversation managed by the Orchestrator. Each mission has a type (STYLE, POLL, CARTPREP, INTERACTIVE), a lifecycle state, and a conversation history.
Mission TypeThe behavioral mode of a mission: STYLE (styling advice), POLL (preference ranking), CARTPREP (cart automation), INTERACTIVE (browser session).
Plan StepAn individual step within a mission plan generated by the agent. Has states: PENDING → IN_PROGRESS → DONE / FAILED.
ToolAn internal HTTP API exposed to the LLM as a callable function. Examples: list_wardrobe, search_commerce, prepare_cart, create_hyperbeam_session.
ArtifactA structured output of a mission: MissionPlan, OutcomeSummary, BrowserRecording, Transcript, or AuditLog.
Reasoning EngineThe Vertex AI SDK component (LangchainAgent) that executes the LLM reasoning loop: receive input → choose tool → execute → synthesize response.

Wardrobe

TermDefinition
Wardrobe ItemA clothing piece or accessory owned by a household member. Has category, colors, seasons, occasions, images, and optional purchase metadata.
OutfitA curated composition of wardrobe items. Can be created by members or recommended by the agent.
Feed ItemA wardrobe item surfaced in the discover feed with engagement tracking (likes, saves, impressions).
CollectionA named grouping of feed items saved by a user (e.g., "Spring Inspiration", "Work Outfits").

Commerce

TermDefinition
OfferA normalized representation of a product from an external e-commerce source. Contains price, images, sizes, colors, and status.
Offer SourceWhere the offer originated: MERCHANT_FEED, AFFILIATE, RETAILER_DIRECT, or MANUAL_LINK.
Search ConstraintsA structured query object used to search offers: category, colors, season, brands, price range, sizes, keywords.
Match ScoreA 0-1 float indicating how well an offer matches search constraints, broken down into weighted features.

Purchases

TermDefinition
Purchase RequestA formal request to buy something, requiring guardian approval. Lifecycle: DRAFT → SUBMITTED → APPROVED → CART_READY → COMPLETED.
Purchase IntentCreated after approval, binds a purchase request to a specific checkout action with an ephemeral confirmation token.
Confirmation TokenA short-lived token (default 15min) used to authorize the final checkout action. Must be held in memory only.
GuardianA household member with PARENT/GUARDIAN role who can approve or reject purchase requests.

Browser Automation

TermDefinition
Hyperbeam SessionAn ephemeral cloud Chromium browser instance provided by the Hyperbeam API. Embeddable via iframe.
TakeoverThe user takes manual control of the Hyperbeam session. While in takeover, the agent cannot execute actions. The user can release control to let the agent resume.
DOM IndexingThe Chrome Extension running inside Hyperbeam sessions identifies interactive elements and reports them via events. The agent queries these indexed elements to perform structured actions.
Agent ActionA structured command sent to the Hyperbeam session: CLICK, TYPE, SCROLL, NAVIGATE, QUERY_ELEMENTS, SNAPSHOT.
CartPrep JobA headless browser automation task that navigates to a product page, selects size/color, and adds items to a cart.
Barge-InVoice interaction pattern where the user interrupts the agent mid-speech. Stops TTS playback and begins a new input turn.

Infrastructure

TermDefinition
Dual BackendEvery service supports PERSISTENCE_BACKEND=firestore (production) and inmemory (development) via the repository pattern.
Bridge EventAn event sent from the hyperbeam-bridge service to the orchestrator when session state changes (e.g., takeover start/end, page navigation).
Audit EventAn immutable ledger entry recording significant system actions. Categorized by severity (INFO, WARNING, CRITICAL) and category (MISSION_LIFECYCLE, PURCHASE_GATE, etc.).
Internal TokenA shared secret (X-Internal-Token header) used for machine-to-machine authentication between services.

On this page