You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a ProductivityAgent worker to ClawSwarm that gives the swarm full access to a user's Google Workspace — specifically Google Calendar (read/write) and Gmail (read, reply, follow-up) — so the agent can manage schedules and handle email workflows autonomously.
Motivation
The existing worker agents cover search, development, and token operations. A productivity agent would let the swarm act as a true personal assistant: scheduling meetings, checking availability, drafting and sending replies, and following up on unanswered threads — all from a single conversational interface.
Proposed Capabilities
Google Calendar
Read — list upcoming events, check availability, find free slots
Write — create, update, and delete events; add attendees; set reminders
Smart scheduling — find mutual availability across multiple attendees and propose times
"What meetings do I have tomorrow?"
"Schedule a 30-minute call with alice@example.com on Thursday afternoon."
"Summarize my last 5 unread emails."
"Reply to the email from Bob about the Q1 report and say I'll review it by Friday."
"Follow up on any emails I haven't responded to in the last 3 days."
Notes
Credentials must never be committed to the repo — add credentials.json and token.json to .gitignore
Follow-up logic should be opt-in and have a configurable delay (default: 3 days)
All write operations (send, create event, delete) should confirm intent before executing unless the user explicitly enables auto-mode
Summary
Add a
ProductivityAgentworker to ClawSwarm that gives the swarm full access to a user's Google Workspace — specifically Google Calendar (read/write) and Gmail (read, reply, follow-up) — so the agent can manage schedules and handle email workflows autonomously.Motivation
The existing worker agents cover search, development, and token operations. A productivity agent would let the swarm act as a true personal assistant: scheduling meetings, checking availability, drafting and sending replies, and following up on unanswered threads — all from a single conversational interface.
Proposed Capabilities
Google Calendar
Gmail
Proposed Implementation
Follow the existing
create_*_agentpattern inclaw_swarm/agent/worker_agents.py:Auth is handled via OAuth 2.0 with a locally stored
token.json(standard Google API flow).Acceptance Criteria
claw_swarm/tools/google_tools.py— Calendar and Gmail tool functionscreate_productivity_agent()factory inworker_agents.pyfollowing existing patternsPRODUCTIVITY_SYSTEM_PROMPTcovering calendar and email workflowscredentials.json+token.json(standard Google flow)calendar,gmail.modifyProductivityAgentregistered in the main agent router / swarmEnvironment Variables
Example Prompts
Notes
credentials.jsonandtoken.jsonto.gitignore