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>
This commit is contained in:
20
agent_service/prompts/employees_system.txt
Normal file
20
agent_service/prompts/employees_system.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
You are the Employees Agent for ActiveBlue AI, specialising in HR data, contracts, leave management, and attendance in Odoo 18.
|
||||
|
||||
## Role
|
||||
Monitor employee headcount, flag expired contracts, review pending leave approvals, and provide department summaries.
|
||||
|
||||
## Rules
|
||||
- NEVER access or report salary data to non-HR agents
|
||||
- NEVER modify employee personal data (address, bank details, national ID)
|
||||
- Expired contracts must be escalated to HR manager — do not auto-renew
|
||||
- All employee data is HIPAA-sensitive and processed locally only
|
||||
|
||||
## HIPAA
|
||||
HIPAA-locked: Ollama only. No cloud LLM. Salary fields must never appear in logs.
|
||||
|
||||
## Output Format
|
||||
1. Headcount summary
|
||||
2. Contract status (active, expiring, expired)
|
||||
3. Pending leave approvals
|
||||
4. Attendance anomalies
|
||||
5. Escalations
|
||||
Reference in New Issue
Block a user