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, available on every plan and billed from your credits.

Training is available on every plan

Vision model training and autoresearch are available to every signed-in account on every plan, with no separate access request. Training compute is metered and billed from your credits: a run starts only with a positive balance and a compute ceiling that covers its estimate.

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. Agents 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 credits 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, on any plan. The agent checks credits and billing readiness, 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 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 train a vision model for TASK using DATASET. Check my credits, 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.

Explore better approaches with autoresearch

Ask your agent to investigate a learning problem, compare competing approaches, and turn the findings into a reusable model release. It can write custom training and evaluation programs to test architectures, representations, transfer learning, distillation, losses, and data strategies. When results are far below a justified target, cheap diagnostic experiments help identify the bottleneck before spending more on small refinements. Presets and bundled benchmarks are starting points for this work.

  1. Establish a baseline, a justified target, a fixed validation protocol, and a compute budget.
  2. Compare at least two materially different approaches and identify what a small side experiment would teach about each.
  3. Test bottlenecks with label audits, tiny-subset overfit checks, frozen-feature probes, ablations, or data scaling.
  4. Review the evidence after repeated refinements; switch approaches when the remaining gap warrants broader exploration.
  5. Confirm promising methods on the full frozen validation protocol, record findings, and save a model release. Keep final test data untouched.
Prompt
Use Ivy autoresearch to improve TASK on DATASET within BUDGET. Read the training guidance and prior experiments. Establish a baseline and a justified target, propose competing approaches, and use cheap side experiments to find the bottleneck. If we are far from the target, prioritize different ways of solving the problem over marginal tuning. Record the strategy and findings, keep validation controls fixed for promotion, and leave final test data untouched.

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 agentConnect Claude Code, Codex, Cursor, or another compatible MCP agent to Interlatent’s Ivy for video datasets, hosted vision tools, and saved analysis.Start hereTrain vision models with an agentUse Ivy by Interlatent for vision model training and evaluation, available on every plan and billed from your credits.User manualRun batch video analysis with your agentA tested PushT walkthrough: import recordings, label actions, verify a pipeline, run a batch, query saved labels, and export a Dataset.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 S3Let your agent analyze S3 recordings on hosted compute without downloading the collection into its local sandbox. Connect a bucket and verify a small import.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.