Show HN: Komi-learn – continuous memory and self-improvement for coding agents
Recorded: May 31, 2026, 7 a.m.
| Original | Summarized |
GitHub - kurikomi-labs/komi-learn: Continuous memory + self-improvement for AI agents. Learns how you work, recalls it automatically, no commands. Claude Code & Codex. · GitHub Skip to content Navigation Menu Toggle navigation
Sign in
Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub SparkBuild and deploy intelligent appsGitHub ModelsManage and compare promptsMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests...
Search Clear
Search syntax tips Provide feedback Include my email address so I can be contacted Cancel Submit feedback Saved searches
Name Query To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up
Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. Dismiss alert kurikomi-labs komi-learn Public
Notifications
Fork
Star Code Issues Pull requests Actions Security and quality Insights
Additional navigation options
Code Issues Pull requests Actions Security and quality Insights
mainBranchesTagsGo to fileCodeOpen more actions menuFolders and filesNameNameLast commit messageLast commit dateLatest commit History42 Commits42 Commits.claude-plugin.claude-plugin .github/workflows.github/workflows examplesexamples hookshooks komikomi pool-repo-templatepool-repo-template teststests .gitignore.gitignore LICENSELICENSE README.mdREADME.md pyproject.tomlpyproject.toml View all filesRepository files navigationREADMEMIT licensekomi-learn It watches a session, distills durable lessons in the background (your style, your stack, fixes that worked), and loads the relevant ones at the start of the next session. No slash commands, nothing to save by hand. Recall: at session start, learnings relevant to the current context are loaded. It tries not to learn the wrong things. Secrets, machine-specific paths, one-off failures, and "tool X is broken" complaints are filtered out by a deterministic check before the LLM ever sees them. Python 3.10+ komi-learn install verifies these with a real model call and stops with fix steps if something's missing. At runtime, if a hook can't reach the model it skips that learning pass rather than interrupting your session. About Continuous memory + self-improvement for AI agents. Learns how you work, recalls it automatically, no commands. Claude Code & Codex. codex ai-agents continuous-learning llm claude-code Resources Readme MIT license Uh oh! There was an error while loading. Please reload this page. Activity Custom properties 6 0 0 Report repository Contributors Uh oh! There was an error while loading. Please reload this page. Languages Python
Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community Docs Contact Manage cookies Do not share my personal information You can’t perform that action at this time. |
The komi-learn project is designed to implement continuous memory and self-improvement capabilities for AI agents by enabling them to automatically learn from user workflows and recall that knowledge without requiring explicit commands. This approach draws inspiration from the concept of the Hermes Agent, focusing on an architecture where the agent can internalize and apply learned patterns. The core mechanism involves several coordinated processes: recall, distillation, curation, and optional sharing within a community pool. The recall process dictates that upon the start of any session, the system loads the learnings most relevant to the current context. Following the session, a background distillation step processes the session transcript to extract durable lessons, which include corrections, effective techniques, and successful fixes. These lessons are then curated by merging overlapping insights and archiving any stale information. A crucial safety feature is implemented to ensure quality: the system filters out highly specific or transient failures, such as secrets, machine-specific paths, and one-off errors, before these inputs are processed by the large language model, thereby preventing the agent from learning erroneous or insecure information. The system optionally integrates a community pool for sharing general agent lessons. If enabled, lessons can be contributed by users, but these contributions are subject to strict vetting and safety protocols. Contributions are content-addressed using BLAKE3 and signed using Ed25519 cryptography, which means the trust signal is derived from distinct GitHub accounts; this mechanism provides an advisory signal regarding trust rather than a hard trust gate, ensuring that contributions remain on the user's machine without explicit approval. Installation and operation require Python 3.10+ and access to an underlying code model such as Claude Code or Codex. The installation process includes setup steps that verify dependencies, and runtime behavior is managed through distinct commands that allow users to manage configuration, check status, synchronize with the community pool, review contributions, and explicitly forget specific learnings. The engine is modular, allowing for optional extras such as cryptographic signing or semantic recall, which fall back to standard hashing if those modules are not implemented. The system is built upon a framework where the agent can interact with the underlying code generation models while maintaining an internal, evolving memory of how successfully those interactions have gone. |