{"id":22548983,"url":"https://github.com/corzed/openo1","last_synced_at":"2026-05-07T10:35:56.172Z","repository":{"id":266909061,"uuid":"899735014","full_name":"Corzed/OpenO1","owner":"Corzed","description":"Open-source alternative to OpenAI's o1 model.","archived":false,"fork":false,"pushed_at":"2025-01-09T19:41:17.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T06:32:40.990Z","etag":null,"topics":["agents","ai","chatgpt","model","o1","openai","reasoning"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Corzed.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-06T22:33:53.000Z","updated_at":"2025-01-09T19:41:21.000Z","dependencies_parsed_at":"2024-12-06T23:25:38.348Z","dependency_job_id":"06142191-7484-4b76-b6db-f1ca11705d99","html_url":"https://github.com/Corzed/OpenO1","commit_stats":null,"previous_names":["corzed/openo1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Corzed/OpenO1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FOpenO1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FOpenO1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FOpenO1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FOpenO1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corzed","download_url":"https://codeload.github.com/Corzed/OpenO1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corzed%2FOpenO1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271415496,"owners_count":24755639,"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-21T02:00:08.990Z","response_time":74,"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":["agents","ai","chatgpt","model","o1","openai","reasoning"],"created_at":"2024-12-07T16:07:25.623Z","updated_at":"2026-05-07T10:35:56.133Z","avatar_url":"https://github.com/Corzed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenO1\n\nWelcome to **OpenO1**, an open-source self-reasoning AI chatbot (not $200 per month :O) that breaks down complex queries into logical, step-by-step reasoning to deliver precise and insightful answers.\n\n---\n\n## 🚀 Features\n\n1. **Step-by-Step Reasoning**: OpenO1 constructs logical reasoning steps to tackle queries systematically.\n2. **Interactive Logging**: Every reasoning step is logged and available for review.\n4. **Final Answer Generation**: The final result is generated with the Reasoning file as context to the request.\n\n---\n\n## 🛠️ Installation\n\nTo set up **OpenO1** locally, follow these steps:\n\n```bash\n# Clone the repository\ngit clone https://github.com/Corzed/OpenO1.git\n\n# Navigate to the project directory\ncd OpenO1\n```\n\n---\n\n## 💻 Usage\n\n### Running OpenO1\n1. **Start OpenO1**:\n   ```bash\n   python OpenO1.py\n   ```\n2. **Enter your query**: Type your question and let OpenO1 process it.\n3. **Interactive Post-Query Options**:\n   - Review the thought process.\n   - Save the final answer.\n   - Ask another question.\n   - Exit the chatbot.\n\n### Example Query:\nPrompt:\n```markdown\nHow many 'r's are in the word 'strawberry'?\n```\n\nReasoning:\n```markdown\nStep 1:\nTo determine how many 'r's are in the word 'strawberry', the first step is to analyze the spelling of the word itself. \n\n1. **Identify the letters in 'strawberry'**:  \n   The word 'strawberry' consists of the following letters: s, t, r, a, w, b, e, r, r, y.\n\nNext, I will count the occurrences of the letter 'r' in this list.\n\n**DECISION: CONTINUE**: The next step is to count how many times the letter 'r' appears in the word 'strawberry'.\n\nStep 2:\nNow, I will count the occurrences of the letter 'r' in the word 'strawberry':\n\n2. **Count the 'r's**:  \n   In the spelling: s, t, **r**, a, w, b, **e**, **r**, **r**, y, we can identify the positions of the 'r's:\n   - The first 'r' appears after 't' in the third position.\n   - The second 'r' appears after 'e' in the seventh position.\n   - The third 'r' appears after the second 'r' in the eighth position.\n\nNow, let's tally them up. \n\n**DECISION: STOP**: The counting process has concluded, and we have identified that there are a total of **three 'r's** in the word 'strawberry'.\n```\n\nOutput:\n```markdown\nThere are three 'r's in the word 'strawberry'.\n```\n\n---\n\n## 📂 File Structure\n\n- **`OpenO1.py`**: Main script to run the chatbot.\n- **`thought_log.txt`**: Log file containing reasoning steps.\n- **`final_answer.txt`**: File where the final answer can be saved.\n\n---\n\n## ⚙️ Configuration\n\n- **Environment Variable**: Set your OpenAI API key as an environment variable:\n  ```bash\n  export OPENAI_API_KEY='your-api-key'\n  ```\n\n- **Default Model**: `gpt-4o-mini` (can be changed in the script).\n\n---\n\n## 🤝 Contribution Guidelines\n\nWe welcome contributions! To contribute:\n1. Fork the repository.\n2. Create a feature branch.\n3. Commit your changes.\n4. Submit a pull request.\n\n---\n\n## 📝 License\n\nThis project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n### Questions or Feedback?\n\nFeel free to open an issue!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorzed%2Fopeno1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorzed%2Fopeno1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorzed%2Fopeno1/lists"}