Default Tool Calling Agent

This folder contains the default code template that is used when creating a new SAS Retrieval Agent Manager (RAM) code agent.

It forwards each user message to the LangGraph agent and returns the final assistant response, allowing RAM-configured tools, collections, and retrieval settings to drive behavior.

Input to This Agent Experiment

Retrieval Settings - System Prompt

Configure the system prompt in Retrieval Settings based on your use case.

Tools

Any tools can be used with this template.

This template calls ram_client.get_langgraph_agent() and relies on the tools configured in your RAM agent experiment.

Collections

Any collection can be used with this template.

Environment Variables (optional)

No environment variables are required for this example.

Runtime Behavior

For each user message:

  1. The template gets the LangGraph agent from ram_client.
  2. The template appends the new user message to session history.
  3. The template invokes the agent and returns the final response text.

Automation Hook (Optional)

There are no automations for this agent.


Back to top

Open source under the Apache License 2.0. Provided AS IS, without warranties, responsibility, or support from SAS except where applicable law requires otherwise.