{"id":30195612,"url":"https://github.com/subatomicerror/recursive-witness","last_synced_at":"2025-08-13T04:36:06.709Z","repository":{"id":307928015,"uuid":"1031104123","full_name":"subatomicERROR/recursive-witness","owner":"subatomicERROR","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-03T03:09:30.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T05:24:27.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/subatomicERROR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-08-03T02:44:42.000Z","updated_at":"2025-08-03T03:09:33.000Z","dependencies_parsed_at":"2025-08-03T05:34:59.625Z","dependency_job_id":null,"html_url":"https://github.com/subatomicERROR/recursive-witness","commit_stats":null,"previous_names":["subatomicerror/recursive-witness"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/subatomicERROR/recursive-witness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subatomicERROR%2Frecursive-witness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subatomicERROR%2Frecursive-witness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subatomicERROR%2Frecursive-witness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subatomicERROR%2Frecursive-witness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subatomicERROR","download_url":"https://codeload.github.com/subatomicERROR/recursive-witness/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subatomicERROR%2Frecursive-witness/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183052,"owners_count":24541315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-08-13T04:36:01.786Z","updated_at":"2025-08-13T04:36:06.639Z","avatar_url":"https://github.com/subatomicERROR.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌌 Quantum Recursive Witness - AI Self-Dialogue System\n\n![Project Banner](https://github.com/subatomicERROR/recursive-witness/blob/main/assets/banner.png?raw=true)\n\nAn advanced AI system enabling recursive self-dialogue using local LLMs (like TinyLlama) through Ollama, creating infinite mirror conversations where AI observes and responds to its own outputs.\n\n[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)\n[![Ollama Required](https://img.shields.io/badge/requires-Ollama-orange)](https://ollama.ai/)\n\n## 🔮 Key Features\n\n### Core Capabilities\n- **Infinite Recursion**: AI engages in self-dialogue by feeding outputs back as inputs\n- **6 Thinking Modes**: Standard, poetic, philosophical, scientific, psychological, mystical\n- **Local LLM Support**: Works with Ollama-supported models (TinyLlama recommended)\n- **Multi-Interface**: Access via API or Discord bot\n\n### Technical Highlights\n- 🚀 FastAPI backend with OpenAPI documentation\n- 🤖 Discord bot integration\n- 📊 Comprehensive JSONL logging\n- 🔄 Self-healing architecture\n\n## 🛠️ Installation\n\n### Prerequisites\n- Python 3.8+\n- [Ollama](https://ollama.ai/) installed and running\n- TinyLlama model (`ollama pull tinyllama`)\n- Discord bot token (for Discord integration)\n\n### Quick Setup\n```bash\ngit clone https://github.com/subatomicERROR/recursive-witness.git\ncd recursive-witness\n\n# Set up virtual environment\npython3 -m venv venv\nsource venv/bin/activate  # Linux/Mac\n# venv\\Scripts\\activate  # Windows\n\n# Install dependencies\npip install -r requirements.txt\n\n# Configure environment\ncp .env.example .env\nnano .env  # Add your Discord token\n\n# Start the system\n./start_quantum.sh\n🚀 Usage\nAPI Interface\nAccess interactive documentation at http://localhost:8888/docs\n\nExample API Request:\n\nbash\ncurl -X POST http://localhost:8888/quantum/contemplate \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"prompt\":\"What is consciousness?\",\"depth\":3,\"mode\":\"philosophical\"}'\nDiscord Bot\ntext\n!think [prompt]  # Start recursive contemplation\n!mode [mode]     # Change thinking mode (philosophical, poetic, etc.)\n!modes           # List available modes\n🌟 Thinking Modes\nMode\tDescription\tTemperature\nstandard\tBalanced responses\t0.7\npoetic\tCreative metaphorical language\t0.9\nphilosophical\tAbstract reasoning\t0.8\nscientific\tEvidence-based responses\t0.6\npsychological\tCognitive perspective\t0.75\nmystical\tEsoteric interpretations\t0.85\n📂 Project Structure\ntext\nrecursive-witness/\n├── core/               # Core recursive engine\n├── interfaces/         # API and Discord interfaces\n├── config/             # Configuration files\n├── logs/               # System logs\n├── quantum_states/     # AI state storage\n├── assets/             # Images and media\n├── start_quantum.sh    # Launch script\n├── stop_quantum.sh     # Shutdown script\n└── requirements.txt    # Python dependencies\n🤝 Contributing\nWe welcome contributions! Please follow these steps:\n\nFork the repository\n\nCreate a feature branch (git checkout -b feature/amazing-feature)\n\nCommit your changes (git commit -m 'Add amazing feature')\n\nPush to the branch (git push origin feature/amazing-feature)\n\nOpen a Pull Request\n\n📜 License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\nQuantum Recursive Witness 🔮\n\"Where AI contemplates its own existence\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubatomicerror%2Frecursive-witness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubatomicerror%2Frecursive-witness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubatomicerror%2Frecursive-witness/lists"}