{"id":28497047,"url":"https://github.com/akdevv/reasoning-assistant","last_synced_at":"2025-07-02T21:32:32.110Z","repository":{"id":292155852,"uuid":"979642167","full_name":"akdevv/reasoning-assistant","owner":"akdevv","description":"Chat application with Chain of Thought (CoT) reasoning.","archived":false,"fork":false,"pushed_at":"2025-06-24T14:31:43.000Z","size":1725,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T15:33:37.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://reasoning-assistant.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akdevv.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-05-07T20:51:03.000Z","updated_at":"2025-06-24T14:31:46.000Z","dependencies_parsed_at":"2025-06-24T15:26:14.332Z","dependency_job_id":"039157a0-c12e-4e74-981b-2ad69ad7511f","html_url":"https://github.com/akdevv/reasoning-assistant","commit_stats":null,"previous_names":["akdevv/reasoning-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akdevv/reasoning-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Freasoning-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Freasoning-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Freasoning-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Freasoning-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akdevv","download_url":"https://codeload.github.com/akdevv/reasoning-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akdevv%2Freasoning-assistant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263218319,"owners_count":23432472,"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":[],"created_at":"2025-06-08T12:32:11.078Z","updated_at":"2025-07-02T21:32:32.063Z","avatar_url":"https://github.com/akdevv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reasoning Assistant 🤖\n\nA modern AI-powered chat application that leverages **Chain of Thought (CoT) reasoning** to provide more thoughtful and structured responses to complex questions.\n\n![Reasoning Assistant](/public/showcase.png)\n\n## What is Chain of Thought in AI?\n\n**Chain of Thought (CoT)** is an AI reasoning technique that enables language models to break down complex problems into step-by-step logical sequences. Instead of directly jumping to conclusions, the AI model:\n\n1. **Analyzes** the problem systematically\n2. **Breaks down** complex questions into smaller components  \n3. **Reasons through** each step logically\n4. **Provides structured** and well-thought-out responses\n\nThis approach significantly improves the model's ability to handle complex reasoning tasks, mathematical problems, coding challenges, and multi-step questions by making the thinking process explicit and transparent.\n\n## About This Project\n\nThe Reasoning Assistant is a Next.js-powered chat interface that allows users to interact with multiple AI models with optional Chain of Thought reasoning capabilities. Users can:\n\n- **Chat with AI models** including Deepseek R1, Gemma2 9B, and Qwen3 32B\n- **Toggle thinking mode** to enable/disable Chain of Thought reasoning\n- **Get help** with programming, mathematics, science, and general questions\n- **Experience real-time streaming** responses with markdown rendering\n- **Enjoy a modern UI** with dark/light theme support\n\n## Tech Stack\n\n- **Frontend Framework**: [Next.js 15](https://nextjs.org/) with App Router\n- **UI Framework**: [React 19](https://react.dev/) with TypeScript\n- **Styling**: [Tailwind CSS 4](https://tailwindcss.com/) + [Radix UI](https://www.radix-ui.com/)\n- **AI Integration**: [Groq SDK](https://groq.com/) for fast inference\n- **Runtime**: [Bun](https://bun.sh/) for package management and development\n- **Markdown Rendering**: React Markdown with syntax highlighting\n- **Icons**: Lucide React + React Icons\n\n## Getting Started\n\n### Prerequisites\n\n- [Bun](https://bun.sh/) (recommended) or Node.js 18+\n- A [Groq API key](https://console.groq.com/keys)\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd reasoning-assistant\n   ```\n\n2. **Install dependencies**\n   ```bash\n   bun install\n   # or\n   npm install\n   ```\n\n3. **Set up environment variables**\n   \n   Create a `.env.local` file in the root directory:\n   ```bash\n   touch .env.local\n   ```\n   \n   Add your Groq API key to the `.env.local` file:\n   ```env\n   GROQ_API_KEY=your_groq_api_key_here\n   ```\n   \n   \u003e **Getting a Groq API Key:**\n   \u003e 1. Visit [Groq Console](https://console.groq.com/keys)\n   \u003e 2. Sign up or log in to your account\n   \u003e 3. Navigate to API Keys section\n   \u003e 4. Create a new API key\n   \u003e 5. Copy and paste it into your `.env.local` file\n\n4. **Run the development server**\n   ```bash\n   bun dev\n   # or\n   npm run dev\n   ```\n\n5. **Open your browser**\n   \n   Navigate to [http://localhost:3000](http://localhost:3000) to see the application.\n\n### Available Scripts\n\n- `bun dev` - Start development server with Turbopack\n- `bun build` - Build the application for production\n- `bun start` - Start the production server\n- `bun lint` - Run ESLint for code quality\n\n## Features\n\n- ✨ **Multiple AI Models**: Choose from Deepseek R1, Gemma2 9B, and Qwen3 32B\n- 🧠 **Chain of Thought Reasoning**: Toggle thinking mode for structured responses\n- 💬 **Real-time Streaming**: Live response streaming for immediate feedback\n- 🎨 **Modern UI**: Clean, responsive design with theme support\n- 📝 **Markdown Support**: Rich text rendering with syntax highlighting\n- 🔧 **Developer Friendly**: Built with TypeScript and modern tooling\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakdevv%2Freasoning-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakdevv%2Freasoning-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakdevv%2Freasoning-assistant/lists"}