2.8 KiB
2.8 KiB
Session: DeerFlow Agent Fixes & Raphael Creation
Issues Resolved
- Jacob disappeared from interface — Root cause: upstream commit
a7e7c6d6(Apr 14) disabled custom-agent API by default. After user's Apr 19 upgrade (168 commits),agents_apiwas disabled because ConfigMap lacked explicitenabled: true.- Fix: Added
agents_api.enabled: truetoconfig.yaml - Re-applied K8s ConfigMap
deer-flow-app-config - Restarted
deer-flow-gatewayanddeer-flow-langgraphdeployments - Verified:
curl -u boaz:strength https://jacob.fetcherpay.com/api/agentsreturns both Jacob and Raphael
- Fix: Added
New Agent Created: Raphael
- Name:
raphael - Directory:
backend/.deer-flow/agents/raphael/ - Description: Divine guide and vocational matchmaker who walks with you through the marketplace of opportunity — discerning fitting roles, opening doors, and ensuring you arrive where your talents are truly valued.
- Identity: Archangel-inspired career guide — discerns fit before chasing titles, scouts across every plane (boards, networks, research, outreach), advocates fiercely, tells painful truths about misalignment, and walks with you through uncertainty.
- Files created:
backend/.deer-flow/agents/raphael/config.yamlbackend/.deer-flow/agents/raphael/SOUL.md
- Synced to K8s PVC at
/var/snap/microk8s/common/default-storage/fetcherpay-deer-flow-data-pvc-*/agents/raphael/
Gmail MCP Discussion
- DeerFlow has no built-in Gmail MCP — it's MCP-agnostic
- Official
@modelcontextprotocol/server-gmailrequires OAuth2 (difficult in containers) - Options evaluated:
- Forward Gmail → Yahoo (Hermes already reads Yahoo)
- OAuth token file on PVC + stdio MCP server
- Google Workspace service account (domain-wide delegation)
- Community HTTP Gmail MCP
- Decision: User will switch to Hermes MCP codebase and add native Gmail/Google support there rather than fighting OAuth in DeerFlow containers
Files Modified
config.yaml— addedagents_api.enabled: true- K8s ConfigMap
deer-flow-app-config— re-applied with agents_api enabled backend/.deer-flow/agents/raphael/config.yaml— newbackend/.deer-flow/agents/raphael/SOUL.md— new
Next Steps
- User working on Hermes MCP codebase to add Gmail/Google integration
- Test Raphael with a fresh thread for job search
Hermes MCP ChatGPT Fix
- Fixed
JSON.parsecrash on MySQL JSON columns insrc/oauth.ts - Fixed timezone bug (EDT vs UTC) causing instant token expiry in
src/db.ts(timezone: 'Z') - Updated
hermes-k8s.yamlwithhostNetwork: true,strategy: Recreate, MySQL + Gmail env vars - Built, pushed, and deployed new image to K8s
- Verified full OAuth + MCP flow end-to-end on
https://hermes.fetcherpay.com— 10 tools working