Skip to content

AGENTIC BEHAVIOR #9593

Answered by Amnah199
IMPERA88 asked this question in Questions
Discussion options

You must be logged in to vote

Hi @IMPERA88, welcome to the Haystack community! 👋
Regarding your questions,

  1. For now, you can best guide the Agent's behavior through prompt engineering—specifically by instructing it when to avoid using tools based on your use case.

  2. Besides prompt, you can fine-tune the Agent’s behavior using the initialization parameters:

  • max_agent_steps – Limits the number of reasoning iterations the Agent performs.
  • exit_conditions – Specifies the conditions under which the Agent should stop.
  • raise_on_tool_invocation_failure – Controls whether the pipeline should raise an error or continue when a tool call fails.
  1. To observe the Agent’s reasoning process, Haystack supports streaming tool_calls …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IMPERA88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants