CODEX_ADK/FRONTEND
jean-philippe 30575c6f77 feat: Integrate backend list agents endpoint
Backend team successfully fixed Swagger conflicts and implemented simple GET
endpoints. Frontend now integrates with GET /api/agents to list all agents.

Changes:
- agent_endpoint.dart:
  - Added fromInt() methods to all enums (AgentType, AgentStatus, ModelProviderType)
  - Updated AgentDto.fromJson() to handle integer enum values from backend
  - Added listAgents() method using HTTP GET /api/agents
  - Added imports: dart:async, dart:convert, dart:io, package:http

- agents_page.dart:
  - Updated _loadAgents() to call listAgents() API method
  - Removed placeholder delay, now uses real data from backend
  - Removed unused getwidget import

Backend Integration:
 Backend returns 5 test agents (seeded successfully)
 Enums transmitted as integers (CodeGenerator=0, Active=0, etc.)
 Frontend properly parses integer enums to Dart enum types
 GET /api/agents endpoint working and tested
 Full CRUD cycle now functional

Testing:
- Flutter analyze: 0 errors, 0 warnings
- Backend health check:  passing
- List endpoint:  returns 5 agents
- App running: http://localhost:8080

Phase 2 Complete: Frontend can now display agents from backend!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 20:28:45 -04:00
..
.claude-docs Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
android Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
assets/fonts Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
docs docs: Update Phase 2 completion status - Create Agent Dialog 2025-10-26 19:19:48 -04:00
images Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
ios Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
lib feat: Integrate backend list agents endpoint 2025-10-26 20:28:45 -04:00
linux Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
macos Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
scripts Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
test Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
web Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
windows Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
.gitignore Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
.metadata Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
analysis_options.yaml Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
api-schema.json feat: Complete API integration for Agents, Conversations, and Executions 2025-10-26 18:53:19 -04:00
build.yaml Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
claude.md Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
pubspec.lock Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
pubspec.yaml Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
README_API.md Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
README.md Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00
run_dev.sh Initial commit: CODEX_ADK (Svrnty Console) MVP v1.0.0 2025-10-26 18:32:38 -04:00

Svrnty Console

Sovereign AI Solutions - Control Panel

A Flutter-based management console for the Svrnty AI platform, providing a modern interface for monitoring, configuring, and controlling AI agents and infrastructure.

Features

  • Dashboard: Real-time status monitoring of backend services, agents, and system health
  • The Architech: AI infrastructure design and visualization (coming soon)
  • Agent Management: Configure and monitor AI agents
  • Analytics: Metrics and performance monitoring
  • Dark Theme: Professional dark mode with Svrnty brand colors

Tech Stack

  • Flutter 3.x - Cross-platform UI framework
  • GetWidget - Modern UI component library
  • Iconsax - Clean, modern icon set
  • Animate Do - Smooth animations
  • Custom Theming - Svrnty brand colors (Crimson Red #C44D58, Slate Blue #475C6C)

Project Structure

lib/
├── main.dart                    # App entry point
├── console_landing_page.dart    # Main console UI
├── theme.dart                   # Material theme configuration
├── components/
│   └── navigation_sidebar.dart  # Collapsible navigation
└── pages/
    └── architech_page.dart      # The Architech module

Getting Started

Prerequisites

  • Flutter SDK 3.9.2 or higher
  • Dart SDK 3.9.2 or higher

Installation

# Clone the repository
git clone [repository-url]
cd Console

# Install dependencies
flutter pub get

# Run the application
flutter run

Development

# Run tests
flutter test

# Analyze code
flutter analyze

# Build for production
flutter build macos  # or ios, web, etc.

Brand Fonts

  • Montserrat - Primary UI font
  • IBM Plex Mono - Code and technical content

License

Private - Svrnty AI Solutions