Skip to main content

Documentation Index

Fetch the complete documentation index at: https://lab.pollack.ai/llms.txt

Use this file to discover all available pages before exploring further.

This project has moved from the spring-ai-community GitHub organization to markpollack. New releases are published under the Maven groupId io.github.markpollack, and Java packages now use the io.github.markpollack namespace. If you previously used org.springaicommunity, update your dependency coordinates and imports to the current values shown below.
Java SDK for programmatic access to Claude Code. Three APIs at different abstraction levels: Query (one-liner fire-and-forget), ClaudeSyncClient (blocking sessions), and ClaudeAsyncClient (reactive with Project Reactor). Pure Java — no native dependencies. Full Spring Boot auto-configuration. This is the SDK that powers ClaudeStep in Agent Workflow — each step runs a full multi-turn Claude session internally.

Tutorials

23 progressive modules from fundamentals to multi-agent orchestration:

Query & Clients

Query API, sync client, async client, message types

Configuration

CLI options, tool permissions, permission modes, structured outputs

Sessions

Multi-turn conversations, session resume, session fork

Safety & Hooks

Permission callbacks, pre/post tool-use hooks, interrupt handling

MCP Integration

External MCP servers, multiple servers, MCP with hooks

Multi-Agent

Subagent definitions, parallel subagents, orchestrator pattern

Source

SDK Source

SDK implementation

Tutorial Code

23 runnable tutorial modules

Role in the Lab

  • Agent Workflow uses ClaudeStep which wraps ClaudeSyncClient — each workflow step runs a full multi-turn Claude session
  • Agent Client uses the SDK for Claude Code integration with Spring Boot lifecycle and sandbox isolation
  • All experiments invoke Claude through this SDK via the experiment driver’s ClaudeSdkInvoker