Scott Idem
ed472ce9a0
feat: Intelligence Layer Phase 1 — orchestrator service
Adds the Gemini API orchestrator (ReAct tool loop → Claude responder):
Orchestrator engine + router:
- orchestrator_engine.py: Gemini API tool loop, Claude CLI handoff
- routers/orchestrator.py: POST /orchestrate (async job queue), GET /orchestrate/{job_id}
Tools (cortex/tools/):
- web.py: DuckDuckGo web search (no key required)
- ae_knowledge.py: ae_journal_search + ae_journal_entry_create (AE V3 API)
- ae_tasks.py: ae_task_list (reads agents_sync Kanban filesystem)
- files.py: file_read (path-allowlisted to safe dirs)
Config + deps:
- config.py: orchestrator, DuckDuckGo, and AE API settings
- requirements.txt: google-genai, duckduckgo-search
- .env.default: reference config with all new keys documented
Docs:
- CLAUDE.md, README.md, documentation/ added to repo
- Port references updated 7331 → 8000 throughout
- Default model updated to gemini-2.5-flash
Tested: ae_task_list, ae_journal_search, web_search all working end-to-end.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 19:37:49 -04:00
..
2026-03-18 19:37:49 -04:00
2026-03-17 23:44:21 -04:00
2026-03-18 19:37:49 -04:00
2026-03-06 03:41:00 -05:00
2026-03-06 03:41:00 -05:00
2026-03-18 19:37:49 -04:00
2026-03-17 21:52:54 -04:00
2026-03-10 23:38:39 -04:00
2026-03-06 03:41:00 -05:00
2026-03-17 21:10:07 -04:00
2026-03-16 23:04:26 -04:00
2026-03-18 19:37:49 -04:00
2026-03-17 21:22:32 -04:00
2026-03-18 19:37:49 -04:00
2026-03-18 19:37:49 -04:00
2026-03-17 22:38:11 -04:00
2026-03-06 03:41:00 -05:00
2026-03-10 23:38:39 -04:00