Agent Notes: background memory system that learns from emails, chats, and explicit
  saves

  - Background service (agent_notes.ts) runs periodically, collecting user-sent
  emails, copilot conversation history, and save-to-memory inbox entries
  - Agent (agent_notes_agent.ts) processes all sources with workspace tools, deciding
  what to update: user.md (timestamped facts), preferences.md (general rules),
  style/email.md (writing patterns), and topic-specific files as needed
  - save-to-memory builtin tool lets the copilot proactively note preferences during
  conversations
  - user.md and preferences.md injected into copilot system prompt on every turn;
  other files listed for on-demand access
  - Agent manages timestamp freshness on user.md: refreshes confirmed facts, removes
  stale transient ones
This commit is contained in:
arkml 2026-03-23 22:30:02 +05:30 committed by GitHub
parent c41586b85d
commit d191c00e4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 624 additions and 1 deletions

View file

@ -9,6 +9,7 @@ export const ServiceName = z.enum([
'voice_memo',
'email_labeling',
'note_tagging',
'agent_notes',
]);
const ServiceEventBase = z.object({