Libraries
The agent is published to Maven Central under the same com.llamatik namespace as the Llamatik library:
dependencies {
implementation("com.llamatik:agent-core:<version>")
implementation("com.llamatik:agent-backends:<version>")
}Design rules
agent-coreholds the agent loop, prompts, tools and the host abstractions (files, shell, git, permissions). It knows nothing about any IDE, so each host (terminal, ACP, IntelliJ plugin) supplies its own implementation of those abstractions.agent-backendsholds the single local llama.cpp engine, the Llamatik server client with resumable streaming (stream id +Last-Event-ID), pairing and mDNS network discovery.- Both must stay free of
com.intellijand of coroutines/ktor/serialization. They run inside IDE plugins whose classloaders ship older copies of those libraries, which otherwise causesNoSuchMethodErrorat runtime. For the same reason the server client uses the JDKHttpClientrather thancom.llamatik:network. - Only the
acpmodule depends on the ACP SDK. - Gson is a runtime dependency of
agent-backends. An IDE plugin that already ships Gson should exclude it:implementation("com.llamatik:agent-backends:<version>") { exclude(group = "com.google.code.gson", module = "gson") }.
Try an unreleased build
./gradlew publishToMavenLocal -PreleaseVersion=0.1.0-localThen add mavenLocal() to the consuming project.
Releasing
Publishing a GitHub release tagged vX.Y.Z runs the publish-mavencentral workflow: it tests, signs and publishes agent-core and agent-backends as X.Y.Z to Maven Central (secrets: MAVEN_CENTRAL_USERNAME, MAVEN_CENTRAL_PASSWORD, SIGNING_KEY, SIGNING_PASSWORD).
Locally: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository with the same values as environment variables and RELEASE_VERSION set.
License
MIT. The Llamatik name and logo are proprietary marks owned by Ferran Pons and are not covered by the MIT License.
