{"id":26321510,"url":"https://github.com/jordanrl/lunaai","last_synced_at":"2026-02-12T20:31:55.853Z","repository":{"id":281043189,"uuid":"943738852","full_name":"JordanRL/LunaAI","owner":"JordanRL","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-07T18:16:10.000Z","size":584,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T10:41:57.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JordanRL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-06T07:28:37.000Z","updated_at":"2025-03-07T18:16:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d04d91c-cffb-4990-9c32-7767f20edcbf","html_url":"https://github.com/JordanRL/LunaAI","commit_stats":null,"previous_names":["jordanrl/lunaai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JordanRL/LunaAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanRL%2FLunaAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanRL%2FLunaAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanRL%2FLunaAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanRL%2FLunaAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JordanRL","download_url":"https://codeload.github.com/JordanRL/LunaAI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanRL%2FLunaAI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29380604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-15T16:17:34.881Z","updated_at":"2026-02-12T20:31:55.848Z","avatar_url":"https://github.com/JordanRL.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LunaAI\n\nLunaAI is a multi-agent personality system designed to produce the most human-like simulation of consciousness possible in conversation with modern LLMs.\n\n## Features\n\n- **Multi-Agent Architecture**: Specialized agents handling different aspects of cognition and conversation\n- **Emergent Behaviors**: Carefully structured system prompts, agent design, and tools allowing for emergent consciousness-like behaviors\n- **Emotion Processing**: Simulation of emotional responses and relationship development\n- **Memory Systems**: Short and long-term memory mechanisms for contextual awareness\n- **Self-Reflection**: Internal thought processes for deeper reasoning capabilities\n- **Persona Evolution**: Dynamic personality development based on interactions\n- **Multi-Provider Support**: Flexible adapter interface supporting multiple LLM providers\n\n## LLM Provider Support\n\nLuna now supports multiple LLM providers through a unified adapter interface:\n\n- **Anthropic**: Claude models (default)\n- **OpenAI**: GPT-4 models\n- **Google**: Gemini models\n\nYou can easily switch between providers by setting the `PROVIDER` environment variable:\n\n```bash\n# Use Anthropic Claude (default)\nexport PROVIDER=anthropic\n\n# Use OpenAI GPT\nexport PROVIDER=openai\n\n# Use Google Gemini\nexport PROVIDER=gemini\n```\n\n### Provider Feature Comparison\n\n| Feature | Anthropic | OpenAI | Gemini |\n|---------|-----------|--------|--------|\n| Text Generation | ✅ | ✅ | ✅ |\n| Tool Calling | ✅ | ✅ | ✅ |\n| System Instructions | ✅ | ✅ | ✅ |\n| Content Blocks | ✅ | ❌ | ✅ |\n| Thinking Blocks | ✅ | ❌ | ❌ |\n| Image Input | ✅ | ✅ | ✅ |\n| Streaming | ✅ | ✅ | ✅ |\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/luna-ai.git\ncd luna-ai\n\n# Set up development environment\n./scripts/setup_dev.sh\n\n# Set up your API keys (for the providers you want to use)\nexport ANTHROPIC_API_KEY=your_key_here\nexport OPENAI_API_KEY=your_key_here\nexport GEMINI_API_KEY=your_key_here\n\n# Set your preferred provider (optional, defaults to anthropic)\nexport PROVIDER=anthropic\n```\n\n## Development\n\n### Code Quality Tools\n\nThe project uses several tools to maintain code quality:\n\n- **Black** for code formatting\n- **isort** for import sorting\n- **flake8** for linting\n- **mypy** for type checking\n- **pytest** for testing\n\n### Development Commands\n\n```bash\n# Format code\n./scripts/format.sh\n\n# Run linting checks\n./scripts/lint.sh\n\n# Run tests\n./scripts/test.sh\n\n# Run specific test sets\n./scripts/test.sh --unit\n./scripts/test.sh --integration\n\n# Run tests with coverage\n./scripts/test.sh --coverage\n\n# Compare responses from different LLM providers\n./scripts/compare_adapters.py \"Your question here?\"\n\n# Compare providers with tools enabled\n./scripts/compare_adapters.py \"Calculate 25 * 16\" --with-tools\n```\n\n## Project Structure\n\n- `adapters/`: External service interfaces\n- `core/`: Core application logic\n- `domain/`: Business models and tools\n  - `models/`: Domain model classes\n  - `tools/`: Specialized tools for different capabilities\n- `services/`: Business logic services\n- `system_prompts/`: Agent prompts and configuration\n- `config/`: Application configuration\n- `tests/`: Unit and integration tests\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanrl%2Flunaai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordanrl%2Flunaai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanrl%2Flunaai/lists"}