The agent is not typing into a terminal. It is calling tools — structured functions with inputs and outputs. Every action you see in the terminal panel is a tool call: bash to run a shell command, read_file to read a file, write_file to create one.
In this lesson you will watch the agent use its tools to explore data and organize a workspace.
Good practice: keep raw data in a data/ folder. Never modify source data — create derived files elsewhere. Your workspace already has data/trade_data.csv with international trade data for three countries.
src/ directory for analysis scripts.bash or list_csv) and its result.List the files in the workspace, then preview data/trade_data.csv. How many rows and columns?
After it responds:
Create a src/ directory for analysis scripts.
bash with ls to list files — it is running a real shell command in a sandbox.list_csv returns structured data (column names, types, sample rows) — not a screenshot, not a guess.write_file and bash mkdir create real files you can see in the file tree on the right.list_csv to preview data/trade_data.csv.src/ directory exists in the workspace.Was this lab useful?
Ask the agent to explore your data, write Stata code, or help with your analysis.