Skip to content
Interlatent/Documentation
Ivy/Start here/Train vision models with an agent

Train vision models with an agent

Use Ivy by Interlatent for vision model training and evaluation. Training access is gated; contact team@interlatent.com to request access.

Training access is gated

Vision model training requires separately enabled account access. Contact team@interlatent.com to request access. A subscription or an MCP connection does not automatically enable training.

What is Ivy for vision model training?

Ivy is Interlatent’s MCP connection for agents working with video and computer vision. Agents can import recordings, create and review labels, export Dataset snapshots, and run reusable analysis pipelines on hosted compute. Accounts with training access can also plan, train, and compare task-specific vision models. Connect from an MCP-compatible agent and check the account’s available capabilities first.

What is a vision decision model?

In this guide, a vision decision model maps visual evidence to a defined outcome: whether an object is present, which state a scene shows, or whether an observable condition is satisfied. A useful specification names the input cameras, decision categories, time coverage, and an uncertain outcome. For example, a package inspection might distinguish “seal visible”, “seal missing”, and “unclear”.

Output you needWorkflow to explore
A visual yes/no decision, category, or scoreDefine criteria and evaluate representative frames with typed visual questions.
Object locations or masksUse object detection or image segmentation.
Object movement over timeDetect targets, track them, and review identity through occlusions.
A sequence of actions and their timesUse temporal action labeling with a clear boundary convention.
A model fitted to your own examplesPrepare a labeled Dataset and check training access before planning an experiment.

How do I prepare video data for a vision model?

Start with representative recordings and label definitions that another reviewer can follow. Include common cases, difficult cases, and ambiguous examples. Import a small sample, check the camera views, review the annotations, then apply the same recipe to the remaining selection. Build a Dataset snapshot when the selected recordings and labels are ready.

  1. Import recordings from files, direct video links, Hugging Face, or supported storage.
  2. Define each label, the visual evidence it requires, and how to handle uncertainty.
  3. Review a representative labeled sample before batching the remaining recordings.
  4. Export a Dataset snapshot and record its ID, label convention, and known limitations.

Can an AI agent train a computer vision model with Ivy?

Yes, when training is enabled for the connected account. Training access is separate from the subscription plan. The agent checks access, inspects an immutable Dataset, saves an experiment plan, and starts the run within an agreed compute ceiling. It then reads the measured results and artifacts. Importing recordings, generating labels, and building a Dataset are separate steps from training.

  1. Call get_account to check training_research.available_to_account, credits, and billing readiness.
  2. Read get_training_guidance and inspect_training_dataset before selecting inputs and labels.
  3. Use plan_training_experiment to save the hypothesis, configuration, evaluation protocol, and estimate.
  4. Use run_training with a max_compute_usd ceiling that covers the estimate.
  5. Poll get_training_run, inspect evaluation artifacts, and compare against the baseline with compare_training_runs.
Prompt
Use Ivy to check whether training is enabled for my account. I want a vision model for TASK using DATASET. If enabled, inspect the Dataset and plan a small baseline with clear labels, a fixed train/validation split, an appropriate metric, and an estimated compute cost. Keep final test data untouched. Show the plan before starting training.

How should I evaluate a vision decision model?

Choose metrics that match the decision and its cost of error. For a binary visual decision, report precision, recall, false positives, and missed cases at a stated threshold. For multiple categories, inspect per-class results and a confusion matrix. For action timelines or tracking, evaluate temporal boundaries or identity consistency as appropriate. Review disagreements against the source footage.

  1. Freeze the label definitions, Dataset version, split, and preprocessing before comparing experiments.
  2. Separate related recordings across splits carefully; nearby frames from the same recording can leak information.
  3. Use validation data for model and threshold selection. Reserve final test data for the final evaluation.
  4. Inspect difficult examples and uncertain outputs alongside aggregate metrics.
  5. Record camera coverage, sampling, latency requirements, and evaluation conditions with each result.

How do I reuse a reviewed vision workflow?

Save a repeatable annotation recipe as a versioned pipeline, check its input requirements, and inspect a real sample before running it over more recordings. A pipeline with a current verified sample can be deployed as an API for new inputs. Pipeline deployment is separate from deploying a newly trained model: confirm the supported model loader and inference arrangement for that model.

Vision training questions

Use these answers to choose the next step for your dataset and intended output.

Should I use a vision language model or train a task-specific vision model?

Start by defining the output and evaluating a baseline on representative examples. A vision language model can help label data or assess visual questions. Training a task-specific model is a separate experiment when you have stable labels and want to measure accuracy, latency, or inference cost for that task.

How much video do I need to train a vision model?

There is no universal number of video hours. Required data depends on the task, label frequency, visual variation, and target performance. A small representative sample can establish the workflow; training adequacy should be assessed using held-out results and error analysis as the dataset grows.

Can I use private footage to build a vision model?

Agree on access, storage, provider handling, and model usage rights before sharing confidential footage. Interlatent supports source arrangements including reading footage in place from an S3 bucket and copying uploads or Drive imports into its storage. The Rights & data FAQ explains the distinctions and links to the privacy policy.

Start hereQuickstartImport a Hugging Face dataset and analyze an episode with Ivy.Start hereConnect an agentOfficial setup for Interlatent’s Ivy at interlatent.com. Connect your agent to shared visual data, hosted compute, and saved analysis through Ivy.Start hereTrain vision models with an agentUse Ivy by Interlatent for vision model training and evaluation. Training access is gated; contact team@interlatent.com to request access.User manualImport a datasetImport public or private Hugging Face datasets, video files, or recordings from connected storage.User manualAccess datasets from a coding agentDescribe the dataset you want, ask questions about its recordings, and turn the answers into a selection for vision model work with your MCP-compatible coding agent.User manualAmazon S3Connect a bucket, import a small recording collection, and verify that it is ready for analysis.User manualGoogle DriveShare a folder with Ivy, review the import plan, and bring the recordings into a project.User manualGoogle Cloud StorageGrant bucket access, verify the connection, and import recordings from a gs:// path.User manualFiles & video linksImport a single video, a direct download link, or a local recording directory.User manualFind & tag videosFind recordings by their visual content, save a selection as tags, and reuse it in later analysis.User manualObject trackingDetect objects, track their masks with SAM, and inspect the result before measuring motion or counting passages.User manualModels & analysisChoose the method for your question: actions, object locations, masks, or classifications.User manualSubtask segmentation & semantic trimmingPrompt Ivy to divide a video into meaningful steps, steer the boundaries and labels, and export selected sections as video clips.User manualTrim & process videoTrim video by timestamps or meaningful action sections, create processed views, and keep source and output times clear.User manualRun your first experimentsRun action labeling and object tracking on a small sample, then compare and apply the results.User manualReview & exportInspect annotations, correct errors, and export a Dataset snapshot.Technical referenceCore conceptsProjects, recordings, annotations, pipelines, and Dataset snapshots.Technical referencePython recipes & ffmpegRun repeatable measurements and video transformations with annotate(clip, ctx), then save outputs for review.Technical referenceQueries & tag operationsQuery saved annotations and recorded per-frame data with SQL, then use the matching clip IDs for tagging or export.Technical referenceSource connectionsConnection states, cloud permissions, import tools, and recovery for source workflows.Technical referenceTool referencePublic MCP tools grouped by task. Your connected agent provides the current schemas and availability.Technical referenceTroubleshootingResolve common connection, import, analysis, and access errors.ResourcesRights & data FAQAnswers about private video data, vision model ownership, provider handling, evaluation, and trial pricing with Interlatent.