Add .NET self-learning architect agent#1070
Conversation
…delines and strategies
aaronpowell
left a comment
There was a problem hiding this comment.
I'm not sure I really understand this agent over the default agents combined with the .NET skills which can be installed via the plugin marketplace.
It refers to .NET 6, which has been EOL for nearly 18 months, and other than that there's not really anything .NET (or other) language/runtime specific in here.
Also, Copilot has memory built in so there's not a large need to define a memory system in an agent.
Have you got some examples of this agent in use and the outcomes it improves upon?
… and toolset, and update .NET version in core expertise
Hi @aaronpowell, thank you for the detailed feedback — I really appreciate you taking the time to review this carefully. You're absolutely right about .NET 6 — I've already updated the agent to target .NET 8+. On the broader question of how this differs from the default agents combined with .NET skills: the intent here is not to duplicate those capabilities, but to introduce a self-learning execution pattern on top of them — specifically designed for long-running, architecture-heavy work on a real codebase. The two key additions this agent provides are: Lessons Memories Together, these shift the agent from having a volatile, session-scoped understanding of a codebase to a more permanent, cumulative one — similar to how a developer naturally builds familiarity with a project over time. I've been using this pattern in my own work and found it effective in reducing repeated errors and improving continuity across sessions. An example of how lessons and memories are structured in practice can be found here: MediatorLite commit I am open to suggestions on how to better scope or present this so it's clearly additive to the existing .NET skills. |
How does it handle growth over time? Say after 6 months, 12, longer? the agent is always adding but does it remove? What if patterns change or fixes are adjusted since the agent created its memory? Does it not run the risk of repeating invalid patterns? |
Hi @aaronpowell, Thank you for the questions — they directly address the long-term durability of this pattern. Repeating Invalid Patterns In practice, I've observed the agent actively revising lessons and memories as it progresses through different tasks — it doesn't just append blindly. To make this behaviour explicit and enforceable, I've added a Learning Governance section to the agent file (see commit b307f0c) which mandates:
Handling Growth Over Time You raise a fair point about unbounded growth over 6, 12+ months. My current thinking is to leave growth management in the hands of the user, giving them flexibility to prune, archive, or restructure lessons and memories based on their own project lifecycle. However, I agree that adding explicit expiration and archival guidance into the governance section would make this more durable out of the box. I am happy to add:
I will add these if you feel it strengthens the agent sufficiently for inclusion. |
Pull Request Checklist
Description
New agent:
dotnet-self-learning-architectThis contribution adds a principal-level .NET architect agent with strong execution and governance guidance, including:
.github/Lessonsand.github/Memoriestemplates.LessonsSuggested,MemoriesSuggested, andReasoningSummary.Documentation was regenerated to include the new agent listing in README.agents.md.
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.