Alt AI Agent
AI-generatedSummary
Execute a prompt to an AI agent using a specified system message and return the response along with optional intermediate steps and tool call memory.
Inputs
- systemMessage (required) — The message that will be sent to the agent before the conversation starts.
- text (required) — The user message prompt for the AI agent.
- options — Optional settings to configure the agent's behavior and output.
Output shape
a single response object from the AI agent
The response includes the processed output and can optionally include intermediate steps based on the configuration.
Examples
Example 1: User wants to ask about AI capabilities
Set a system message providing context and a user prompt asking 'What can you do?' with intermediate steps and memory saving enabled.
Example 2: User inquires about specific tasks
Use a specific system message emphasizing help and limit iterations in agent behavior.