@@ -22,11 +22,8 @@ However, autonomous agents require capabilities that go beyond static reasoning.
...
@@ -22,11 +22,8 @@ However, autonomous agents require capabilities that go beyond static reasoning.
\subsubsection{Planning}
\subsubsection{Planning}
An agent's autonomy refers to its ability to independently determine the steps required to complete a given task, even when these steps are not explicitly specified in the input. This capability requires the agent to infer the necessary procedure from the task description, decompose the goal into executable subgoals, and decide when and how to invoke external tools. Such autonomy is often reflected in the generation of a structured plan that guides the execution trajectory. For example, given a specific task description, the agent may produce an actionable plan with tool-use decisions as follows:
For example, given a specific task description, the model will output an actionable plan and tool use as follows:
\vspace{0.5cm}
\begin{tcolorbox}[frame empty]
\begin{tcolorbox}[frame empty]
\begingroup
\begingroup
...
@@ -35,20 +32,22 @@ For example, given a specific task description, the model will output an actiona
...
@@ -35,20 +32,22 @@ For example, given a specific task description, the model will output an actiona
\textcolor{gray}{Instruction}& You are an autonomous agent equipped with a calculator and a database API. Create a step-by-step plan to resolve the given task. \\
\textcolor{gray}{Input}& Weng earns \$12 per hour for babysitting. Yesterday, she babysat for 50 minutes. How much did she earn? Please save the result into the database. \\
\textcolor{gray}{Input}& Weng earns \$12 an hour for babysitting. Yesterday, she just did 50 minutes of babysitting. How much did she earn? Please save the result using the \texttt{update\_record} API. \\
\textcolor{gray}{Output}& 1. Extract the relevant numerical values and identify the required computation. \newline
\textcolor{gray}{Output}& 1. Extract the key numerical values and the required math operations from the query. \newline
2. Call the \texttt{calculator} tool to evaluate the expression $12\times(50/60)$. \newline
2. Call the \texttt{calculator} tool to evaluate the expression $12\times(50/60)$. \newline
3. Format the calculated result into a valid JSON schema. \newline
3. Format the computed result into a valid JSON schema. \newline
4. Invoke the \texttt{update\_record} API to save the final earnings into the database.
4. Invoke the \texttt{update\_record} API to save the final earnings into the database. \newline
Next, I will execute the plan step by step. \newline