Skip to content

Basic Agent

Basic Agent answers questions with the AI model you connect. If you connect tools, it uses them when needed to give an accurate answer; otherwise it talks directly with the model. It has very few settings, so it is useful for quick tests or very simple assistants.

For assistants you will use with customers or in production, use Agent instead, which keeps the conversation permanently and offers more options.

When to use it

  • Quickly testing how an AI model answers your questions.
  • A frequently asked questions assistant with no special requirements.
  • Giving another agent a simple question-and-answer tool.

Configuration

ConnectionWhat to connect
ModelThe AI model that answers. It is needed for the agent to work.
ToolsOptional tools the agent can use.
FieldWhat it does
InputThe user’s question, usually from Chat Input.
System PromptThe agent’s instructions. By default they ask it to answer clearly and concisely and to use the tools when needed.
Agent NameThe agent’s name when used as a tool. Default: BasicQAAgent.
Agent DescriptionWhat the agent does when used as a tool. Another agent reads it to decide when to use it.

Advanced options

FieldWhat it does
Use MemoryThe agent remembers the previous messages in the conversation. Default: on.

Output

  • Response: the answer as a message. Connect it to Chat Output.
  • Agent: the configured agent, so another agent can delegate to it.
  • Tool: the agent turned into a tool, which receives a question and returns the answer. It uses Agent Name and Agent Description as the tool’s name and description.

Example

The gym Pulso Activo wants to try an assistant that answers questions about class timetables. It connects Chat Input to Input, an AI model to Model and writes the centre’s timetables and rules in System Prompt. The Response output goes to Chat Output. Once it is happy with the result, it moves the same setup to an Agent component to use it with its members.

  • Agent: NappAI’s main agent.
  • Simple Agent: a complete agent without advanced features.