Add profile discoverability: list_profiles tool + system prompt injection
- AgentProfile: new short_description (1-line) and full_description (dict
  with specialization / when_to_use / key_tools) fields
- All 3 profile configs: structured descriptions added; list_profiles added
  to enabled_tools
- _build_system_prompt: now accepts full AgentProfile; injects compact
  "Available profiles" block into every system prompt so Navi always knows
  what other profiles exist and when to switch — dynamically, no hardcoding
- ListProfilesTool: new built-in; returns structured per-profile details
  (specialization, when_to_use, key_tools); accepts optional profile_id
  for single-profile lookup
- registry: register list_profiles_tool after profiles registry is built

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 69e91cb commit 62ad39fc3236af5412cfaa16787cb117afca50f4
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 16 Apr
Showing 9 changed files
View
navi/core/agent.py
View
navi/core/registry.py
View
navi/profiles/base.py
View
navi/profiles/developer/config.json
View
navi/profiles/loader.py
View
navi/profiles/secretary/config.json
View
navi/profiles/server_admin/config.json
View
navi/tools/__init__.py
View
navi/tools/list_profiles.py 0 → 100644