Documentation Pages
Documentation
The Agent
The agent is what makes Vigil different from a simple filter or notification service. It doesn't match keywords or apply static rules — it reads, understands, and decides, building context over time the way a good human assistant would.
- Each watcher runs its own independent agent
- The agent is shaped by the instructions you've written and the memory it has accumulated from past emails
Reading an email
When an email arrives, the agent doesn't read it cold. Before looking at the new message, it loads everything relevant it already knows:
- The memories it has built up over past emails
- The current state of all active threads
- Any rules you've defined
This full context is what separates the agent from a simple classifier. It can recognize that a message from a vendor is the third in a dispute that started last week, that a payment hasn't arrived when one was expected, or that a deadline mentioned in passing two weeks ago is now tomorrow.
With that context assembled, the agent produces a structured analysis: who sent the email, what they're trying to accomplish, how urgent the situation seems, and what it connects to in existing context. The email body is discarded after analysis — what persists is the agent's interpretation, not the original content.
Making decisions
After analysis, the agent decides what to do. Your watcher configuration shapes this decision directly:
- System prompt — tells the agent what matters to you
- Reactivity level — sets the threshold above which it will interrupt you with an alert
Given all of that context, the agent picks an action: alert you, silently track the thread, mark it as resolved, or ignore it entirely. Every decision is logged with the agent's reasoning — including decisions to do nothing. If an alert surprises you, or if you expected an alert and didn't get one, the log tells you exactly what happened.
Proactive monitoring
The agent doesn't only run when new email arrives. On a schedule you control, it proactively reviews all your open threads looking for situations that might need attention.
- Threads that have gone quiet past your silence threshold
- Deadlines approaching without confirmation
- Commitments someone made that have gone without follow-up
This scheduled pass is what allows Vigil to catch things that never generate new email — the silence itself becomes a signal worth surfacing. For example: if a contractor said they'd send a revised proposal by Friday and it's now Monday with no reply, the agent can flag that not because a new email arrived, but because the thread has been quiet when it shouldn't be.
Talking to your agent
You can send messages directly to your agent from the dashboard. It has full access to everything it knows — your threads, your memories, your history — and can answer questions or take actions.
- Ask it what currently needs your attention
- Tell it to stop alerting you about emails from a particular sender
- Add a rule that changes how it interprets a class of messages
Changes made through chat are applied immediately and persist going forward as part of the agent's memory.