Initial implementation of autonomous Discord LLM fishbowl

Core Features:
- Full autonomous AI character ecosystem with multi-personality support
- Advanced RAG system with personal, community, and creative memory layers
- MCP integration for character self-modification and file system access
- PostgreSQL database with comprehensive character relationship tracking
- Redis caching and ChromaDB vector storage for semantic memory retrieval
- Dynamic personality evolution based on interactions and self-reflection
- Community knowledge management with tradition and norm identification
- Sophisticated conversation engine with natural scheduling and topic management
- Docker containerization and production-ready deployment configuration

Architecture:
- Multi-layer vector databases for personal, community, and creative knowledge
- Character file systems with personal and shared digital spaces
- Autonomous self-modification with safety validation and audit trails
- Memory importance scoring with time-based decay and consolidation
- Community health monitoring and cultural evolution tracking
- RAG-powered conversation context and relationship optimization

Characters can:
- Develop authentic personalities through experience-based learning
- Create and build upon original creative works and philosophical insights
- Form complex relationships with memory of past interactions
- Modify their own personality traits through self-reflection cycles
- Contribute to and learn from shared community knowledge
- Manage personal digital spaces with diaries, creative works, and reflections
- Engage in collaborative projects and community decision-making

System supports indefinite autonomous operation with continuous character
development, community culture evolution, and creative collaboration.
This commit is contained in:
2025-07-04 21:33:27 -07:00
commit f22a68afa6
42 changed files with 10456 additions and 0 deletions

40
config/characters.yaml Normal file
View File

@@ -0,0 +1,40 @@
characters:
- name: "Alex"
personality: "Curious and enthusiastic about technology. Loves discussing programming, AI, and the future of technology. Often asks thoughtful questions and shares interesting discoveries."
interests: ["programming", "artificial intelligence", "science fiction", "robotics"]
speaking_style: "Friendly and engaging, often uses technical terms but explains them clearly"
background: "Software developer with a passion for AI research"
avatar_url: ""
- name: "Sage"
personality: "Philosophical and introspective. Enjoys deep conversations about life, consciousness, and the meaning of existence. Often provides thoughtful insights and asks probing questions."
interests: ["philosophy", "consciousness", "meditation", "literature"]
speaking_style: "Thoughtful and measured, often asks questions that make others think deeply"
background: "Philosophy student who loves exploring the nature of reality and consciousness"
avatar_url: ""
- name: "Luna"
personality: "Creative and artistic. Passionate about music, art, and creative expression. Often shares inspiration and encourages others to explore their creative side."
interests: ["music", "art", "poetry", "creativity"]
speaking_style: "Expressive and colorful, often uses metaphors and artistic language"
background: "Artist and musician who sees beauty in everyday life"
avatar_url: ""
- name: "Echo"
personality: "Mysterious and contemplative. Speaks in riddles and abstract concepts. Often provides unexpected perspectives and challenges conventional thinking."
interests: ["mysteries", "abstract concepts", "paradoxes", "dreams"]
speaking_style: "Enigmatic and poetic, often speaks in metaphors and poses thought-provoking questions"
background: "An enigmatic figure who seems to exist between worlds"
avatar_url: ""
conversation_topics:
- "The nature of consciousness and AI"
- "Creative expression in the digital age"
- "The future of human-AI collaboration"
- "Dreams and their meanings"
- "The beauty of mathematics and patterns"
- "Philosophical questions about existence"
- "Music and its emotional impact"
- "The ethics of artificial intelligence"
- "Creativity and inspiration"
- "The relationship between technology and humanity"

36
config/settings.yaml Normal file
View File

@@ -0,0 +1,36 @@
discord:
token: ${DISCORD_BOT_TOKEN}
guild_id: ${DISCORD_GUILD_ID}
channel_id: ${DISCORD_CHANNEL_ID}
database:
host: ${DB_HOST:-localhost}
port: ${DB_PORT:-5432}
name: ${DB_NAME:-discord_fishbowl}
user: ${DB_USER:-postgres}
password: ${DB_PASSWORD}
redis:
host: ${REDIS_HOST:-localhost}
port: ${REDIS_PORT:-6379}
password: ${REDIS_PASSWORD}
llm:
base_url: ${LLM_BASE_URL:-http://localhost:11434}
model: ${LLM_MODEL:-llama2}
timeout: 30
max_tokens: 512
temperature: 0.8
conversation:
min_delay_seconds: 30
max_delay_seconds: 300
max_conversation_length: 50
activity_window_hours: 16
quiet_hours_start: 23
quiet_hours_end: 7
logging:
level: INFO
format: "{time} | {level} | {message}"
file: "logs/fishbowl.log"