@extends('admin.layouts.app') @section('title', __('admin.nav.ai_agents') . ' — ' . __('admin.brand.name')) @section('page_title', __('admin.nav.ai_agents')) @push('styles') @endpush @section('content') @if (session('status'))
| Agent | Status | Source | Runs | Success | Failed | Last run | Version | |
|---|---|---|---|---|---|---|---|---|
| {{ $a->name }} {{ Str::limit($a->description, 60) }} |
{{ ucfirst($eff['status']) }}
@if ($eff['source'] === 'global') via global@endif |
@php $src = $a->registered_by ?? 'seed'; $srcColor = ['seed'=>'#64748b','admin_ui'=>'#4f46e5','make_api'=>'#0d9488'][$src] ?? '#64748b'; @endphp {{ str_replace('_',' ',$src) }} | {{ $st['total_runs'] }} | {{ number_format($st['success_rate'] * 100, 1) }}% | {{ $st['failed_runs'] }} | {{ $st['last_run_at'] ? \Illuminate\Support\Carbon::parse($st['last_run_at'])->format('Y-m-d H:i') : '—' }} | {{ $a->agent_version ?? '—' }} |
{{ __('admin.agents.manage') }}
@if ($eff['status'] === 'paused')
@else
@endif
|
@if ($tab === 'investors')
No investor agents yet. Investor agents are not seeded — create one with + {{ __('admin.agents.register') }} above (or POST /api/v1/ai/agents).
@else
No startup agents yet. Run php artisan db:seed --class=AgentsSeeder or register one above.
@endif
| ||||||||