Skip to content

Comments

Migrates AI services to Agent Framework#94

Merged
fboucher merged 5 commits intov-nextfrom
feature/migrate-to-ai-agent-framework
Feb 15, 2026
Merged

Migrates AI services to Agent Framework#94
fboucher merged 5 commits intov-nextfrom
feature/migrate-to-ai-agent-framework

Conversation

@fboucher
Copy link
Owner

Migrates AI services to Microsoft AI Agent Framework and introduces a settings provider.
This change standardizes the AI service implementation and enables multi-provider support.

  • Uses ChatClientAgent from Microsoft.Agents.AI as provider-agnostic wrapper
  • Adds configurable provider settings through UI and Settings entity in Azure Table Storage
  • Includes a comprehensive unit test suite covering both ResearchService and SummaryService

Updates .gitignore to ignore the todos folder.

This prevents the todos folder from being tracked by Git.
Session: 2026-02-14-ai-agent-migration
Requested by: fboucher

Changes:
- Merged 4 decision(s) from inbox into decisions.md
- Consolidated overlapping decisions: Ripley, Newt, Hudson, Hicks migrations
- Logged session to .ai-team/log/2026-02-14-ai-agent-migration.md
- Updated agent histories with team decision notification
- Deleted 4 inbox decision files after merging
- Migrated ResearchService and SummaryService to use Microsoft.Agents.AI
- Added structured output support via AIJsonUtilities.CreateJsonSchema
- Updated services to use configurable API settings (API_KEY, baseUrl, modelName)
- Added AI provider configuration UI in Settings page (API_KEY, baseUrl, modelName)
- Created comprehensive test suite (31 tests) for AI services
- Updated package dependencies:
  - Added: Microsoft.Agents.AI (1.0.0-preview.260209.1)
  - Added: Microsoft.Extensions.AI.OpenAI (10.1.1-preview.1.25612.2)
  - Removed: Reka.SDK

All todos completed:
✅ Convert NoteBookmark.AIServices to use Microsoft AI Agent Framework
✅ Add AI provider settings to Settings page
✅ Configure services to use settings from UI

Co-authored-by: Ripley <lead>
Co-authored-by: Hicks <backend>
Co-authored-by: Newt <frontend>
Co-authored-by: Hudson <tester>
Migrates AI services to use a settings provider, enabling configuration from the database and falling back to IConfiguration.

This allows user-saved settings to take precedence over environment variables and adds handling for various date formats in the AI response. Also mask the API key on the server.
@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.Domain 4% 2%
NoteBookmark.AIServices 84% 0%
NoteBookmark.Domain 4% 2%
NoteBookmark.AIServices 84% 0%
NoteBookmark.Domain 83% 72%
NoteBookmark.ServiceDefaults 96% 75%
NoteBookmark.Api 81% 64%
NoteBookmark.Domain 83% 72%
NoteBookmark.ServiceDefaults 96% 75%
NoteBookmark.Api 81% 64%
Summary 53% (1368 / 2072) 34% (284 / 552)

@fboucher fboucher merged commit 4bcdd83 into v-next Feb 15, 2026
2 checks passed
@fboucher fboucher deleted the feature/migrate-to-ai-agent-framework branch February 15, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant