-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Joosung Lee edited this page Jul 29, 2025
·
5 revisions
Welcome to the Spice Framework documentation! This wiki provides comprehensive guides for using the framework.
- Getting Started - Quick start guide
- Core Concepts - Understanding the basics
- Agent Guide - Creating and managing agents
- Tool Development - Building custom tools
- Flow Orchestration - Workflow management
- Advanced Features - Swarm, MCP, and more
- Spring Boot Integration - Using with Spring
- KMP Configuration - Kotlin Multiplatform setup (NEW)
- API Reference - Complete API documentation
import io.github.spice.dsl.*
// Create a simple agent
val agent = buildAgent {
id = "helper"
name = "Helper Agent"
handle { comm ->
comm.reply("Hello! How can I help you?", id)
}
}
// Use the agent
val response = agent.process(comm("What's the weather?"))
println(response.content)
The Spice Framework follows a simple 3-tier architecture:
Agent > Flow > Tool
- Agents: Autonomous units that process messages
- Flows: Orchestration of multiple agents
- Tools: Reusable capabilities that agents can use
The framework is available via JitPack. See Getting Started for detailed installation instructions.