{% extends "base.html" %} {% block title %}{{ agent.name if agent else 'Agent' }} - Agent Wasp{% endblock %} {% block content %} {% if not agent %}
Agent not found (ID: {{ agent_id }})
{% else %}
{% if agent.status == 'running' %} {% elif agent.status == 'paused' %} {% elif agent.status == 'archived' %} {% else %} {% endif %}

{{ agent.name }}

{% if agent.status == 'running' %} running {% elif agent.status == 'paused' %} paused {% elif agent.status == 'archived' %} archived {% else %} idle {% endif %} {% if agent.autonomy_mode == 'full' %} FULL {% elif agent.autonomy_mode == 'semi' %} SEMI {% else %} ASSIST {% endif %} {% if agent.budget_exceeded %} BUDGET! {% endif %}
{% if agent.description %}

{{ agent.description }}

{% endif %}
{% if agent.status != 'archived' %} {% if agent.status in ['paused', 'idle'] %} {% else %} {% endif %} {% endif %}

Configuration

ID {{ agent.id[:20] }}…
Provider {{ agent.model_provider or '(global)' }}
Model {{ agent.model_name or '(global)' }}
Namespace {{ agent.memory_namespace[:22] }}{% if agent.memory_namespace|length > 22 %}…{% endif %}
Created {{ agent.created_at[:10] }}
Updated {{ agent.updated_at[:10] }}
{% if agent.allowed_capabilities %}

Allowed capabilities

{% for cap in agent.allowed_capabilities %} {{ cap }} {% endfor %}
{% else %} unrestricted {% endif %}

Cognitive Budget

{% if agent.budget_exceeded %}
Budget exceeded
{% endif %}
Planning tokens = 80 %}class="text-error"{% elif agent.budget_pct_planning >= 60 %}class="text-warning"{% endif %}> {{ agent.budget_used_planning }} / {{ agent.budget_max_planning }}
Steps executed = 80 %}class="text-error"{% elif agent.budget_pct_steps >= 60 %}class="text-warning"{% endif %}> {{ agent.budget_used_steps }} / {{ agent.budget_max_steps }}
{% if agent.identity_prompt %}

Identity Prompt

{{ agent.identity_prompt[:500] }}{% if agent.identity_prompt|length > 500 %}…{% endif %}

{% endif %}

Active Goals {{ agent.active_goal_count }}

All goals →
{% if agent.active_goal_ids %}
{% for gid in agent.active_goal_ids %}
{{ gid[:20] }}…
View
{% endfor %}
{% else %}

No active goals

{% endif %}

Messages {{ messages|length }}

{% if messages %}
{% for m in messages %}
from {{ m.from_agent_id[:20] }}… {{ m.message_type }} {% if not m.read %} new {% endif %}

{{ m.content }}

{{ m.created_at }}

{% endfor %}
{% else %}

No messages received

{% endif %}
{% endif %} {% endblock %} {% block extra_scripts %} {% if agent %} {% endif %} {% endblock %}