Skip to content

chore(agent-service): remove deprecated Python CrewAI service - #60

Merged
zvonimirfras merged 1 commit into
IBM:mainfrom
zvonimirfras:chore/remove-python-agent-service
Nov 26, 2026
Merged

zvonimirfras merged 1 commit into
IBM:mainfrom
zvonimirfras:chore/remove-python-agent-service

Conversation

@zvonimirfras

Copy link
Copy Markdown
Member

Removes the deprecated Python FastAPI/CrewAI service (agent-service/). Nothing in the runtime path called it.

  • agent-service-api only requests external_api jobs (job-poller.ts); the Python service never polled the backend.
  • The backend client backend/src/services/agent-service.ts has no callers outside its own test.
  • No start, stop, or status script runs the service. The pm2 entries in start-instance.sh are commented out.

Routing is unchanged. Backend code that stores and validates the crewai agent type is untouched.

Both root PNG diagrams are re-rendered from their mermaid sources, because the previous images depicted the removed service.

Verification: format:check, typecheck, lint (0 errors), and test:ts (backend 1375, frontend 465, agent-service-api 98) all pass.

Changelog

New

  • None

Changed

  • ARCHITECTURE.md, README.md, MULTI_INSTANCE_DEPLOYMENT.md, docs/, and .bob/ docs no longer describe the Python service
  • docs/diagrams/*.mermaid and the two root PNG diagrams show the current components
  • npm test runs test:ts only

Removed

  • agent-service/ (Python FastAPI/CrewAI service)
  • python-quality-gates CI job
  • test:agent-service npm script

Remove the FastAPI/CrewAI service in agent-service/. Nothing in the
runtime path called it:

- agent-service-api only requests external_api jobs
  (job-poller.ts), and the Python service never polled the backend.
- The backend client in backend/src/services/agent-service.ts has no
  callers outside its own test. Its config value
  (agentServiceConfig.url) is read only there.
- No start, stop, or status script runs the service; the pm2 entries
  are commented out in start-instance.sh.

Routing is unchanged. Backend code that stores and validates the
'crewai' agent type is left as it was.

- Remove the python-quality-gates CI job and the test:agent-service
  script. npm test now runs test:ts.
- Update README, ARCHITECTURE.md, MULTI_INSTANCE_DEPLOYMENT.md, the
  quickstart and docs index, and the .bob/ context files.
- Re-render high-level-component-diagram.png and sequence-diagram.png
  from their mermaid sources. The previous images depicted the removed
  service.

Signed-off-by: Zvonimir Fras <zvonimir@zvonimirfras.com>
@zvonimirfras
zvonimirfras merged commit 776be4e into IBM:main Nov 26, 2026
5 checks 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.

1 participant