Define an agent in the studio
Choose Agents in the sidebar and create one. Start from a template.
Then set these properties.
An agent’s page has a tab for each part: General, Instructions, Tools, Skills and Usage.
Define an agent in a module
A module declares agents in its manifest withdefineAgent. They are created when the module is installed, updated with it, and archived when it is uninstalled. See Agents and skills in a module.
Write effective instructions
- State what the agent is for in the first line.
- Describe how the business works in plain words: stages, rules and units.
- State what it must never do, and who to ask instead.
- Tell it to look a record up before creating one, to avoid duplicates.
- Keep the instructions short. A few clear rules are followed better than a long list.
Related
- Skills: teach an agent a procedure.
- Tools and approvals: set what an agent may do.
- Agents: the concept.