@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'))
{{ session('status') }}
@endif @if ($errors?->any())
{{ $errors->first() }}
@endif
🚀 {{ __('admin.nav.startups') }} {{ $counts['startups'] }} 👥 {{ __('admin.nav.investors') }} {{ $counts['investors'] }}
@csrf @php $typeDefault = old('agent_type', $type); @endphp

Agents can also self-register via POST /api/v1/ai/agents (Make).

Global: {{ ucfirst($global['status']) }} @if ($global['status'] === 'paused')
@csrf
@else
@csrf
@endif Global pause overrides individual agent status. Unrelated Numu automations keep running.
@forelse ($agents as $row) @php $a = $row['model']; $eff = $row['effective']; $st = $row['stats']; @endphp @empty @endforelse
AgentStatusSourceRunsSuccessFailedLast runVersion
{{ $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')
@csrf
@else
@csrf
@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
@endsection