Key takeaway
- Custom AI agent training starts with labelled data. See how SageMaker Ground Truth labelling works, its status for new users and what to do first.
Custom AI agent training with Amazon SageMaker Ground Truth means using human-labelled data to teach a model the behaviour you want your agent to show. Ground Truth is the AWS service that manages the labelling work, so the labelled dataset that results can be used to train and evaluate a model.
This guide is for machine learning engineers and AI product owners who need labelled data for a custom model or agent. It explains how Ground Truth works, an important availability change, the steps of a labelling and training workflow, and how agents fit around the model.
What is SageMaker Ground Truth?
According to the Ground Truth documentation, Ground Truth helps you build high-quality training datasets for machine learning models, using workers from a vendor company you choose or from an internal, private workforce, along with machine learning. You can pick a built-in task type for a specific label type, or build a custom labelling workflow with your own interface and tools. Input data, an input manifest file and an output manifest file are held in Amazon S3, and job events are written to Amazon CloudWatch.
The same page describes automated data labelling as a process that uses machine learning to decide which data needs human labelling, which may reduce labelling time and manual effort.
Is SageMaker Ground Truth still open to new customers?
Check this before you plan around it. The AWS documentation states that Amazon SageMaker Ground Truth is no longer open to new customers. Existing customers can continue to use it as normal, and AWS says it continues to invest in security and availability improvements but does not plan to introduce new features. Teams starting a new project should confirm their options with AWS and treat the workflow below as a pattern for any labelling tool, not only this one.
How does a labelling and training workflow run?
The sequence is the same whichever tool does the labelling. The table maps each step to what happens in Ground Truth, as described in the AWS documentation.
| Step | What you do | Ground Truth detail |
|---|---|---|
| 1. Define the use case | State the behaviour the agent needs and the labels that describe it | Choose a built-in task type or a custom workflow |
| 2. Prepare data | Collect representative examples and remove data you may not use | Data sits in S3 with an input manifest file |
| 3. Create a labelling job | Write clear instructions and pick a workforce | Private workforce, or a vendor from the AWS Marketplace |
| 4. Review labels | Sample the results and measure agreement between workers | Annotation consolidation combines several workers' answers |
| 5. Train the model | Use the output manifest to train and evaluate | Output manifest file holds the labels |
| 6. Deploy and monitor | Watch real behaviour and send hard cases back for labelling | Streaming jobs can keep sending new data to workers |
How does Ground Truth decide the final label?
Several workers usually label each object, so Ground Truth has to combine their answers. The annotation consolidation notes explain that annotation consolidation combines the annotations of two or more workers into a single label, and that the label is a probabilistic estimate of what the true label should be. Using more workers can raise accuracy but also raises cost. The defaults are three workers for image classification, text classification, semantic segmentation and named entity recognition, and five for bounding boxes. The methods differ by task: bounding boxes, for example, are matched by their overlap and averaged.
The practical lesson is that a label is an estimate. Review a sample yourself, write instructions that remove ambiguity, and keep a record of which workers and instructions produced each batch.
How do AI agents change custom training?
A trained model is one part of an agent. The agent also needs tools, memory, permissions and rules for when to ask a person. Labelled examples teach the model how to classify or respond, but they do not decide what the agent is allowed to do. The strongest use of the labelling loop is to feed it from production: cases where the agent was unsure, was overruled or failed become the next batch to label, so the model improves where it is weakest. ElixirClaw is XenonStack's AI agents computing platform for building and running agents of this kind.
What are the risks and good practices?
| Risk | Why it matters | Practice |
|---|---|---|
| Vague instructions | Workers disagree and labels become noisy | Write examples of edge cases and test with a small batch |
| Unrepresentative data | The model fails on real inputs | Sample from production, not only from clean sources |
| Sensitive data | Labelling exposes data to workers | Use a private workforce and limit what is shared |
| No feedback loop | Quality drifts after launch | Route failures and overrides back to labelling |
What should you do first?
- Write down the one behaviour the agent must get right, and how you will measure it.
- Collect a small, representative sample and label it yourself to find where instructions are unclear.
- Check the current status and options of your labelling service with its provider.
- Run a pilot batch, review agreement between workers and fix the instructions.
- Train on the pilot, test on held-out data and plan how failures return to labelling.
To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.
Next Steps in Training Custom AI Agents with AWS SageMaker Ground Truth
Talk to our experts about the Next Steps in Training Custom AI Agents with AWS SageMaker Ground Truth. Learn how industries and departments leverage Agentic Workflows and Decision Intelligence to enhance AI model accuracy, automate data labeling, and optimize training pipelines. Utilize AI to streamline model development, improve efficiency, and drive smarter, data-driven decisions.
Frequently asked questions
What is SageMaker Ground Truth used for?
It is used to build labelled training datasets for machine learning models, with a private workforce or a vendor doing the labelling and optional machine learning help to choose what humans label.
Can new customers use SageMaker Ground Truth?
AWS documentation says Ground Truth is no longer open to new customers. Existing customers can continue to use it, but no new features are planned.
How many workers label each item?
You choose. The AWS defaults are three workers for classification, segmentation and named entity recognition tasks and five for bounding boxes. More workers can raise accuracy but increase cost.
Is a consolidated label always correct?
No. AWS describes the consolidated label as a probabilistic estimate of the true label, so you should still review a sample.
Does labelled data make an agent safe to run?
No. Labels train the model. Permissions, approvals and logging decide what the agent may do and need to be designed separately.
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE