From f0295c79a11e941181a2b2d6d42847f57418c825 Mon Sep 17 00:00:00 2001 From: mesutoezdil Date: Mon, 20 Apr 2026 08:09:28 +0200 Subject: [PATCH 1/4] docs(samples): correct KAgent controller port in sample READMEs 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 --- python/samples/crewai/poem_flow/README.md | 4 ++-- python/samples/crewai/research-crew/README.md | 4 ++-- python/samples/langgraph/currency/README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/samples/crewai/poem_flow/README.md b/python/samples/crewai/poem_flow/README.md index 234768edf..c36853461 100644 --- a/python/samples/crewai/poem_flow/README.md +++ b/python/samples/crewai/poem_flow/README.md @@ -48,7 +48,7 @@ When interacting with the agent, you do not need to provide any input because th 2. **Set environment variables**: ```bash - export KAGENT_URL=http://localhost:8080 + export KAGENT_URL=http://localhost:8083 export OPENAI_API_KEY="..." ``` @@ -72,6 +72,6 @@ When interacting with the agent, you do not need to provide any input because th The agent can be configured via environment variables: - `GEMINI_API_KEY`: Required for LLM access -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8080) +- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0) diff --git a/python/samples/crewai/research-crew/README.md b/python/samples/crewai/research-crew/README.md index 0dd4f7ee5..c189c1ba6 100644 --- a/python/samples/crewai/research-crew/README.md +++ b/python/samples/crewai/research-crew/README.md @@ -62,7 +62,7 @@ kubectl apply -f agent.yaml 2. **Set environment variables**: ```bash - export KAGENT_URL=http://localhost:8080 + export KAGENT_URL=http://localhost:8083 export OPENAI_API_KEY="sk-..." export SERPER_API_KEY="..." ``` @@ -88,6 +88,6 @@ The agent can be configured via environment variables: - `OPENAI_API_KEY`: Required for LLM access - `SERPER_API_KEY`: Required for web search functionality -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8080) +- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0) diff --git a/python/samples/langgraph/currency/README.md b/python/samples/langgraph/currency/README.md index 60b6d4739..a0b419566 100644 --- a/python/samples/langgraph/currency/README.md +++ b/python/samples/langgraph/currency/README.md @@ -52,7 +52,7 @@ uv sync ```bash export GOOGLE_API_KEY=your_api_key_here -export KAGENT_URL=http://localhost:8080 +export KAGENT_URL=http://localhost:8083 ``` 3. Run the agent server: @@ -83,7 +83,7 @@ The agent maintains conversation history across sessions using the KAgent REST A The agent can be configured via environment variables: - `GOOGLE_API_KEY`: Required for Gemini API access -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8080) +- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0) From 691e9f404d94ca94befef9440c9de4c458d2d525 Mon Sep 17 00:00:00 2001 From: Eitan Yarmush Date: Wed, 22 Apr 2026 07:43:23 -0400 Subject: [PATCH 2/4] Update python/samples/langgraph/currency/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Eitan Yarmush --- python/samples/langgraph/currency/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/langgraph/currency/README.md b/python/samples/langgraph/currency/README.md index a0b419566..45ce3133e 100644 --- a/python/samples/langgraph/currency/README.md +++ b/python/samples/langgraph/currency/README.md @@ -83,7 +83,7 @@ The agent maintains conversation history across sessions using the KAgent REST A The agent can be configured via environment variables: - `GOOGLE_API_KEY`: Required for Gemini API access -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) +- `KAGENT_URL`: Required. KAgent server URL; for local development, the controller commonly runs at `http://localhost:8083` - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0) From 483cc708eb0f94a215d5a5f3b19e312692e52903 Mon Sep 17 00:00:00 2001 From: Eitan Yarmush Date: Wed, 22 Apr 2026 07:43:30 -0400 Subject: [PATCH 3/4] Update python/samples/crewai/research-crew/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Eitan Yarmush --- python/samples/crewai/research-crew/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/crewai/research-crew/README.md b/python/samples/crewai/research-crew/README.md index c189c1ba6..ad6450746 100644 --- a/python/samples/crewai/research-crew/README.md +++ b/python/samples/crewai/research-crew/README.md @@ -88,6 +88,6 @@ The agent can be configured via environment variables: - `OPENAI_API_KEY`: Required for LLM access - `SERPER_API_KEY`: Required for web search functionality -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) +- `KAGENT_URL`: Required KAgent server URL (typically `http://localhost:8083` for a local controller) - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0) From 44705d84716e3d01895cbc02b6f3f12adf14a765 Mon Sep 17 00:00:00 2001 From: Eitan Yarmush Date: Wed, 22 Apr 2026 07:43:47 -0400 Subject: [PATCH 4/4] Update python/samples/crewai/poem_flow/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Eitan Yarmush --- python/samples/crewai/poem_flow/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/crewai/poem_flow/README.md b/python/samples/crewai/poem_flow/README.md index c36853461..ec3c9ad8e 100644 --- a/python/samples/crewai/poem_flow/README.md +++ b/python/samples/crewai/poem_flow/README.md @@ -72,6 +72,6 @@ When interacting with the agent, you do not need to provide any input because th The agent can be configured via environment variables: - `GEMINI_API_KEY`: Required for LLM access -- `KAGENT_URL`: KAgent server URL (default: http://localhost:8083) +- `KAGENT_URL`: Required. KAgent server URL (for local development, you can set it to `http://localhost:8083`) - `PORT`: Server port (default: 8080) - `HOST`: Server host (default: 0.0.0.0)