Skip to content

docs(samples): correct KAgent controller port in sample READMEs#1700

Merged
EItanya merged 4 commits intokagent-dev:mainfrom
mesutoezdil:docs/fix-sample-readme-ports
Apr 22, 2026
Merged

docs(samples): correct KAgent controller port in sample READMEs#1700
EItanya merged 4 commits intokagent-dev:mainfrom
mesutoezdil:docs/fix-sample-readme-ports

Conversation

@mesutoezdil
Copy link
Copy Markdown
Contributor

@mesutoezdil mesutoezdil commented Apr 20, 2026

Same port issue as #1699 but in the sample READMEs. The crewai and langgraph samples tell users to set KAGENT_URL=http://localhost:8080 which is the UI port, not the controller. Updated all six occurrences across the three sample directories to 8083.

The crewai and langgraph sample READMEs show users to export
KAGENT_URL=http://localhost:8080. The controller listens on 8083, not
8080. Port 8080 is the UI service. Running these samples against a
port-forwarded controller on the documented URL fails immediately.

This is the same fix applied to the package READMEs in the companion
PR, now carried forward to the three sample directories.

Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
Copilot AI review requested due to automatic review settings April 20, 2026 06:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Python sample READMEs to point KAGENT_URL at the KAgent controller’s port (8083) instead of the UI port (8080), preventing immediate connection failures when users follow the samples with a port-forwarded controller.

Changes:

  • Update export KAGENT_URL=... examples from localhost:8080 to localhost:8083
  • Update the documented KAGENT_URL “default” URL from :8080 to :8083 in each sample README

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
python/samples/langgraph/currency/README.md Corrects KAgent controller URL port in setup snippet and config section.
python/samples/crewai/research-crew/README.md Corrects KAgent controller URL port in env var setup and config section.
python/samples/crewai/poem_flow/README.md Corrects KAgent controller URL port in env var setup and config section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread python/samples/langgraph/currency/README.md Outdated
Comment thread python/samples/crewai/research-crew/README.md Outdated
Comment thread python/samples/crewai/poem_flow/README.md Outdated
EItanya and others added 3 commits April 22, 2026 07:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
@EItanya EItanya merged commit 6b9bd42 into kagent-dev:main Apr 22, 2026
4 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.

3 participants