Interface Agent

All Superinterfaces:
Consumer<Message>
All Known Implementing Classes:
AbstractAgent, EchoAgent, ExecAgent, JLineAgent, LangChain4jAgent, PingPongAgent, SystemAgent

public interface Agent extends Consumer<Message>
Agent is something which acts on a Message.

Agents can use other agents, web APIs, etc. to act. Agents interact with an environment.

Agents are also known as a "Bots" or "Tool/s (Providers)" or "Functions" or "Services" or "Service Providers".

  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface java.util.function.Consumer

    accept, andThen
  • Method Details