{"id":25900503,"url":"https://github.com/chihayayuka/open-o3","last_synced_at":"2025-10-26T22:31:55.601Z","repository":{"id":278772650,"uuid":"936734228","full_name":"ChihayaYuka/Open-o3","owner":"ChihayaYuka","description":"Run o3-pro on your computer. 🌌","archived":false,"fork":false,"pushed_at":"2025-03-01T10:25:43.000Z","size":56,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T11:25:00.631Z","etag":null,"topics":["ai","deep-learning","langchain","machine-learning","o3","openai","openai-o3"],"latest_commit_sha":null,"homepage":"https://lumenlab.cc/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChihayaYuka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T15:40:39.000Z","updated_at":"2025-03-01T10:25:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d135796-9675-48c4-bf52-f56ac5e0782a","html_url":"https://github.com/ChihayaYuka/Open-o3","commit_stats":null,"previous_names":["chihayayuka/open-o3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChihayaYuka%2FOpen-o3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChihayaYuka%2FOpen-o3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChihayaYuka%2FOpen-o3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChihayaYuka%2FOpen-o3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChihayaYuka","download_url":"https://codeload.github.com/ChihayaYuka/Open-o3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596277,"owners_count":19988045,"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","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":["ai","deep-learning","langchain","machine-learning","o3","openai","openai-o3"],"created_at":"2025-03-03T02:17:00.454Z","updated_at":"2025-10-26T22:31:55.522Z","avatar_url":"https://github.com/ChihayaYuka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![Logo](./.github/media/logo.png)\n\n\u003cbr\u003e\u003cbr\u003e\n\n# Open-o3\n\n[Blog](https://yuka.living/2025/02/26/open-o3-a-framework-for-exponentially-improving-llm-accuracy-through-systematic-resampling/) | [Website](https://lumenlab.cc) | [Feedback](https://github.com/ChihayaYuka/Open-o3/issues)\n\n\u003c/div\u003e\n\n\u003e [!TIP]\n\u003e This is a framework of reasoning, not a model.    You can use the framework on any LLM.\n\nOpen-o3 is the open-source version of OpenAI's o3.    This project aims to provide a powerful, open, and accessible language model for researchers and developers, advancing the field of artificial intelligence.    Open-o3 is committed to offering flexible and customizable interfaces to support various reasoning tasks such as numerical calculations, programming, logic reasoning, etc.    Through this open-source project, we hope to foster innovation and application of AI technology.\n\n## Project Description\n\nOpen-o3 is an efficient and scalable language model, which is an open-source reproduction of OpenAI's o3 model.    Our goal is to provide developers and researchers with a reliable and easy-to-use tool to help them implement and explore smarter and more complex natural language processing applications.\n\n## Features\n\n- **Systematic Resampling**: Implements OpenAI's o3 approach to exponentially improve accuracy through iterative reasoning.\n- **Model-Agnostic**: Compatible with any LLM, allowing you to leverage your preferred model.\n- **Result Tracking**: Save and analyze reasoning paths to improve performance.\n- **Customizable Prompts**: Tailor the system prompt to your specific use cases and domains.\n- **Extensible Architecture**: Easily build upon the core framework for specialized applications.\n\n## Quick Start\n\n### Basic Usage\n\n```python\nfrom open_o3 import o3\n\nsystem_prompt = \"You are a large reasoning model Open-o3 developed by Lumen Lab.\"\nreasoner = o3(system_prompt=system_prompt, enable_tda=True, save_results=True)\nreasoner.run_example()\n```\n\n### Advanced Configuration\n\n```python\nfrom open_o3 import o3\n\n# Custom configuration\nreasoner = o3(\nsystem_prompt=\"You are specialized in solving mathematical problems.\",\nmodel=\"deepseek-r1\",\nmax_iterations=5,\ntemperature=0.7,\nenable_tda=True,\nsave_results=True,\nresult_path=\"./reasoning_logs/\"\n)\n\n# Solve a specific problem\nresult = reasoner.solve(\"What is the integral of x²?\")\nprint(result)\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `system_prompt` | str | Required | Initial instructions for the model |\n| `model` | str | \"deepseek-r1\" | The LLM to use |\n| `enable_tda` | bool | False | Whether to use TDA |\n| `max_iterations` | int | 3 | Maximum reasoning iterations |\n| `temperature` | float | 0.8 | Sampling temperature for the model |\n| `save_results` | bool | False | Whether to save reasoning paths |\n| `result_path` | str | \".   /results/\" | Path to save reasoning logs |\n\n## Examples\n\n### Mathematical Reasoning\n\n```python\nresult = reasoner.solve(\"Solve for x: 2x² + 5x - 3 = 0\")\n```\n\n### Code Generation\n\n```python\ncode = reasoner.solve(\"Write a function to check if a string is a palindrome in Python\")\n```\n\n### Logical Reasoning\n\n```python\nanalysis = reasoner.solve(\"If all A are B, and some B are C, what can we conclude about A and C?\")\n```\n\n## Usage Example\n\n```python\nsystem_prompt = \"You are a large reasoning model Open-o3 developed by Lumen Lab.\"\nreasoner = o3(system_prompt=system_prompt, enable_tda=True, save_results=True)\nreasoner.run_example()\n```\n\n## Development and Contribution\n\nWe welcome contributions in any form, whether it's reporting bugs or submitting new features.    To contribute, you can:\n\n1. Create a new issue to report a problem or suggest a new feature.\n2. Fork the repository and develop new features or fix bugs on your own branch.\n3. Submit a pull request.\n\n## Roadmap\n\n- [ ] Multi-model ensemble reasoning\n- [ ] Fine-tuning support for specific domains\n- [ ] Performance benchmarks against other reasoning frameworks\n- [ ] Community templates for common reasoning tasks\n\n## Citation\n\nIf you use Open-o3 in your research, please cite:\n\n```bibtex\n@software{Open-o3,\nauthor = {Lumen Lab},\ntitle = {Open-o3: A Framework for Exponentially Improving LLM Accuracy},\nurl = {https://github.com/ChihayaYuka/Open-o3},\nyear = {2025},\n}\n```\n\n## License\n\nThis project is licensed under the MIT License, allowing you to freely use, modify, and distribute the code.    For more details, please refer to the [LICENSE](LICENSE) file.\n\n## Contact Information\n\nIf you have any questions, suggestions, or feedback, feel free to contact us via the following methods:\n\n- Email: [yuka@lumenlab.cc](mailto:yuka@lumenlab.cc)\n- GitHub Issues: [https://github.com/ChihayaYuka/Open-o3](https://github.com/ChihayaYuka/Open-o3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchihayayuka%2Fopen-o3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchihayayuka%2Fopen-o3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchihayayuka%2Fopen-o3/lists"}