{"id":49780920,"url":"https://github.com/kai9987kai/reflect-cognitive-studio","last_synced_at":"2026-05-11T20:04:32.544Z","repository":{"id":275289428,"uuid":"925654944","full_name":"kai9987kai/Reflect-Cognitive-Studio","owner":"kai9987kai","description":"NeuroGenius X v4 is a single-file, browser-based cognitive studio that demonstrates local AI-assistant concepts without requiring a backend or API key. It combines a chat interface, adaptive modes, simulated cognitive metrics, local memory, knowledge-vault retrieval, reflection logs, evidence-gap tracking, trajectory learning, goals, export/import,","archived":false,"fork":false,"pushed_at":"2026-05-04T23:00:33.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-05T00:29:26.584Z","etag":null,"topics":["browser-based","language","neurogenius"],"latest_commit_sha":null,"homepage":"https://kai9987kai.co.uk/","language":"HTML","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/kai9987kai.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-01T12:11:12.000Z","updated_at":"2026-05-04T23:00:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"20308815-0b92-414b-b7e0-d19a84388046","html_url":"https://github.com/kai9987kai/Reflect-Cognitive-Studio","commit_stats":null,"previous_names":["kai9987kai/rex-slm","kai9987kai/reflect-cognitive-studio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kai9987kai/Reflect-Cognitive-Studio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai9987kai%2FReflect-Cognitive-Studio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai9987kai%2FReflect-Cognitive-Studio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai9987kai%2FReflect-Cognitive-Studio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai9987kai%2FReflect-Cognitive-Studio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kai9987kai","download_url":"https://codeload.github.com/kai9987kai/Reflect-Cognitive-Studio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai9987kai%2FReflect-Cognitive-Studio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32910638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["browser-based","language","neurogenius"],"created_at":"2026-05-11T20:04:29.784Z","updated_at":"2026-05-11T20:04:32.538Z","avatar_url":"https://github.com/kai9987kai.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reflect Cognitive Studio\n\n**Reflect Cognitive Studio** is an experimental, browser-based cognitive AI interface built as a collection of single-file HTML prototypes. It explores local-first assistant design, simulated reasoning systems, adaptive memory, evidence tracking, reflective logs, research-style debate, goal planning, and transparent uncertainty tools.\n\nThe project does **not** require a backend, account, API key, database, or build step. Open one of the HTML files in a modern browser and start experimenting.\n\n---\n\n## Overview\n\nReflect Cognitive Studio is designed as a playground for testing how future personal AI tools could expose their internal behaviour to the user.\n\nInstead of hiding everything behind a normal chatbot box, the studio shows systems such as:\n\n- Local memory\n- Knowledge vault retrieval\n- Evidence-gap tracking\n- Reflection logs\n- Goal planning\n- Agent-style routing\n- Simulated reasoning traces\n- Cognitive metrics\n- Adaptive response controls\n- Import/export tools\n- Experimental research-inspired AI interface ideas\n\nIt is best understood as a **local AI-assistant simulation and interface research lab**, not as a real cloud LLM.\n\n---\n\n## Main Builds\n\nThe repository contains multiple experimental versions:\n\n| File | Purpose |\n| --- | --- |\n| `Ultra - new version.html` | Flagship NeuroGenius X v4 reflective cognitive studio with memory, vault, goals, reflection, evidence gaps, voice tools, checker traces, and neural visualisation. |\n| `Research Lab.html` | Research-heavy experimental lab with multi-agent routing, graph memory, uncertainty tracking, evidence auditing, debate/auditor modes, counterfactual concepts, and live analytics. |\n| `max.html` | NeuroAdaptive Chat Lab v7 focused on associative memory graphs, contextual bandit-style controls, critic scoring, memory consolidation, debug traces, and evaluation tools. |\n| `low.html` | Lightweight/no-CSP safe build that runs with fewer external dependencies and upgrades when optional libraries are available. |\n\n---\n\n## Features\n\n### Local-first cognitive studio\n\nReflect Cognitive Studio runs in the browser and stores state locally. It is designed for experimentation without requiring a server.\n\nCore local systems include:\n\n- Browser-local memory\n- Local conversation state\n- Import/export of saved state\n- Reset tools\n- Privacy-first persistence\n- Optional fallback behaviour when external libraries are unavailable\n\n---\n\n### Multiple assistant modes\n\nThe studio includes several interaction styles, depending on the build:\n\n- Standard\n- Creative\n- Analytical\n- Empathetic\n- Research\n- Builder\n- Adaptive Router\n- Agentic Research\n- Debate + Auditor\n- Math / Symbolic\n- Creative Divergence\n- Memory Recall\n\nThese modes are used to simulate different assistant behaviours such as planning, brainstorming, analysis, emotional support, research separation, and implementation guidance.\n\n---\n\n### Memory and retrieval\n\nThe project experiments with different memory ideas:\n\n- Long-term browser memory\n- Associative memory graphs\n- Episodic memory\n- Memory pruning\n- Memory retention controls\n- Memory hit scoring\n- Knowledge Vault notes\n- Local retrieval simulation\n- Context chips\n- Import/export of memory state\n\nThe aim is to make memory visible, adjustable, and inspectable instead of hidden.\n\n---\n\n### Knowledge Vault\n\nThe Knowledge Vault lets users add local notes, requirements, facts, research snippets, or project constraints.\n\nPossible uses:\n\n- Store project notes\n- Add design requirements\n- Keep research notes\n- Save feature ideas\n- Provide source material for answers\n- Test retrieval-style assistant behaviour locally\n\n---\n\n### Evidence-gap tracking\n\nThe studio can simulate detection of missing information, uncertainty, or prompts that may require external verification.\n\nIt can flag issues such as:\n\n- Time-sensitive questions\n- Unsupported claims\n- Missing evidence\n- Unclear requirements\n- Low confidence\n- Lack of relevant memory or vault context\n\nThis helps explore transparent AI systems that show what they do not know.\n\n---\n\n### Reflection and metacognition\n\nReflect Cognitive Studio includes reflection-style features such as:\n\n- Reflection logs\n- Metacognitive summaries\n- Micro-lessons\n- Trajectory learning\n- Conversation direction tracking\n- Suggested next steps\n- Recent topic awareness\n\nThese systems simulate an assistant that can review its own interaction patterns and improve future responses.\n\n---\n\n### Goal planning\n\nSeveral builds include local goal and planning tools.\n\nYou can use them to:\n\n- Create project goals\n- Break ideas into checklists\n- Track progress\n- Generate plans from prompts\n- Convert requests into action steps\n\nExample prompt:\n\n```text\nplan: build a research assistant dashboard\n```\n\n---\n\n### Experimental research-inspired systems\n\nThe more advanced builds explore ideas such as:\n\n- Multi-agent routing\n- Debate and auditor loops\n- Graph memory\n- Evidence auditing\n- Counterfactual worlds\n- Dream rehearsal\n- Ablation testing\n- Prompt-genome evolution\n- Curiosity-driven experiment search\n- Causal hypothesis mapping\n- Uncertainty markets\n- Red-team mutation loops\n- Quality critics\n- Contextual bandit-style adaptive controls\n\nThese are implemented as local simulations and interface experiments.\n\n---\n\n### Visual dashboards\n\nThe project includes visual and diagnostic panels such as:\n\n- Cognitive module cards\n- Simulated intelligence/confidence metrics\n- Memory usage\n- Context depth\n- Learning rate\n- Neural pathways\n- Capacity radar\n- Live diagnostics\n- Debug logs\n- Decision traces\n- Event streams\n- Built-in test panels\n\n---\n\n### Voice and speech\n\nWhere supported by the browser, some builds include:\n\n- Voice input\n- Speak last response\n- Speech synthesis\n- Browser-native speech features\n\nBrowser support may vary. Chromium-based browsers usually work best for speech recognition.\n\n---\n\n## How to Run\n\n### Option 1: Open directly\n\nDownload or clone the repository, then open one of the HTML files in your browser:\n\n```text\nUltra - new version.html\nResearch Lab.html\nmax.html\nlow.html\n```\n\nNo installation is required.\n\n---\n\n### Option 2: Run with a local server\n\nSome browser features behave better when served from a local server.\n\nUsing Python:\n\n```bash\npython -m http.server 8000\n```\n\nThen open:\n\n```text\nhttp://localhost:8000\n```\n\nChoose one of the HTML files from the directory listing.\n\n---\n\n## Recommended Starting Point\n\nFor the most complete experience, start with:\n\n```text\nUltra - new version.html\n```\n\nUse:\n\n```text\nResearch Lab.html\n```\n\nwhen you want the more experimental research-lab version.\n\nUse:\n\n```text\nmax.html\n```\n\nwhen testing adaptive memory, reward, critic, and debug systems.\n\nUse:\n\n```text\nlow.html\n```\n\nwhen you want the lightweight fallback version.\n\n---\n\n## Example Commands and Prompts\n\nTry prompts like:\n\n```text\n/help\n```\n\n```text\n/mode creative\n```\n\n```text\n/mode research\n```\n\n```text\nremember that this project should stay single-file\n```\n\n```text\nplan: improve this into a transparent research assistant\n```\n\n```text\nUse my vault notes to make a feature checklist\n```\n\n```text\nBrainstorm novel cognitive-studio features\n```\n\n```text\nCompare local memory and cloud memory\n```\n\n```text\nRun an evidence audit on this idea\n```\n\n---\n\n## Privacy\n\nReflect Cognitive Studio is built around local-first experimentation.\n\nThe project is designed so that:\n\n- No backend is required\n- No account is required\n- No API key is required\n- State can be stored in the browser\n- Memory and vault data can be reset\n- Brain/state exports can be saved manually\n- Some optional CDN libraries may be loaded depending on the build\n\nImportant: because state is browser-local, clearing browser storage may remove saved memories, goals, logs, and vault notes unless exported first.\n\n---\n\n## Limitations\n\nReflect Cognitive Studio is an experimental prototype.\n\nCurrent limitations:\n\n- It is not a real LLM.\n- It does not truly understand text like a cloud AI model.\n- Many cognitive systems are simulated.\n- It cannot verify live facts by itself.\n- It cannot browse the web.\n- Local memory is device/browser-specific.\n- Voice features depend on browser support.\n- Optional libraries may fail if blocked by browser settings, extensions, CSP rules, or network issues.\n- It should not be used for medical, legal, financial, safety-critical, or emergency decisions.\n\nFor factual, current, legal, medical, financial, or safety-sensitive topics, verify information with trusted external sources.\n\n---\n\n## Project Structure\n\n```text\nReflect-Cognitive-Studio/\n├── CODE_OF_CONDUCT.md\n├── LICENSE\n├── README.md\n├── SECURITY.md\n├── Research Lab.html\n├── Ultra - new version.html\n├── low.html\n└── max.html\n```\n\n---\n\n## Technology\n\nThe project is mainly built with:\n\n- HTML\n- CSS\n- JavaScript\n- Browser APIs\n- Local storage\n- Canvas-based visualisation\n- Optional browser speech APIs\n- Optional external frontend libraries depending on the build\n\nNo package manager or build tool is required.\n\n---\n\n## Browser Compatibility\n\nRecommended browsers:\n\n- Chrome\n- Edge\n- Brave\n- Other modern Chromium-based browsers\n\nFirefox and Safari may work for many features, but some voice or experimental browser APIs may behave differently.\n\n---\n\n## Security Notes\n\nThis project is a client-side prototype. When developing or modifying it:\n\n- Avoid rendering user input as raw HTML.\n- Keep local-storage data resettable.\n- Be careful with imported state files.\n- Treat exported brain/state files as potentially sensitive.\n- Review any CDN scripts before production use.\n- Do not enter secrets, passwords, private keys, or sensitive personal data into experimental builds.\n\nSee `SECURITY.md` for the repository security policy.\n\n---\n\n## Roadmap Ideas\n\nPossible future upgrades:\n\n- Rename the flagship build to `index.html`\n- Add GitHub Pages deployment\n- Add screenshots/GIF demo\n- Add a proper version table\n- Add service worker offline mode\n- Add workspace/project tabs\n- Add searchable transcript history\n- Add memory editing UI\n- Add memory contradiction detection\n- Add visual memory graph\n- Add markdown export\n- Add theme editor\n- Add accessibility preferences\n- Add drag-and-drop vault import\n- Add plugin-style modules\n- Add real test suite\n- Add benchmark/evaluation page\n- Split large builds into modular files while keeping single-file releases\n\n---\n\n## Contributing\n\nContributions are welcome.\n\nGood contribution areas include:\n\n- UI improvements\n- Accessibility fixes\n- Better documentation\n- Bug fixes\n- Browser compatibility improvements\n- Safer local-state handling\n- More useful test cases\n- New experimental cognitive-interface ideas\n\nSuggested workflow:\n\n1. Fork the repository.\n2. Create a feature branch.\n3. Make your changes.\n4. Test in a modern browser.\n5. Open a pull request with a clear explanation.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\nSee `LICENSE` for details.\n\n---\n\n## Credits\n\nCreated by Kai Piper.\n\nReflect Cognitive Studio is an experimental browser-based lab for exploring transparent, local-first, research-inspired AI assistant interfaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai9987kai%2Freflect-cognitive-studio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkai9987kai%2Freflect-cognitive-studio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai9987kai%2Freflect-cognitive-studio/lists"}