Imagine you have an AI coding assistant that learns directly from your local workflow, watching as you write code and tackle problems, your edits, preferences, and decision patterns. Understanding how you think, when to assist, and what kind of help matters most. It guides your reasoning, surfaces alternative solutions, and grows with you. After each session, it retrains on your interactions, becoming more accurate and better aligned with your style. CodeAssist is open source and available now as an early demonstration of assistance-game concepts applied to real-world software development.
Framework of CodeAssist
Assistance games, also known as cooperative inverse reinforcement learning, provide a framework in which agents learn directly from human interactions without requiring explicit feedback.
This approach captures preference signals implicitly, avoiding the noise and inconsistencies common in manual annotation and scaling more effectively than RLHF. While prior work has largely focused on simplified robotic assistance tasks, the methodology shows promise for broader, open-ended domains.
System Architecture
CodeAssist operates as a fully local web application composed of four key components:
(i) a Monaco-based editor where users solve locally stored coding problems,
(ii) a state service that records all edits, keystrokes, and interactions to generate on-device training data,
(iii) a solution tester that evaluates code against predefined test cases,
(iv) a dual-model setup consisting of a frozen LLM (Qwen2.5 via Ollama) and a trainable action-selection model that learns when and how to intervene.
Get Tuchie’s stories in your inbox
Join Medium for free to get updates from this writer.
After each coding session, users initiate a local training process that updates the assistant based on the edits they accepted, modified, or discarded.
How Learning Mechanism and Privacy Works
User interaction constitutes the primary training signal: retaining or removing model-suggested code provides implicit preference feedback that shapes the assistant’s behavior. This interaction loop mirrors the learning process of a junior collaborator who gradually adapts to the user’s style, level of autonomy, and preferred workflow. All data and model updates remain on the user’s device to ensure privacy. Trained models may optionally be uploaded to HuggingFace to earn activity points tracked on the Gensyn Testnet, enabling participation without compromising local control.
Implications and Future Directions
This initial implementation demonstrates the viability of assistance games for structured coding tasks and establishes a platform for broader application. By separating decision-making from code generation, CodeAssist is designed to support heterogeneous model and tool integrations in future releases. As self-hostable AI tools proliferate, the system aligns with a privacy-first, user-owned ecosystem. More broadly, the research highlights an important shift: routine coding work generates valuable training signals, and systems like CodeAssist allow developers to retain ownership of these signals while contributing to a decentralized collective network when desired.
- GitHub: github.com/gensyn-ai/codeassist
- Documentation: http://docs.gensyn.ai/testnet/codeassist/getting-started
- Leaderboard: dashboard.gensyn.ai
- Discord: discord.gg/gensyn








