New operator
Scope and Model → Quickstart Flow → Walkthrough
Use this path to validate end-to-end setup before deep tuning.
Powerhour Docs
This documentation is written for self-hosted operators. Route references describe in-app paths in your own deployment (for example /transactions), not a hosted web app endpoint.
Domain separation is explicit:
New operator
Scope and Model → Quickstart Flow → Walkthrough
Use this path to validate end-to-end setup before deep tuning.
Security reviewer
Security Model → Operations and Runtime → FAQ
Use this path to inspect controls, boundaries, and practical caveats.
Engineer contributor
Core Modules → API Domains → Implementation Map
Use this path to map features to code ownership quickly.
Quick orientation for non-engineering readers, with direct route context for operators and developers.
Daily financial posture with net worth, balances, category movement, and credit utilization in one command surface.
/, /accounts, /accounts/[id]
Ask direct financial questions, compare trend windows, audit recurring costs, and trigger report generation flows.
/ (embedded), floating chat on dashboard routes
Mode-driven planning for travel, savings targets, and spend reduction with persisted conversations.
/budget-planner, /projections
Search and filter transaction history, then organize records into groups for trip/project analysis.
/transactions, /transactions/groups, /transactions/groups/[id]
Detect recurring items, flag inactive subscriptions, estimate monthly/annual risk, and deactivate noise quickly.
/subscriptions, /projections
Encrypted tokens, restricted agent views, verified webhooks, and audit events for critical operations.
/settings, /api/webhooks/plaid, /api/audit-log
/login./settings./settings./, /accounts./transactions, /subscriptions, /projections.| Module | In-app routes | Purpose |
|---|---|---|
| Dashboard and analytics | /, /accounts, /accounts/[id] | Consolidated financial posture: KPI cards, net worth, account views, balance history, and trend visualizations. |
| Transactions and grouping | /transactions, /transactions/groups, /transactions/groups/[id] | Search, filters, pagination, group assignment, and suggestion workflows for transaction-level analysis. |
| Projections and recurring | /projections, /subscriptions | Recurring detection, shortfall forecasting, subscription audit, and savings trajectory views. |
| Budgeting and planning | /budgets, /budget-planner | AI-generated budget goals plus mode-based planner workflows for travel, savings, and spend reduction. |
| Settings and control plane | /settings | Scheduler toggles, institution management, sync controls, password changes, and audit event visibility. |
/api/auth/login, /api/auth/logout, /api/auth/me, /api/auth/change-password
/api/dashboard/summary, /api/dashboard/*-history, /api/dashboard/spending-trends, /api/dashboard/category-trends, /api/dashboard/channel-trends, /api/dashboard/credit-utilization
/api/accounts, /api/accounts/[id], /api/transactions, /api/transactions/summary, /api/transactions/daily, /api/transactions/merchants
/api/budget-goals, /api/budget-goals/generate, /api/budget-plans, /api/projections, /api/recurring, /api/savings-targets, /api/subscriptions
/api/ai/chat, /api/ai/budget-planner, /api/ai/report
/api/plaid/link-token, /api/plaid/exchange-token, /api/plaid/institutions, /api/sync, /api/webhooks/plaid
instrumentation.ts.lib/scheduler.ts.scripts/setup.js.docker/*./api/health and /api/settings/scheduler.| Area | Primary files |
|---|---|
| Runtime and routing | app/layout.tsx, app/(dashboard)/layout.tsx, middleware.ts, instrumentation.ts |
| Pages | app/(auth)/login/page.tsx and app/(dashboard)/*/page.tsx |
| API routes | app/api/**/route.ts |
| UI composition | components/dashboard/*, components/chat/*, components/budget-planner/*, components/charts/* |
| State and hooks | hooks/use-dashboard.ts, hooks/use-transactions.ts, hooks/use-accounts.ts, hooks/use-expense-groups.ts |
| AI and tools | lib/agent/agent.ts, lib/agent/budget-planner-agent.ts, lib/agent/tools/* |
| Domain logic | lib/projections.ts, lib/recurring.ts, lib/savings-projections.ts, lib/savings-targets.ts |
| Data model | lib/db/schema.ts, lib/db/views.ts, lib/db/migrations/* |
| Infra and deploy | docker/Dockerfile, docker/docker-compose.yml, docker/nginx/nginx.conf, scripts/* |