Skip to main content
The Palyra Web Console is organized into distinct functional domains called Sections. This architecture ensures that complex operational tasks—ranging from real-time chat and session management to low-level hardware inventory and security policy audits—are decoupled into maintainable React components while sharing a unified navigation and state management layer. Navigation is governed by a central metadata registry and a grouped hierarchy that maps logical operator domains to physical routes and UI components.

Section Metadata and Groups

The system defines 19 primary sections in CONSOLE_SECTIONS apps/web/src/console/sectionMetadata.ts#1-33. These are categorized into five NavigationGroup buckets apps/web/src/console/navigation.ts#26-52:
GroupLabelIncluded Sections
chatChatchat
controlObservabilityoverview, sessions, usage, logs, inventory, support
operationsControlapprovals, cron, channels, browser
agentAgentagents, skills, memory
settingsSettingsauth, access, config, secrets, operations

Data Flow: Navigation to Component

The ConsoleSidebarNav component renders the global navigation rail using CONSOLE_NAV_GROUPS apps/web/src/console/components/layout/ConsoleSidebarNav.tsx#30-68. When a user selects an item, the onSelect callback updates the app.section state in useConsoleAppState, and the ConsoleSectionContent switch-case renders the corresponding view apps/web/src/console/ConsoleSectionContent.tsx#26-97.

System Component Mapping

The following diagram bridges the logical navigation names used by operators to the underlying React components and API routes. Navigation to Code Entity Mapping Sources: apps/web/src/console/navigation.ts#26-103, apps/web/src/console/ConsoleSectionContent.tsx#26-97, apps/web/src/console/sections/AccessSection.tsx#118-127.

Major Console Sections

1. Overview and Diagnostics

The Overview section provides a high-level posture summary, while the Diagnostics (Operations) section handles technical deep-dives and audit logs.

2. Access and Inventory

Manages the trust relationship between the gateway and external devices or nodes.

3. Usage and Governance

Tracks resource consumption and enforces budget controls.

4. Config and Secrets

Handles the management of palyra.toml and sensitive vault-backed values.

5. Control (Routines, Channels, Browser)


Technical Interaction Model

The console sections interact with the backend via the ConsoleApiClient. The following diagram illustrates how a section (e.g., Access) utilizes hooks and the API client to perform stateful operations. Console Section Data Flow (Access Example) Sources: apps/web/src/console/sections/AccessSection.tsx#111-127, crates/palyra-daemon/src/transport/http/handlers/console/inventory.rs, crates/palyra-daemon/src/transport/http/handlers/console/devices.rs.

Section Summary Table

Section IDPrimary ComponentPrimary API EndpointPurpose
overviewOverviewSection/console/v1/healthSystem posture summary
sessionsSessionsSection/console/v1/sessionsAudit and manage chat runs
usageUsageSection/console/v1/usageToken and cost tracking
approvalsApprovalsSection/console/v1/approvalsHuman-in-the-loop gate
cronCronSection/console/v1/routinesAutomation scheduling
authAuthSection/console/v1/auth/profilesLLM provider credentials
secretsSecretsSection/console/v1/secretsVault management
Sources: apps/web/src/console/ConsoleSectionContent.tsx#26-97, apps/web/src/console/navigation.ts#54-74, apps/web/src/console/sectionMetadata.ts#1-33.