Skip to content

v2.1: Ambient Agent — system daemon that proactively offers help based on observed activity #743

Open

Description

@AmitoVrito

Summary

A synapsekit ambient system daemon that observes (opt-in per source) what the user is doing — files opened, terminal commands, git branches, browser tabs — and proactively offers help via system notifications.

Fits the framework

Design

from synapsekit.ambient import AmbientAgent, ObservationPolicy

agent = AmbientAgent(
    observe=ObservationPolicy(
        terminal=True,        # zsh/bash hook
        editor=True,          # LSP-based
        browser=False,        # opt-in per-domain
        screen=False,         # opt-in
    ),
    intervene_when=\"high_confidence_only\",  # or \"verbose\"
    backend=EdgeRuntime.local(),
)

Triggers

  • "You've been debugging this stack trace for 20 min — similar one was fixed in commit abc123 of repo X"
  • "You're about to rm -rf a path containing uncommitted changes"
  • "This Python import has a known security advisory"
  • "Three terminal commands ago you set DEBUG=true — still want it?"

Components

  • synapsekit ambient daemon (launchd/systemd unit included)
  • Source plugins: terminal, editor, git, browser, screen
  • Intent classifier — what is the user trying to do right now?
  • Intervention policy — when worth interrupting (cost vs benefit)
  • Notification adapter: macOS Notification Center, Linux libnotify, Windows Toast
  • Pause/resume + per-app exclusions
  • Privacy dashboard: synapsekit ambient privacy shows everything captured

Risks

  • Interruption fatigue → strict policy: must clear a confidence threshold
  • Privacy → all observations local; explicit per-source consent; encrypted at rest
  • Performance → low-power mode; sampling instead of full capture

Acceptance

  • False positive rate <5% on a labeled intervention test set
  • Daemon RAM <200MB idle
  • Full audit trail of every intervention
  • Tutorial: "How my ambient agent saved 4 hours this week"

Activity

  1. added this to the v2.1.0 milestone on Jun 25, 2026
  2. added
    enhancement
    agents
    v2.1
    ambient
    on Jun 25, 2026
  3. Abhay-Mmmm commented on Aug 2, 2026

    @Abhay-Mmmm
    Collaborator

    Working on this.

  4. added 2 commits that reference this issue on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agentsambientenhancementv2.1

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions