Skip to main content
The Palyra Web Console is organized into functional sections that provide visibility and control over the daemon’s internal state. Each section maps to specific gRPC/HTTP handlers within the palyrad transport layer and uses specialized React hooks to manage domain-specific state.

Core Section Architecture

The console utilizes a centralized routing and content delivery mechanism. The ConsoleSectionContent component acts as a switch, rendering the appropriate domain view based on the current app.section state apps/web/src/console/ConsoleSectionContent.tsx#26-108.

Section-to-Code Mapping

Section NameReact ComponentPrimary API DomainData Flow Source
OverviewOverviewSection/console/v1/diagnosticsapp.overviewDiagnostics
SessionsSessionsSection/console/v1/sessionsapp.api.listSessions
UsageUsageSection/console/v1/usageuseUsageDomain
MemoryMemorySection/console/v1/memoryapp.memoryStatus
SkillsSkillsSection/console/v1/skillsapp.api.listSkills
AgentsAgentsSection/console/v1/agentsapp.api.listAgents
ChannelsChannelsSection/console/v1/channelsapp.channelsConnectors
AccessAccessSection/console/v1/inventoryuseInventoryDomain
ConfigConfigSection/console/v1/configuseConfigDomain
SecretsSecretsSection/console/v1/secretsapp.api.listSecrets
Sources: apps/web/src/console/ConsoleSectionContent.tsx#26-108, crates/palyra-daemon/src/transport/http/handlers/console/mod.rs#1-30

Technical Detail by Section

1. Overview & Operations

The Overview provides a high-level posture of the system, including attention items like pending approvals or degraded connectors apps/web/src/console/sections/OverviewSection.tsx#146-154. The Operations (Diagnostics) view provides lower-level runtime health, including model provider states, auth profile status, and self-healing incident logs apps/web/src/console/sections/OperationsSection.tsx#50-75.

2. Usage & Cost Tracking

The UsageSection visualizes token volume, run throughput, and estimated costs. It pushes time filters (24h, 7d, etc.) to the backend to ensure consistency between the UI and CLI exports apps/web/src/console/sections/UsageSection.tsx#145-147. It leverages useUsageDomain to fetch UsageTimelineBucket aggregates apps/web/src/console/sections/UsageSection.tsx#36-44.

3. Memory & Workspace

The MemorySection manages the RAG (Retrieval-Augmented Generation) pipeline. It handles:

4. Agents & Execution Backends

The AgentsSection manages the agent registry. It includes a multi-step wizard for creating agents with specific workspace roots, tool allowlists, and execution backend preferences (e.g., Wasm vs. Native) apps/web/src/console/sections/AgentsSection.tsx#55-76.

5. Access & Inventory

This section bridges the gap between the web console and physical nodes. It manages:

6. Config & Secrets

The ConfigSection provides a safe interface for mutating palyrad.toml. It supports redacted inspection, where sensitive values are masked unless explicitly revealed by the operator apps/web/src/App.config-access-support.test.tsx#37-40. The SecretsSection interacts with the palyra-vault via the /console/v1/secrets endpoint apps/web/src/App.config-access-support.test.tsx#70-88. Sources: apps/web/src/console/sections/OverviewSection.tsx#100-155, apps/web/src/console/sections/UsageSection.tsx#56-93, apps/web/src/console/sections/MemorySection.tsx#104-180, apps/web/src/console/sections/AgentsSection.tsx#164-223, apps/web/src/console/sections/AccessSection.tsx#64-109

Data Flow Diagrams

Console Data Ingestion and Domain Routing

This diagram illustrates how the ConsoleSectionContent acts as the dispatcher for domain-specific data fetched from the palyrad HTTP handlers. Title: Console Domain Data Flow Sources: apps/web/src/console/ConsoleSectionContent.tsx#26-108, crates/palyra-daemon/src/transport/http/handlers/console/mod.rs#1-30

Config and Secret Mutation Lifecycle

This diagram shows the transition from Natural Language Space (Operator Intent) to Code Entity Space (Vault and File System). Title: Config and Secret Mutation Flow Sources: apps/web/src/App.config-access-support.test.tsx#128-150, apps/web/src/console/sections/SecretsSection.tsx#1-10

Section Capability Catalog

The console uses a CapabilityCatalog to determine which features are available based on the daemon’s deployment posture.
Capability IDSectionDashboard ExposureCLI Handoff Command
config.mutateConfigdirectN/A (Web Managed)
gateway.access.verify_remoteAccesscli_handoffpalyra daemon dashboard-url --verify-remote
support.bundleSupportdirectN/A
policy.explainOperationsinternal_onlyN/A
Sources: apps/web/src/console/fixtures/m56ControlPlane.ts#5-104