Initial commit: Egregore brain service

AI logic with Claude API integration, tool execution, and system prompts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
egregore 2026-02-02 11:37:48 +00:00
commit 5710c44821
6 changed files with 906 additions and 0 deletions

21
__init__.py Normal file
View file

@ -0,0 +1,21 @@
"""
Egregore Brain - AI reasoning and tool execution
This module handles:
- Claude API interactions
- System prompt generation with dynamic context
- Tool definition and execution
- Conversation processing
"""
from .tools import TOOLS, execute_tool
from .prompts import get_system_prompt, SYSTEM_PROMPT_BASE
from .conversation import process_conversation
__all__ = [
"TOOLS",
"execute_tool",
"get_system_prompt",
"SYSTEM_PROMPT_BASE",
"process_conversation",
]