Learn / Understand and customize agents / Lesson 1 of 5
Understanding prompts, tools and agent packages.
A prompt tells the assistant what to do, tools are the actions it may take, and a package bundles the code, instructions and rules together.
6 min · Intermediate — Some coding experience
Three words come up everywhere. A prompt is the written instruction an AI assistant reads. A tool is one action an agent can take, such as “find free meeting times”, with a defined input and output. A package is the downloadable folder that holds an agent's code, its tool list, its permissions and its instructions.
On Agenity you can see all three for Agenity's own agents: the prompt in “Get agent”, the tools in the package's agent.json, and the whole package on the “Package contents” page.
- You ask“When are we both free?”
- The assistant reads the promptThe agent's instructions
- It calls a toolfind_free_slots, with a typed input
- The tool returns a resultFree times, as a typed output
- Writing needs your OKrequires_confirmation
The package bundles the code, the tool list (agent.json), the permissions and the instructions, for one exact version.
The prompt tells the assistant what the agent is; tools are the only actions it can take; the package holds both, with its rules.
Step by step
Open the Calendar Assistant page and press “Get agent”, choose an assistant and read the prompt it would copy: it names the package, its checksum and what needs your confirmation.
Close the dialog, open “Advanced details”, then “Installation files and set-up”, and press “View package contents”.
On the package page, read README.md: its “Tools” table lists each tool and its side effects (“none” or “external_write”).
Open agent.json in “Files”. Each tool has an input_schema and an output_schema: the exact shape of what goes in and comes out.
Notice “requires_confirmation”: true on create_google_event. That is the rule that makes the agent ask before it writes to your calendar.
Try it yourself
Find the one Calendar Assistant tool that can change something outside your computer.
Open agent.jsonWhat you should see
- Four tools listed in agent.json
- Three with side_effects “none”
- create_google_event with “external_write” and requires_confirmation true
Your progress
Saved on this device. Sign in to keep it on every device. 0 of 15 lessons complete.