renato.java
09/10/2025, 2:01 PMMirzamehdi
09/10/2025, 2:52 PMSergi Aguilar
09/10/2025, 4:18 PMforwardTo executeToolCall onToolCall { it.tool == "writeFilesTool" }
rocketraman
09/11/2025, 1:39 PMHIDDEN:non-empty
). Is there a way to turn this obfuscation off?Sam
09/11/2025, 5:47 PMaws.sdk.kotlin.services.bedrockruntime.model.ValidationException: tools.0.custom.input_schema: Field required
Issue post:
https://github.com/JetBrains/koog/issues/549
PR:
https://github.com/JetBrains/koog/pull/582
Could somebody please review the PR when they get a chance please 🙂 This is preventing me from using Koog at the moment 😞Paolo Pasianot
09/12/2025, 12:27 PMSam
09/12/2025, 2:27 PMdevelop
, made a commit, and I am looking to push to remote so I can create a PR. However, when I do this I get this error:
ERROR: Permission to JetBrains/koog.git denied to samDobsonDev.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git remote -v
is showing that the remote is definitely correct:
origin git@github.com:JetBrains/koog.git (fetch)
origin git@github.com:JetBrains/koog.git (push)
Is the only way to contribute by making a fork?Leonhard Solbach
09/12/2025, 7:46 PMLeonhard Solbach
09/13/2025, 12:41 PMval agent = AIAgent(
executor = openai,
systemPrompt = SEGMENTATION_CREATION_SYSTEM_PROMPT,
llmModel = OpenAIModels.Chat.GPT5
) {
install(OpenTelemetry) {
addLangfuseExporter(
langfuseUrl = "<https://cloud.langfuse.com>",
langfusePublicKey = "<PUBLIC_KEY>",
langfuseSecretKey = "<SECRET_KEY>"
)
}
}
val output = agent.run(
INPUT HERE
""".trimIndent()
)
Leonhard Solbach
09/13/2025, 12:42 PMrocketraman
09/13/2025, 5:18 PMSession UUID is not mocked
kotlin.NotImplementedError: Session UUID is not mocked
at ai.koog.agents.testing.tools.DummyAIAgentContext.getRunId(DummyAIAgentContext.kt:86)
at ai.koog.agents.testing.feature.Testing$Feature.verifyGraph(TestingFeature.kt:1027)
at ai.koog.agents.testing.feature.Testing$Feature.access$verifyGraph(TestingFeature.kt:929)
at ai.koog.agents.testing.feature.Testing$Feature$install$2.invokeSuspend(TestingFeature.kt:973)
at ai.koog.agents.testing.feature.Testing$Feature$install$2.invoke(TestingFeature.kt)
at ai.koog.agents.testing.feature.Testing$Feature$install$2.invoke(TestingFeature.kt)
at ai.koog.agents.core.feature.AIAgentPipeline$interceptBeforeAgentStarted$1.handle(AIAgentPipeline.kt:586)
at ai.koog.agents.core.feature.handler.AgentHandler.handleBeforeAgentStarted(AgentHandler.kt:97)
The call that produces this error is
assertNodes {
callLLM withInput "foo" outputs toolCallMessage(fooTool, FooInput("foo"))
}
I can workaround it by specifing runId = ""
in assertNodes
but then I get kotlin.NotImplementedError: Agent input is not mocked
, and if I implement that I get something else, and so on.Leonhard Solbach
09/14/2025, 3:20 PMprivate suspend fun calculateSearchParameters(input: String) {
val toolsList = LeadSearchTools(companySearchService)
println("B")
val agent = AIAgent(
executor = openai,
systemPrompt = COMPANY_SEARCH_SYSTEM_PROMPT,
llmModel = OpenAIModels.Chat.GPT5,
toolRegistry = ToolRegistry {
// tool(ReadFileTool(JVMFileSystemProvider.ReadOnly))
tools(toolsList)
}
) {
install(OpenTelemetry) {
setServiceInfo("lead-search", "1.0.0")
setVerbose(true)
addSpanExporter(LoggingSpanExporter.create())
addLangfuseExporter(
)
}
}
println("C@C")
val result = agent.run(input)
log.info("Ouput $result")
}
@LLMDescription(
"""
Tools for searching B2B company leads by industry, keywords, location, size, founding year, CMS and a semantic query.
"""
)
class LeadSearchTools(private val companySearchService: CompanySearchService) : ToolSet {
@Tool
@LLMDescription(
"""
Search companies using optional filters plus a semantic searchTerm; returns deduplicated matches sorted by similarity.
...
"""
)
fun searchLeads(
... params here
): List<CompanyMatchData> {
val result = runBlocking {
companySearchService.findCompanies(
wzCodes = wzCodes,
categoriesOrKeyword = categoriesOrKeyword,
excludedKeywords = excludedKeywords,
addressFilter = addressFilter,
cmsSystem = cmsSystem,
searchTerm = searchTerm,
minimumEmployeeCount = minimumEmployeeCount,
maximumEmployeeCount = maximumEmployeeCount,
minimumFoundingYear = minimumFoundingYear,
maximumFoundingYear = maximumFoundingYear,
limit = limit,
customerId = null
)
}
return result.companyMatchData
}
Leonhard Solbach
09/14/2025, 3:21 PMHien Nguyen
09/14/2025, 11:00 PMSam
09/15/2025, 10:59 AMOpenAILLMClient
, and from the time <http://httpClient.post|httpClient.post>()
is called, to the time the response from OpenAI is received, is roughly 40-50 seconds on average for a very simple prompt and response, like 40 tokens generated maximumstrindberg
09/15/2025, 2:52 PMktor:
application:
modules:
- se.example.ai.ApplicationKt.main
koog:
openai:
apikey: $OPEN_AI_API_KEY
baseUrl: <https://api.openai.com>
However, at startup, there is an error saying "ERROR Application - Failed to read Koog configuration from application config
io.ktor.server.config.ApplicationConfigurationException: Path timeout not found."
I can't figure out where to put the timeout configuration, and I find no documentation about it.
I do have "ktor-server-config-yaml" in my dependencies.Higor Oliveira
09/16/2025, 12:56 PMAIAgent
class with input and output types different than String
. I saw we have the class and 2 factory functions with the same name.
In the first screenshot we can see the function I wanted to use. In the second one is the function Intellij is recognizing enforcing String
as input and output types.
Is there any way to use AIAgent with different types ?Leonhard Solbach
09/19/2025, 8:04 AMJames Ward
09/19/2025, 12:11 PMedge(nodeCallLLM forwardTo nodeFinish onAssistantMessage { true })
to handle it and edge(nodeCallLLM forwardTo executeToolCall onToolCall { true })
doesn't. The Assistant message is a <thinking>
block. Any ideas?John O'Reilly
09/19/2025, 5:31 PMToolset
based class to something that work work in KMP code ....🧵Filip Zalewski
09/19/2025, 7:16 PMLeonhard Solbach
09/20/2025, 8:42 AMJohn O'Reilly
09/20/2025, 9:33 AMJohn O'Reilly
09/20/2025, 3:11 PMai.koog:koog-agents
0.4.2 in commonMain
in KMP module)
Duplicate class io.modelcontextprotocol.kotlin.sdk.LibVersionKt found in modules kotlin-sdk-client-jvm-0.7.0.jar -> kotlin-sdk-client-jvm-0.7.0 (io.modelcontextprotocol:kotlin-sdk-client-jvm:0.7.0) and kotlin-sdk-core-jvm-0.7.0.jar -> kotlin-sdk-core-jvm-0.7.0 (io.modelcontextprotocol:kotlin-sdk-core-jvm:0.7.0)
PHondogo
09/20/2025, 3:21 PMPavan Badugucse
09/21/2025, 6:03 AMJohn O'Reilly
09/21/2025, 8:48 AMHttpClient
but then run in to what looks like same issue when I try to run the Koog agent code on iOS.
[agent id: 52f1e23c-d6b6-4f86-a120-624e46b72a3d, run id: bc4a47ec-2bdf-430a-8348-e3a1d2dcfd40] Reporting problem: TLS sessions are not supported on Native platform.
Sergi Aguilar
09/21/2025, 4:45 PMHigor Oliveira
09/22/2025, 4:29 PMEl Anthony
09/23/2025, 5:30 AM