docs(samples): correct KAgent controller port in sample READMEs#1700
Merged
EItanya merged 4 commits intokagent-dev:mainfrom Apr 22, 2026
Merged
docs(samples): correct KAgent controller port in sample READMEs#1700EItanya merged 4 commits intokagent-dev:mainfrom
EItanya merged 4 commits intokagent-dev:mainfrom
Conversation
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>
Contributor
There was a problem hiding this comment.
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 fromlocalhost:8080tolocalhost:8083 - Update the documented
KAGENT_URL“default” URL from:8080to:8083in 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.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.