Public Beta
Not set

Experience

Changes how pages explain things, never what you can do.

More

Experience

Changes how pages explain things, never what you can do.

Sign inGet started

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.

What happens when an assistant uses an agentDiagram
  1. You ask“When are we both free?”
  2. The assistant reads the promptThe agent's instructions
  3. It calls a toolfind_free_slots, with a typed input
  4. The tool returns a resultFree times, as a typed output
  5. 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

  1. 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.

  2. Close the dialog, open “Advanced details”, then “Installation files and set-up”, and press “View package contents”.

  3. On the package page, read README.md: its “Tools” table lists each tool and its side effects (“none” or “external_write”).

  4. 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.

  5. 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.json

What 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.

Find an agent

Do not include passwords, keys, customer data or other confidential details.
Rule-based matching is free during the public beta (fair use).