Konstantin Pavlov

Konstantin Pavlov

Software Engineer

I am a Software Engineer,

and this is where I share my experience in software development.

Kotlin extensions for LangChain4j

Discover Kotlin extensions for LangChain4j designed to transform the synchronous LangChain4j API into a modern, non-blocking experience with Kotlin Coroutines. …

The cookie story: when build failures became sweet accountability

A deceptively simple rule transforms a chaotic development team: break the build, buy cookies. What starts as lighthearted motivation evolves into a …

Secure Java coding best practices

Making your web application flawless against security attacks is a challenge for every java developer. In this article I will briefly describe common practical …

Recent

Higher-Order Attacks on AI Code Agents

Direct prompt injection is just the beginning. Higher-order attacks manipulate agents into producing malicious code, propagating intent across systems, and …

When Your AI Code Agent Becomes an RCE Engine

If your AI code agent treats repository content as instructions, any contributor can execute commands. This article maps the direct injection attack surface and …

Javable: generate Java-friendly wrappers for Kotlin with KSP

Javable is a KSP2 processor that generates Java-friendly wrappers for Kotlin classes, turning suspend functions into CompletableFuture, Flow into Stream, and …

kotlinx-schema: Three Ways to Generate JSON Schemas from Kotlin Code

Every time you rename a Kotlin function parameter, the hand-written JSON schema your LLM reads is wrong — and it fails silently. kotlinx-schema derives the …

Mokksy: a mock server that actually streams — and why your AI app needs integration tests

Why unit tests alone won’t save your LLM application in production, and how Mokksy — a Kotlin mock server with true SSE and streaming support — fills the …