4aad81e11e
Add three Hermes-inspired capabilities to Shira: - Skills system: firm-wide workflow templates (list/view/manage tools), 4 pre-seeded skills (case summary, hearing prep, direct access report, deadline tracker), auto-learning via post-conversation meta-prompt - Cross-conversation memory: per-lawyer profiles and per-case memory stored as bounded markdown files, injected into system prompts - Sub-agent delegation: spawn up to 3 child AgentRunner instances for parallel document analysis and complex multi-step tasks New files: skills.py, memory.py, delegate.py, learner.py, 4 SKILL.md Updated: agent_runner (6 new tools, depth/blocked_tools support), prompt_builder (skills/memory injection), route (memory loading, background learning), main.py (data dirs), Dockerfile (pyyaml, skills) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
550 B
Bash
22 lines
550 B
Bash
# shira-hermes configuration
|
|
PORT=3000
|
|
|
|
# Authentication — same key used by SmartAssistant to call this service
|
|
API_KEY=
|
|
|
|
# ai-gateway — OAuth proxy to Claude (internal Docker network)
|
|
AI_GATEWAY_URL=http://ai-gateway:3000
|
|
AI_GATEWAY_API_KEY=
|
|
|
|
# Claude model (passed through to ai-gateway)
|
|
CLAUDE_MODEL=sonnet
|
|
MAX_OUTPUT_TOKENS=4096
|
|
MAX_AGENT_ITERATIONS=10
|
|
|
|
# EspoCRM — for MCP tools
|
|
ESPOCRM_URL=https://espocrm.dev.marcus-law.co.il
|
|
ESPOCRM_API_KEY=
|
|
|
|
# Data directory — persistent volume for skills, memory, profiles
|
|
SHIRA_DATA_DIR=/opt/data
|