Building your first agent application
Defining the Agent Application
@PeoplelogicAgentApplication
public class SampleAgentRunner extends PeoplelogicAgentRunner {
public static void main(String[] args) {
run(SampleAgentRunner.class, args);
}
}Creating the first agent
@PeoplelogicAgent(value="coordinatorAgent",
name = "Know It All Agent",
persona = "Funny but a bit snarky")
public interface AllInOneAgent extends WorkerAgent, CoordinatorAgent {}@PeoplelogicAgent
WorkerAgent and CoordinatorAgent
BaseAssignmentHolder assign()
Result<BasePeoplelogicResult> acceptWork()
Running your new agent
Last updated
Was this helpful?
