Skip to content

fix(demo): point make register at new agent module paths - #15

Merged
quentinP-hexamind merged 1 commit into
mainfrom
gp/fix/register-agent-module-paths
Jun 25, 2026
Merged

fix(demo): point make register at new agent module paths#15
quentinP-hexamind merged 1 commit into
mainfrom
gp/fix/register-agent-module-paths

Conversation

@guillaume-hexamind

Copy link
Copy Markdown
Contributor

Problem

After the agents were reorganized into org subpackages (clinic_org/, tech_org/, shared/), the make register target still referenced the old flat module paths (agent_server.agents.<name>_agent). Running make register (and therefore make demo) failed on the very first agent:

ModuleNotFoundError: No module named 'agent_server.agents.healthcare_agent'

Fix

Point each --agent / --tools spec at its new location:

agent new path
healthcare agents.clinic_org.healthcare.healthcare_agent
devops agents.tech_org.devops.devops_agent
itsm agents.tech_org.itsm.itsm_agent (+:TOOLS)
hr agents.shared.hr.hr_agent (+:TOOLS)

Verification

  • All four modules import cleanly with the new paths and expose :agent (and :TOOLS where used).
  • Scanned the rest of the repo for stale flat references — none outside the reorganized subpackages.
  • The runtime selector agent_server/select.py was already updated as part of the reorg and imports fine.

🤖 Generated with Claude Code

The agents were reorganized into org subpackages (clinic_org, tech_org,
shared), but `make register` still referenced the old flat module paths
(agent_server.agents.<name>_agent), so registration died on the first
agent with ModuleNotFoundError. Update each --agent/--tools spec to its
new location.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@quentinP-hexamind
quentinP-hexamind merged commit 13b0bc5 into main Jun 25, 2026
1 check passed
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.

2 participants