Declare the capabilities
Define reasoning in YAML and deterministic operations in Java. Both register as named skills in one catalog.
YAML + @SkillMethod
Open-source agentic framework
Loomspan composes LLM-backed skills and Java services into a hierarchy of tasks. Models decide how to approach a mission; your application defines the capabilities and boundaries.
“Plan a trip around my preferences.”
01 / Execution model
Loomspan combines Hierarchical Task Network (HTN) structure with LLM-driven decomposition. A planning skill selects from its allowed children; each specialist can work within a smaller, local set of capabilities.
Define reasoning in YAML and deterministic operations in Java. Both register as named skills in one catalog.
YAML + @SkillMethod
A planner forms tasks from the mission and the skills it may call. Nested skills handle their own part of the work.
allowed_skills + max_steps
Tasks run through a shared lifecycle. Events and finalized traces provide evidence of decisions, calls, results, and failures.
Events + execution traces
02 / Authoring skills
A skill is a named capability with an explicit contract. It can reason with a model, delegate to other skills, or call an ordinary Spring service.
In the travel sample, planTransport can choose a
flight or train search and ask Java to rank the results. The
parent receives a structured transport digest.
name: planTransport
description: >
Transport specialist planner.
model: qwen3-35b
planning_mode: true
max_steps: 6
allowed_skills:
- name: searchFlights
- name: searchTrains
- name: rankTransportOptions
prompt: |
Choose which searches to run — do not
always call both flights and trains.
03 / Loomspan Console
A local companion to the framework. The Console connects to a selected Loomspan application and brings its runtime, skill catalog, and execution evidence into one place.
Console documentationRuntime status, compatibility, and registered skills.
Active work, recent activity, and finalized traces.
Plans, nested frames, and individual trace records.
Selected model and tool content, failures, and usage.
Written in Go with an embedded React interface. Node.js is needed to build the Console, not to run it.
The Console exposes inspection tools through MCP. A companion agent skill guides runtime investigation, so an agent can follow observed executions while helping you develop and debug.
Explore the agent skills04 / Getting started
The repository contains the starter, a sample application, and the
Console. Loomspan is under active development at
0.1.0-SNAPSHOT.
<dependency>
<groupId>ai.loomspan</groupId>
<artifactId>loomspan-spring-boot-starter</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
Declare model connections and skill locations.
Use a YAML manifest or a Java method.
Inject SkillTemplate and call the skill by
name.
ABOUT THE PROJECT
Loomspan was developed through human-directed collaboration with AI. Its approach to agent-assisted development extends to the framework itself: explicit skills, inspectable execution, and tools for working from runtime evidence.
Source and documentation