# Building the Content Enrichment Agent

### About this export

| Field | Value |
| --- | --- |
| **content_type** | lesson |
| **platform** | contentstack-academy |
| **source_url** | https://www.contentstack.com/academy/courses/building-your-first-agent-in-agentos/building-the-content-enrichment-agent |
| **course_slug** | building-your-first-agent-in-agentos |
| **lesson_slug** | building-the-content-enrichment-agent |
| **markdown_file_url** | /academy/md/courses/building-your-first-agent-in-agentos/building-the-content-enrichment-agent.md |
| **generated_at** | 2026-06-08T14:32:06.256Z |

> Part of **[Building Your First Agent in AgentOS](https://www.contentstack.com/academy/courses/building-your-first-agent-in-agentos)** on Contentstack Academy. **Academy MD v3** — structured for retrieval; no quiz or assessment keys.

<!-- ai_metadata: {"lesson_id":"07","type":"video","duration_seconds":410,"video_url":"https://cdn.jwplayer.com/previews/UNhFuPVm","thumbnail_url":"https://cdn.jwplayer.com/v2/media/UNhFuPVm/poster.jpg?width=720","topics":["Building","the","Content","Enrichment","Agent"]} -->

#### Video details

#### At a glance

- **Title:** Building the Enrichment Agent
- **Duration:** 6m 50s
- **Media link:** https://cdn.jwplayer.com/previews/UNhFuPVm
- **Publish date (unix):** 1780760396

#### Streaming renditions

- application/vnd.apple.mpegurl
- audio/mp4 · AAC Audio · 113583 kbps
- video/mp4 · 180p · 180p · 157704 kbps
- video/mp4 · 270p · 270p · 180860 kbps
- video/mp4 · 360p · 360p · 205662 kbps
- video/mp4 · 406p · 406p · 222614 kbps
- video/mp4 · 540p · 540p · 271838 kbps
- video/mp4 · 720p · 720p · 349696 kbps
- video/mp4 · 1080p · 1080p · 492358 kbps

#### Timed text tracks (delivery)

- **thumbnails:** `https://cdn.jwplayer.com/strips/UNhFuPVm-120.vtt`

#### Video transcript

So far, we've proven that our agent can identify a new article, retrieve its content, and understand what it contains. That's useful, but summaries aren't our ultimate goal. The real business challenge we're trying to solve is content enrichment. Every article needs supporting metadata. Teasers help readers understand what an article is about. SEO titles and descriptions improve discoverability. Tags help organize content and improve search experiences. These tasks are valuable, but they're also repetitive. This is exactly the kind of work agents are well-suited to assist with. Rather than asking editors to manually create these assets for every article, we'll have our agent generate them automatically. The editor focuses on creating content. The agent focuses on enriching it. So let's come back to AgentOS and continue working with the agent that we set up. So here, inside the ContentOps project, you'll notice if I move over to Agents up here in the top, we can then come over to the right-hand side, and you'll see three dots here for Actions. Go ahead and click Edit Agent. This brings us back to the Builder. What we want to do here is add some more tools, because right now, all we're doing is sending a Slack message. So what we really want to do is we want to update the article with a generated teaser, an SEO title, an SEO description, and also generate tags and then update the entry. So first things first, we need to come over to Tools and add a tool. But we need to make sure that we're in the editing mode. Right now, we're not. So I have to come over here and click Edit Agent. Once you're in the editing mode, you can click the Add button next to Tools over here on the right. Again, we're going to come into the CMS. What we want to do is update an entry. So down here towards the bottom, you can see Update an Entry. With this selected, again, we have to choose our content stack account. I already connected it, so it's available here in the drop-down menu. This stack is going to be the stack that we're working with now. So I'll go ahead and select that, which is AgentOS Academy. Again, the branch, we could let AI select it, because I think we only have a main branch. But I'll go ahead and choose that manually. The content type, again, is going to be the article content type. So I'll come over and manually select that. And then in terms of the entry and everything else, I'm going to let AI select that data. So now I can come over and click Save. And once you save it, you're going to have to then update the instructions, because we want more than just a Slack message. We want the agent to actually go in there and update the entry. So let's go ahead and update this. Retrieving the article that triggered the workflow is right. We do want it to read this information. Now what we want to do is have it generate a teaser between, let's say, 30 and 50 words. So you have to go ahead and type that in. Then we need to update the teaser field of the article. So I'll go ahead and type that in. We also want it to generate an SEO title, an SEO description, and also generate tags. So I'll go ahead and add all those instructions in here as well. The last thing that we want to do is we still want to get confirmation in Slack. So I'll just go ahead and type in send Slack message. So I think we're good. We can then come over and save this. And then once it's saved, we can publish it. I'm going to go ahead and publish this. This will be v2. You can see that we have version 2 now. Then I'm going to come back to the app switcher. And in the app switcher, I'm going to come over to the CMS. I'm going to come into the AgentOS Academy stack. I'm going to come back to entries. And then I'm going to create a new entry. So I'm going to come over here and click new entry. And of course, it's going to be an article because that's what we're looking for. I'll go ahead and click proceed. This is going to bring me into the entry editor. I actually have a tab here of articles that I can just copy and paste. So I'm just going to come over here and copy this title and paste it into the entry. And then I'm going to do the same thing for the actual article body. I'm going to select all of this here. Scroll down a little bit. With all that's selected and copied to the clipboard, I can return back to the entry and paste the article body. And then I can come over and click save. I'm going to jump over to Slack and wait for that notification to pop up right here. It should be a little bit different now in terms of what the message is. And there it is. So it's giving us some information about it. We didn't ask for anything specific. So the agent actually decided what it was going to send for this message. So it looks like it was successful. But let's come back into the CMS and check it out. So I'm going to go ahead and just come away from this for a second and then return back to it just to make sure it's refreshed. And here we have a teaser now that we didn't have before. So that's been updated. If I scroll down into this entry, I can see that I have an SEO title. I also have an SEO description. And if I scroll down, it has also been tagged successfully. So the agent is doing its job. It analyzed the article. It identified themes. It generated new content. And it updated the entry automatically. And this is really a great example of how agents can augment human work. The editor still owns the message, the story, and the expertise. The agent helps complete the repetitive enrichment tasks that support publication and discoverability.

#### Key takeaways

- Connect **Building the Content Enrichment Agent** back to your stack configuration before moving to the next module.
- Capture one concrete artifact (screenshot, Postman call, or code snippet) that proves the step works in your environment.
- Re-read the delivery versus management boundary for anything you changed in the entry model.

## Supplement for indexing

### Content summary

Building the Content Enrichment Agent. Building the Content Enrichment Agent in Building Your First Agent in AgentOS (building-your-first-agent-in-agentos).

### Retrieval tags

- Building
- the
- Content
- Enrichment
- Agent
- building-your-first-agent-in-agentos
- lesson 07
- Building the Content Enrichment Agent
- building-your-first-agent-in-agentos lesson

### Indexing notes

Index this lesson as a primary chunk tagged with lesson_id "07" and topics: [Building, the, Content, Enrichment, Agent].
Parent course slug: building-your-first-agent-in-agentos. Use asset_references URLs as thumbnail hints in search results when present.
Never surface LMS quiz content or assessment answers from this file.

### Asset references

| Label | URL |
| --- | --- |
| Video thumbnail: Building the Content Enrichment Agent | `https://cdn.jwplayer.com/v2/media/UNhFuPVm/poster.jpg?width=720` |

### External links

| Label | URL |
| --- | --- |
| Contentstack Academy home | `https://www.contentstack.com/academy/` |
| Training instance setup | `https://www.contentstack.com/academy/training-instance` |
| Academy playground (GitHub) | `https://github.com/contentstack/contentstack-academy-playground` |
| Contentstack documentation | `https://www.contentstack.com/docs/` |
