feat: initial shira-hermes service
Shira AI backend using OpenAI-compatible agent with tool-calling loop, replacing the smart-assistant route in ai-gateway. Components: - FastAPI adapter (same HTTP contract as ai-gateway) - Agent runner with agentic tool-calling loop via ai-gateway /v1/chat/completions - EspoCRM REST API client - 20 MCP tools (CRM, documents, legal assistance) - Prompt builder ported from ai-gateway JS to Python - SOUL.md personality definition - Dockerfile for Coolify deployment Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
# EspoCRM — for MCP tools
|
||||
ESPOCRM_URL=https://espocrm.dev.marcus-law.co.il
|
||||
ESPOCRM_API_KEY=
|
||||
Reference in New Issue
Block a user