{% extends "base.html" %} {% block title %}Dashboard{% endblock %} {% block content %}
{{ stats.total_contexts }}
Total Contexts
{{ stats.contexts_with_embeddings }}
With Embeddings
{{ stats.total_audit_entries }}
Queries Served
{{ stats.contexts_by_type.get('knowledge', 0) }}
Knowledge
{{ stats.contexts_by_type.get('preference', 0) }}
Preferences
{{ stats.contexts_by_type.get('history', 0) }}
History
Recent Activity
{% if recent_audit %}
{% for entry in recent_audit %} {% endfor %}
Timestamp Agent Task Contexts Tokens
{{ entry.timestamp.strftime('%Y-%m-%d %H:%M') }} {{ entry.agent_id or 'anonymous' }} {{ entry.task }} {{ entry.contexts_served|length }} {{ entry.tokens_used }}/{{ entry.tokens_budget }}

View all activity →

{% else %}

No activity yet

Start querying contexts to see activity here.

{% endif %}
Recent Contexts
{% if recent_contexts %}
{% for ctx in recent_contexts %} {% endfor %}
Type Content Tags Created
{{ ctx.type }} {{ ctx.content[:100] }} {% for tag in ctx.tags[:3] %} {{ tag }} {% endfor %} {% if ctx.tags|length > 3 %} +{{ ctx.tags|length - 3 }} {% endif %} {{ ctx.created_at.strftime('%Y-%m-%d') }}

View all contexts →

{% else %}

No contexts yet

Add your first context to get started.

{% endif %}
{% endblock %}