Expert agents
Set up agents that work in the background, guided by your own instructions. Expert agents start automatically when specific content changes occur, delivering consistent results every time without needing your input each step of the way. Less manual work on every piece of content.
Automate the routine work
Expert agents handle the repetitive, rules-based parts of content production so your team can focus on work that requires human judgment. Set up as many as you need: multiple agents can run simultaneously, each working on different content independently. Here are some things you can automate:- Automatically translate content into your target languages when a new language variant is created.
- Fill in SEO and GEO metadata before content moves to marketing review.
- Check content against your brand or compliance guidelines.
- Populate content automatically whenever a new content item is created.
How to set up expert agents
1. Describe your agent
Provide details to help your teammates identify and understand the agent’s purpose.- Agent name – the name appears in content item version history and in the audit log. Use a descriptive name that makes the agent's purpose clear in any of these contexts, such as "Blog post translator" or "SEO metadata filler".
- Purpose – a short summary of what the agent does, such as “Translates blog posts to French.” This purpose is for your team’s reference and doesn’t affect how the agent works.
2. Write clear instructions
In Instructions, tell the agent exactly what to do. Because expert agents can’t ask follow-up questions, your instructions need to be complete and self-contained. Describe the input, the steps to take, and the expected output. Your instructions can be as simple or as detailed as the task requires, including conditional logic, structured sections, and formatting to keep long instructions readable. If your instructions are too long, simplify them or split the work across multiple agents with more focused tasks.3. Specify when to run
Under Automation, you can set various activities and filters to start the agent when a specific content change occurs. For events:Â- Content item language variant created – an event when you create a new item or other language variants of the default content item.
- Workflow step changed to – an event that occurs when your content moves to a specific workflow step.
- Content type – specify which content type the agent will work on.
- Collection – select which collection the content will be under.
- Language – scopes the agent to content items in a specific language.
4. Set permissions
In Permissions, select what the agent is allowed to do in your environment. You need to select at least one permission. Under Manage content items:- Read content items – lets the agent read content items and their variants, along with the project configuration they depend on: content types, taxonomies, workflows, collections, languages, roles, and spaces. Checked automatically when any other content item permission is selected.
- Update content items – lets the agent edit content items and their variants, move them through workflow steps, and publish or unpublish them. Checked automatically when Create content items or Delete content items is selected.
- Create content items – lets the agent create new content items and variants.
- Delete content items – lets the agent delete content items and their variants.
- Read assets – lets the agent read asset metadata and folder structure. Without this, the agent can only see the IDs of assets referenced in content items, not the actual asset details. Checked automatically when when Upload assets is selected.
- Update assets – lets the agent edit asset details (including taxonomy and collection), manage folders, and move assets between them. Doesn't include uploading or replacing files.
5. Monitor your agents’ work
To see a specific agent’s run history, clickExample
Here’s an example of how you might set up an agent that helps translate blog post content to a specific language. You can adapt this example to your project.Blog post translator
[brackets] to match what’s exactly in your project. Check your workflow steps, collections, and language codenames before enabling your expert agent.- Agent name: Blog post translator
- Purpose: Translates blog posts into
[your target language]when the content item reaches the[your workflow step]step
1. Read the [source language, such as English (en-US)] language variant of the given content item.
2. Create a [target language, such as French (fr-FR)] language variant by translating the content.
3. Apply a [describe your tone, such as formal-yet-playful] tone: [add specific tone guidelines relevant to your brand].
4. If a concurrent editing conflict is detected, overwrite all translated content.
5. After translation and tone adjustment are complete, move the content item to the [your review workflow step, such as Translation review] workflow step.
6. Do not ask for clarification. Do not perform any other actions.
7. If the source variant, workflow step, or content item can't be found, stop and log the specific error without taking further action.- For events: select Workflow step changed to
- Set the workflow step to
[your workflow step for translation-ready content]
- Set the workflow step to
- For filters, select the following:
- Content type: your content type, for example, Blog post
- Collection: your collection, for example, Marketing
- Language:
[your target language]
Considerations
When using expert agents, keep in mind the following:- Only project managers can access and manage expert agents.
- There are no hard usage limits, but a safety measure activates if many complex agentic runs occur simultaneously and risk overloading the infrastructure.
- If the safety measure activates, you receive an error message. Contact Support to identify the cause before the restriction is lifted.Â
- Not all instructions require the same processing time – many short parallel tasks are typically fine; many long, complex simultaneous tasks may trigger the safety measure.
- Changes made by an expert agent are labeled with the agent's name in both version history and the audit log, so you can tell them apart from changes made by a user or by Aiko.
- Run history shows only recent runs.
- Test your agent instructions on a few items manually before enabling automation at scale.
- Expert agents consume AI credits.
Help shape what comes next
Your input helps us improve this feature. If you have any suggestions, questions, or feedback, we’d love to hear from you. Share your experience using the
button in Kontent.ai or in the Learn portal.