Skip to content
Joosung Lee edited this page Jul 29, 2025 · 5 revisions

Spice Framework Wiki

Welcome to the Spice Framework documentation! This wiki provides comprehensive guides for using the framework.

πŸ“š Table of Contents

  1. Getting Started - Quick start guide
  2. Core Concepts - Understanding the basics
  3. Agent Guide - Creating and managing agents
  4. Tool Development - Building custom tools
  5. Flow Orchestration - Workflow management
  6. Advanced Features - Swarm, MCP, and more
  7. Spring Boot Integration - Using with Spring
  8. KMP Configuration - Kotlin Multiplatform setup (NEW)
  9. API Reference - Complete API documentation

πŸš€ Quick Example

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)

πŸ“– Architecture Overview

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

πŸ“¦ Installation

The framework is available via JitPack. See Getting Started for detailed installation instructions.

πŸ”— Links

Clone this wiki locally