Guidebook of the Realm of Valkyr
A concise, hierarchical guide for LLMs and humans to navigate Valkyr’s code, documentation, and web platforms.
1. Introduction
This guidebook maps out:
- Core code modules and their responsibilities
- Website pages, routes, and components
- Key documentation and support links
- How subsystems interact
Use it as a one-stop reference for “where to find X” and “how Y relates to Z.”
2. Core Modules & Services
-
thorapi (Java Spring OpenAPI codegen)
- Path:
thorapi/ - Contains OpenAPI specs (
src/main/resources/openapi/*.yaml) - Generates REST controllers, models, repos under
generated/ - Primary for: API definitions, Java & TypeScript SDKs
- Path:
-
valkyrai (AI Backend)
- Path:
valkyrai/ - Spring Boot app, LLM orchestration via
LLMController.java - Config in
src/main/resources/application.yaml - Docs:
valkyrai/docs/(ACL fixes, security, compliance)
- Path:
-
web/typescript/valkyr_labs_com (Public Website)
- Path:
web/typescript/valkyr_labs_com/ - React/Next front-end using ThorAPI SDK (
src/thorapi/) - Components:
src/components/(Home, DynamicPricing, etc.) - Docs: Docusaurus-style in
docs/docs/Products/ThorAPI/Component Library
- Path:
-
gridheim (Legacy XLS/Developer guide)
- Path:
gridheim/ - Developer guide:
openxls-developers-guide.md
- Path:
-
docker/ (Containers & Dev Harness)
- Subfolders:
docker/local-harness/– local dev composedocker/thorapi-runner/– codegen runnerdocker/valkyrai/– AI service containerdocker/mindsdb/– ML integration
- Subfolders:
-
ValorIDE_docs/ (Agent Memory Bank)
- Paths:
activeContext.md,techContext.md... - Stores design decisions, progress, ADRs
- Paths:
3. Website Routes & Navigation
React Router Paths (from src/App.tsx)
/→ Home/roi-calculator→ ROICalculator/landingpage→ LandingPage/features→ Features/workflowtable→ WorkflowTable/subscribers→ AllMembers/about→ About/contact-us→ ContactUs/sign-up→ Signup/signup→ WhitePaperForm/login→ Login/forgot-password→ ForgotPassword/reset-password→ ResetPassword/valoride→ ValorIDE/visualizer→ OpenAPIViz/workflow/builder→ WorkflowBuilderReactFlow/vai→ Vai/thorapi→ ThorAPI/valkyrai→ ValkyrAI/openxls→ OpenXLS/valor→ Valor/fun→ Funnel/content-reader/:contentDataId→ ContentReader/library→ LibrarySection/user/:principalId→ UserDetail/workflow-designer/:workflowId→ WorkflowDesignerPage/dashboard→ SixDDashboard/app-dashboard→ Dashboard/userlist→ UserManagement/applications→ ApplicationList/hosting→ HostingControls/hosting/templates→ HostInstanceTemplates/application-detail/:applicationId→ ApplicationDetail/data-workbook→ DataWorkbook/contentlist→ ContentList/partner-program→ LandingPartnerProgram/application-editor→ ApplicationEditorPage/oas-editor→ OpenAPIEditor/openapi-designer→ OpenAPIDesigner/openapi-designer/:specId→ OpenAPIDesigner/openapi-workbench→ OpenAPIWorkbench/openapi-workbench/:specId→ OpenAPIWorkbench/admin/ops→ AdminWorkflowOps/agents→ AgentsHub/funnel/cxo→ Cxo/funnel/cxofunnel→ CxOFunnel/funnel/funnel-page→ FunnelPage/funnel/reseller→ Reseller/funnel/solo→ Solo/funnel/startup→ Startup/funnel/team→ Team/funnel/white-paper→ WhitePaper/funnel/thank-you→ ThankYou/cxo→ LandingCxO/pro→ LandingPro/team→ LandingTeam/open→ LandingFOSS/oldpricing→ Pricing (legacy)/pricing→ DynamicPricing/crm/*→ CRM App (nested routes)
NavbarMenu Links (see NavbarMenu.tsx)
Products
- ThorAPI:
/thorapi - CRM:
/crm - Hosting:
/hosting - Pricing ROI Calculator:
/roi-calculator - Valor IDE:
/valoride - ValkyrAI:
/valkyrai - OpenXLS:
/openxls
Resources
- Valkyr Labs Docs: https://valkyrlabs.com/v1
- Valkyr Labs Blog: https://valkyrlabs.com/v1/blog
- Valkyr Labs GitHub: https://github.com/ValkyrLabs
- Agents Hub:
/agents - API Visualizer:
/visualizer - Workflow Builder:
/workflow/builder - RSaaS Whitepaper:
/funnel/white-paper - About:
/about - Contact:
/contact-us
Key Pages & Components
-
Home
- File:
src/website/Home.tsx - Landing overview, feature highlights
- File:
-
Dynamic Pricing
- File:
src/website/DynamicPricing.tsx - Interactive demo of pricing engine
- File:
-
Component Library
- Docs:
docs/docs/Products/ThorAPI/Component Library - Source:
src/components/
- Docs:
4. Documentation & Support Links
-
Project READMEs
- Top-level:
README.md thorapi/README.mdweb/typescript/backend/README.md
- Top-level:
-
Product Docs
- ThorAPI:
docs/docs/Products/ThorAPI/ - ValkyrAI:
docs/docs/Products/ValkyrAI/launch/
- ThorAPI:
-
Internal Dev Guides
valkyrai/docs/(ACL, security)gridheim/openxls-developers-guide.md
-
Docker Guides
docker/local-harness/README.mddocker/lambda/README.mddocker/mindsdb/README.md
-
Memory Bank & ADRs
ValorIDE_docs/docs/adr/
5. Relationships & Workflows
-
API Spec → thorapi
- OpenAPI YAML → codegen → Java & TS models/services
-
Backend (valkyrai)
- Spring Boot uses generated repos/services for ACL & LLM calls
-
Frontend (valkyr_labs_com)
- RTK Query hooks auto-generated from ThorAPI spec
- UI components import from
@thorapi/model&@thorapi/redux/services
-
Testing
- Unit tests under
web/typescript/test/for UI - Integration tests via Spring Boot test suites in
valkyrai/src/test/java
- Unit tests under
-
Dev & Deployment
- Local harness:
docker/local-harness/ - CI builds: Maven in
pom.xml, Yarn for TS
- Local harness:
6. Quick-Start Paths
- API spec editing:
cd thorapi/ && mvn clean package - Backend run:
cd valkyrai/ && mvn spring-boot:run - Frontend run:
cd web/typescript/valkyr_labs_com/ && yarn start - Local Docker stack:
docker/local-harness/dev-up.sh
End of Guidebook