ActiveBlue Build
|
fe47f950e4
|
feat(agents): add 7 specialist agents with tools and system prompts
Agents (all following 6-step contract: _plan/_gather/_reason/_act/_report):
- AccountingAgent: trial balance, chart of accounts, tax summary (HIPAA-locked)
- CrmAgent: pipeline summary, lead/opportunity management, won/lost analysis
- SalesAgent: sales orders, quotations, revenue by rep, expired quote detection
- ProjectAgent: task tracking, blocked/overdue detection, timesheet logging
- ElearningAgent: course completion, low-engagement flagging, next-course suggestion
- ExpensesAgent: expense sheets, pending approvals, policy violations (HIPAA-locked)
- EmployeesAgent: headcount, contracts, leaves, attendance, expired contract sweep (HIPAA-locked)
Tools (one file per domain):
- accounting_tools.py, crm_tools.py, sales_tools.py, project_tools.py
- elearning_tools.py, expenses_tools.py, employees_tools.py
System prompts: each agent has a domain-specific system.txt with rules and output format
All agents implement handle_peer_request() and sweep() for proactive monitoring
HIPAA-locked agents (accounting, expenses, employees) enforced via LLMRouter
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 18:04:32 -04:00 |
|
ActiveBlue Build
|
29409ed71d
|
feat(odoo): add activeblue_ai Odoo 18 module with OWL2 frontend
Models:
- ab.ai.bot: service URL, webhook secret, privacy mode, ping/dispatch
- ab.ai.directive: full directive lifecycle log with status tracking
- ab.ai.log: activity log with level/agent/record linkage
- ab.ai.agent.registry: agent list synced from agent service
Controllers:
- webhook.py: /ai/webhook/callback handles directive_completed, escalation, sweep_findings
- health_proxy.py: /ai/health proxies agent service detailed health
- approval.py: /ai/chat dispatch, /ai/approval/pending, /ai/approval/respond
Security:
- group_ai_user (chat) + group_ai_manager (configure, approve, logs)
- ir.model.access.csv for all 4 models
Views: list/form for bot, directives, logs, registry; main menu with AI brain icon
OWL2 frontend:
- systray_button.js: brain icon in top bar, status dot, pending approval badge
- ai_panel.js: slide-in chat panel, approval workflow, 30s poll for pending items
- CSS: slide-in animation, message bubbles, loading dots, approval section
Data: 4 cron jobs (ping, registry sync, directive/log cleanup)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 17:59:02 -04:00 |
|
ActiveBlue Build
|
430ab966b2
|
feat(service): add FastAPI agent service with 5 routers and Docker setup
- config.py: pydantic-settings with all env vars, privacy mode, per-agent overrides
- app_state.py: global singletons (pool, master agent, registry, llm_router, sweep)
- main.py: FastAPI lifespan startup — DB pool, LLM router, Odoo client, agents, master
- routers/dispatch.py: POST /dispatch with rate limiting and webhook secret auth
- routers/approval.py: GET /approval/pending, POST /approval/respond
- routers/registry.py: GET/POST /registry/agents, POST /registry/backend overrides
- routers/sweep.py: POST /sweep trigger, GET /sweep/status
- routers/health.py: GET /health, GET /health/detailed (DB/Odoo/Ollama checks)
- requirements.txt: pinned deps (fastapi, uvicorn, asyncpg, anthropic, alembic)
- Dockerfile: python:3.11-slim, single uvicorn worker
- docker-compose.yml: agent-service + postgres:15, bound to 192.168.2.47:8001
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 17:54:28 -04:00 |
|
ActiveBlue Build
|
dab6354d09
|
feat(finance): add FinanceAgent with full 6-step contract and FinanceTools
- FinanceAgent implements _plan/_gather/_reason/_act/_report lifecycle
- Proactive sweep flags 30+ day overdue invoices, auto-sends reminders >60d/>$1k
- PeerBus handler exposes overdue_summary, payment_history, financial_summary
- HIPAA-locked: Ollama only, no cloud LLM routing
- FinanceTools wraps OdooClient with 9 read/write methods on account.move
- finance_system.txt prompt enforces no-write-to-invoices rule
- research/finance_research.md documents Odoo 18 account model details
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-12 17:51:49 -04:00 |
|
ActiveBlue Build
|
4ca62ee54b
|
feat: add Master AI with directive builder and synthesis
|
2026-04-12 17:17:44 -04:00 |
|
ActiveBlue Build
|
21998f76aa
|
feat: add base agent and peer bus
|
2026-04-12 16:55:30 -04:00 |
|
ActiveBlue Build
|
9ab1f8bbf8
|
feat: add 3-tier memory layer
|
2026-04-12 16:51:39 -04:00 |
|
ActiveBlue Build
|
7d92c2ea6f
|
feat: add LLM abstraction layer (router, Ollama backend, Claude backend)
|
2026-04-12 16:46:18 -04:00 |
|
ActiveBlue Build
|
0e13b93e3a
|
feat: add Odoo XML-RPC client with connection pool and retry
|
2026-04-12 16:46:13 -04:00 |
|
ActiveBlue Build
|
34a65a485e
|
chore: add alembic migrations for memory and directive schema
|
2026-04-12 14:18:07 -04:00 |
|
ActiveBlue Build
|
bea58371c1
|
chore: add docker and traefik config for ai.activeblue.net
|
2026-04-12 14:17:32 -04:00 |
|
ActiveBlue Build
|
d1e8847cad
|
chore: initialize repo
|
2026-04-12 14:12:51 -04:00 |
|