What this section is for
The home page serves as the central hub of the admin panel, providing a quick overview of key metrics, agent and knowledge base management, and access to core system functionality through convenient sidebar navigation.
How to access this section
- After system login — automatic redirect to home
- Logo click — from any admin panel section
- "Home" button in the sidebar navigation
- Direct link:
/ - Required permissions: Authorized user
Interface structure
Sidebar navigation
Main system navigation with sections:
Main sections
- Home — main page with overview
- My agents — AI agent management
- Knowledge — knowledge bases and documents
- Users — user management (for administrators)
- Models — catalog of available AI models
- Billing — payment and subscription management
Bottom section
- Theme switcher — Light Mode / Dark Mode
- User information — current user's email
- "Sign Out" button — secure system logout
Central content
Welcome Banner
Displayed for new users:
- "$10 Welcome Gift Added to Your Account" — startup bonus information
- Description — explanation that money was added for testing
- "Got it" button — hide banner after acknowledgment
Top section - Analytics and Balance
Analytics Grid: 4 cards with key metrics:
-
Active Users
- Icon: Users
- Shows number of unique users
- Percentage change compared to previous period
-
Active Agents
- Icon: Brain
- Number of working AI agents
- Activity change trend
-
Agents Work Time
- Icon: Timer
- Total time of task execution by agents
- Formatted in human-readable format
-
Total Cost
- Icon: DollarSign
- Amount spent on AI operations
- Currency depends on region ($ for Flutch, ₽ for Agentech)
Balance Card:
- "Account Balance" — current account balance
- Amount with correct currency
- "Add Funds" button — balance top-up
- States: loading, error, normal mode
Agents section
For new users (without agents):
- "Create your first agent" heading
- Template grid for quick first agent creation
- Interactive cards of various agent types
For users with agents:
- "My agents" heading
- Actions:
- "View All" — link with agent count
- Create button for new agent
- Agent list — first few created agents
Knowledge bases section
For users without knowledge bases:
- "Create your first knowledge base" heading
- "Create knowledge base" button — go to creation
For users with knowledge bases:
- "My knowledge bases" heading
- Actions:
- "View All" — link with total count
- "Create knowledge base" button — create new
- Knowledge base list — first few created bases
Component functionality
Analytics grid
Data source
- API request via React Query
- Period comparison — current vs previous
- Automatic updates when data changes
Formatting
- Numbers: abbreviated format (1K, 1.2M)
- Time: readable format (2h 30m, 45s)
- Currency: localized format with correct symbol
- Percentages: with + or - sign and color indication
Loading states
- Skeleton screens during loading
- Error message for API problems
- Empty state when no data available
Balance management
Balance display
- Current amount with localized currency
- Multi-currency support ($ / ₽)
- Formatting with thousand separators
Fund top-up
- "Add Funds" button — opens modal window
- TopUpModal — top-up interface
- Auto-update balance after operations
Error handling
- Error screen with retry button
- Retry function for API reconnection
- Graceful degradation when service unavailable
Welcome banner
Display logic
- Shows once for new users
- Status check via API on load
- Auto-hide after clicking "Got it"
Animations
- Smooth appearance on page load
- Hide animation when closing (300ms)
- Decorative elements — gradient shapes
Responsiveness and UX
Responsive design
- Mobile-first layout approach
- Adaptive grid for analytics
- Collapsible navigation on small screens
Loading states
- Skeleton screens for all sections
- Lazy loading components via React.Suspense
- Progressive loading of content
Accessibility
- Semantic HTML markup
- ARIA labels for interactive elements
- Keyboard navigation for all functions
- Screen reader support
Common usage scenarios
Scenario 1: New user first login
- After onboarding lands on home page
- Sees welcome banner with $10 gift
- Closes banner by clicking "Got it"
- Sees empty sections — suggestions to create first agent
- Clicks agent template — goes to creation
- After creation agent appears in list
Scenario 2: Daily work of existing user
- System login — immediately sees current analytics
- Checks metrics — user count, agent work time
- Controls expenses — looks at Total Cost and balance
- Manages agents — through quick actions on home
- Tops up balance if needed via "Add Funds"
Scenario 3: Performance monitoring
- Regularly checks analytics — metric change trends
- Compares periods — activity growth/decline
- Tracks cost — AI operations budget control
- Plans scaling based on activity metrics
Scenario 4: System navigation
- Uses sidebar menu to navigate between sections
- Switches theme when needed
- Returns to home by clicking logo
- Safely logs out via Sign Out button
Important limitations
- Analytics data updates with delay (not real-time)
- Balance may not sync instantly after operations
- Welcome banner shows only once
- Lazy loading may cause brief delays on first section visits
- Mobile version has limited functionality compared to desktop
Common problems and solutions
Problem: Analytics doesn't load
Solutions:
- Refresh page — possible temporary API unavailability
- Check internet connection
- Clear browser cache if problem persists
- If metrics show "0" — possibly no activity yet
Problem: Balance shows wrong amount
Solutions:
- Wait for automatic update (up to 30 seconds)
- Refresh page manually
- Check transaction history in Billing section
- Ensure top-up operation completed successfully
Problem: Welcome banner doesn't disappear
Solutions:
- Click "Got it" button again
- Wait for hide animation completion (300ms)
- Refresh page if banner still visible
- Clear browser localStorage as last resort
Problem: Sidebar navigation unresponsive
Solutions:
- Ensure JavaScript is enabled in browser
- Try refreshing page
- Check browser console for errors
- In mobile version ensure menu is expanded
Problem: Agent/knowledge base sections empty when they exist
Solutions:
- Wait for full data loading (skeleton screens disappear)
- Refresh page if data doesn't load
- Check access rights — agents might belong to another user
- Ensure you're in correct organization/company
Performance and optimization
Loading strategies
- Code splitting — components load on demand
- React.Suspense — smooth state transitions
- Lazy imports — reduce initial bundle size
Data caching
- React Query — automatic caching and invalidation
- Stale-while-revalidate — show cache while updating data
- Background refetch — updates without blocking UI
Performance monitoring
- Web Vitals — track key metrics
- Error Boundary — graceful error handling
- Performance monitoring — optimize bottlenecks
What's next?
After exploring the home page, it's recommended to:
- Agent management — create and configure AI assistants
- Work with knowledge bases — upload documents and information
- Analytics and metrics — detailed usage analysis
- Billing management — configure payments and plans