Event-Driven Context Capture? Please help :) #533
Replies: 4 comments
-
|
Bumping this. Would appreciate some insight - happy to collaborate. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Yes, I'm working on something like a daemon option, similar to the Gateway that OpenClaw has, so that we can have scheduled tasks and push functionality. Thanks for raising this! |
Beta Was this translation helpful? Give feedback.
-
|
openclaw |
Beta Was this translation helpful? Give feedback.
-
|
The right pattern for this is MCP servers — each of those sources (Gmail, Calendar, Jira, Slack) has or will have an MCP server that plugs into Claude Code directly. When an MCP server is connected, PAI can query it inline during sessions. The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Goal
I want PAI to maintain awareness of my day-to-day communications and work:
So when I open Claude Code, my DA has full context on what’s happened since my last session and can reference it intelligently.
The Limitation I Hit
PAI hooks are session-lifecycle events (SessionStart, Stop, etc.), not background listeners. MCPs only fetch data when Claude Code is open and calls them.
This means:
The Question
What’s the recommended pattern for continuous context capture?
Option A: Session-based MCP pulls
Option B: External automation → File dumps
Option C: Hybrid
Option D: Something else I’m missing?
Specific Questions
Any examples, code snippets, or architectural guidance would be hugely helpful!
Beta Was this translation helpful? Give feedback.
All reactions