How mshcheglov1-ux/corporate-waters-ai-agent works
Saul is a continuously running personal AI chief of staff. Its primary workflow is Telegram or Slack input handled by the bot, interpreted by the Claude-backed brain, and answered through the messaging interface; the README also documents an HTTP API entry point. Memory, learned skills, identity guidance, scheduled work, and domain tools extend that workflow. Several capabilities are documented but their runtime wiring is unsampled, so only explicit README or excerpt-supported relationships are connected.
Main entry points: brain.py Claude brain · bot.py Message bot · file_ingest.py File ingestion · db.py SQLite memory store
Components 31
Agent runtime
- Message bot
tools/core/bot.py - Claude brain
tools/core/brain.py - Prompt context
tools/core/context.py - Identity guidance
- Procedural skills
tools/core/skills.py - HTTP API
tools/core/api.py
Memory and knowledge
- SQLite memory store
tools/core/db.py - Embedding model
tools/core/embeddings.py - File ingestion
tools/core/file_ingest.py - Knowledge graph
tools/knowledge/knowledge_graph.py - Memory graph export
memory/knowledge-graph/kg_graph_cli.py
Workspace and collaboration
- Calendar operations
tools/google-workspace/calendar.py - Gmail operations
tools/google-workspace/gmail.py - Slack integration
tools/slack/slack.py
Domain capabilities
- Web fetch stack
tools/web-research/web.py - Stealth browser
tools/web-research/browse.py - Recruiting ATS
tools/recruiting/huntflow.py - Confluence integration
tools/atlassian/confluence.py - Trello integration
tools/trello/trello.py
Background work
- Heartbeat jobs
tools/core/heartbeat.py - Job scheduler
tools/core/scheduler.py - Review triage
tools/automations/mobile_reviews_daily.py
Other components
- Telegram users
- Slack coworkers
- HTTP clients
- Claude CLI
- Google Workspace
- Slack
- Websites
- Huntflow ATS
- Atlassian Cloud
Connections 21
- Telegram users → Message bot: sends messages
README.md - Slack coworkers → Message bot: sends messages
README.md - HTTP clients → HTTP API: sends requests
README.md - Message bot → Claude brain: dispatches messages
README.md - Claude brain → Claude CLI: invokes subprocess
README.md - Claude brain → Prompt context: assembles prompts
- Claude brain → Message bot: returns answers
- Claude brain → Identity guidance: uses identity
README.md - Claude brain → Procedural skills: injects relevant skills
README.md - File ingestion → SQLite memory store: stores chunks
tools/core/file_ingest.py - File ingestion → Embedding model: creates embeddings
- Memory graph export → SQLite memory store: reads memories
memory/knowledge-graph/kg_graph_cli.py - Calendar operations → Google Workspace: uses Calendar API
tools/google-workspace/calendar.py - Gmail operations → Google Workspace: uses Gmail API
README.md - Slack integration → Slack: calls Slack API
tools/slack/slack.py - Web fetch stack → Websites: fetches pages
README.md - Stealth browser → Websites: browses pages
tools/web-research/browse.py - Recruiting ATS → Huntflow ATS: uses ATS
README.md - Confluence integration → Atlassian Cloud: calls REST API
tools/atlassian/confluence.py - Heartbeat jobs → Job scheduler: runs scheduled work
- Review triage → Slack: reads and replies
tools/automations/mobile_reviews_daily.py