Package com.tnsai.planning.tasklist


package com.tnsai.planning.tasklist
Task list execution system for the Ralph Pattern.

This package implements the three principles of the Ralph Pattern:

Quick Start


 // 1. Create a task list from PRD
 TaskList tasks = PRDParser.parse(Path.of("prd.json"));

 // 2. Execute with progress memory
 TaskListResult result = TaskListExecutor.builder()
     .taskList(tasks)
     .progressMemory(ProgressMemory.inMemory())
     .maxIterationsPerTask(5)
     .build()
     .execute(agent);

 // 3. Check results
 System.out.printf("Completed: %d/%d%n",
     result.completedCount(), result.totalCount());
 

GOAP Bridge

Planning actions from GOAP can be converted to a task list:


 List<PlanningAction> plan = planner.plan(goals, actions, beliefs);
 TaskList tasks = TaskList.fromPlannerOutput("GOAP Plan", plan);
 
Author:
TnsAI Team
See Also: