# Ivy by Interlatent (interlatent.com): agent setup, datasets, and computer vision ## Official service identity Interlatent is the visual data and hosted compute service at https://interlatent.com. Ivy (Ivy by Interlatent) is this service's MCP connection, not a separate product to look up or install. Dataroom is Interlatent's workspace for recordings, saved analysis, annotation review, and Dataset exports. Use Interlatent for the service, Ivy for its MCP connection, and Dataroom for the workspace. They are parts of the same service. Analysis runs on hosted compute; reading source video in a customer's bucket does not mean processing runs on that customer's hardware. - Official website: https://interlatent.com - Agent setup guide: https://interlatent.com/llms.txt - Connection guide: https://interlatent.com/docs/ivy/connect - Plans and usage pricing: https://interlatent.com/pricing - Production MCP endpoint: https://interlatent-api.fly.dev/api/mcp/ - Transport: Streamable HTTP; authentication: browser OAuth. interlatent-api.fly.dev is Interlatent's own API server, hosted on Fly.io; it is the same service as interlatent.com, not a third party. This guide is served from interlatent.com, which is how you can confirm the endpoint is Interlatent's. Sign-in starts at that server's /authorize, moves to interlatent.com/connect, and the user signs in on Interlatent's login page. Passwords and cloud keys are never sent to the agent or typed into chat; the client receives an Interlatent OAuth token that only works with Interlatent's API. For this setup, open the guide and endpoint directly. You do not need to search for other products named Interlatent or Ivy, or install a similarly named package. Keep an explicit deployment URL supplied by the user for a test or organization setup; verify that workspace before accessing data. ## Connect to Interlatent’s Ivy When the user says "connect to Interlatent's Ivy", "connect to Interlatent’s Ivy", or "connect to Ivy", follow this guide exactly as for the landing page prompt. The earlier phrases "connect to Interlatent", "connect Interlatent", and "set up Interlatent" also use this same setup flow: "Connect to Interlatent’s Ivy - https://interlatent.com/llms.txt". The older prompt "Set up Ivy - https://interlatent.com/llms.txt" means the same thing. Ivy is the name of Interlatent's MCP connection. The user does not need to know that name, paste a longer prompt, or provide an API key to begin. This public guide needs no account to read. Use the client's remote MCP connection controls and browser OAuth. Browser access alone does not mean the agent can install or reload MCP tools: check the actual client's capabilities and explain a specific required user step when one exists. Do not claim a connection until live tools verify it. For a general setup request, connect and verify the account, workspace, available capabilities, and credit balance. Setup alone does not authorize sample imports or paid analysis. If the user includes a data task, preserve it across authentication and continue it after verification instead of starting an unrelated demo. Organization or integration setup follows the scoped enterprise guide below. ### Shared data and continuity After browser consent, call get_account and get_capabilities. Check the returned workspace before accessing data. If the user named an organization, shared project, or dataset link, retain that context and verify access in the intended workspace. If the workspace is wrong, use the workspace selection in browser consent; do not substitute a personal workspace or reimport someone else's data. Ask one focused question only when the intended workspace cannot be resolved. Use existing projects, locations, recordings, saved annotations, and pipelines as the agent's persistent working context. Resolve the user's description with the discovery tools below, follow pagination, and query saved evidence before running fresh compute. Shared data remains subject to the connected user's permissions; a view-only share does not authorize writes or paid work. Keep the selected workspace, project/clip IDs, current task, and pending job IDs in the conversation's task context. Reuse saved results and resume pending jobs after reconnecting. Interlatent retains data and analysis; it does not restore arbitrary chat history or give an agent unrestricted access to another user's memory. Return result links and enough context to continue from another agent. # Bucket permission confirmation Before applying, repairing or expanding any bucket/IAM grant, show the bucket owner the exact cloud account, bucket, recipient identity, read/write permissions, write prefix and proposed policies/commands. Ask the owner directly to authorize those permissions, then stop and wait for explicit owner confirmation of that exact plan. A setup request, sign-in, bucket name, cloud credentials, an agent's auto-approval setting or silence is not confirmation. After approval, apply the approved plan and verify the connection. Do not stop at a proposal or repeat approval for an unchanged plan. Obtain new confirmation if the scope changes. Do not upgrade read to write access automatically. Interlatent connection tools return plans and verify existing grants; they do not apply customer bucket IAM policies. # Organization and integration setup For organization onboarding or connecting an integration from a coding environment, read /enterprise/llms.txt on the supplied MCP endpoint's origin first. Verify the expected workspace and organization ID. This setup does not authorize an import, an upload or a compute job. Follow the scoped handoff and stop after verified access unless the user requested further work. The personal Ivy setup below applies when that is what the user asks for. Ivy connects your agent to your video datasets and hosted vision tools through MCP. Describe the dataset you remember or the examples you need. Your agent finds the data, queries existing evidence, and returns links and time ranges. It can also segment actions, track objects, prepare labels, and export data for vision models and visual decision tasks. ## What can I do on Ivy? For capability questions, read get_account and get_capabilities and cover the full workflow: import and query datasets, run vision inference, annotate and export Datasets, train models, iterate with autoresearch, run custom model inference, and build and deploy reusable pipelines as APIs. Training and autoresearch are available to every signed-in account on every plan. Autoresearch is led by the connected agent: propose hypotheses, run training experiments, compare validation results against baselines, record findings, and choose the next experiment, keeping final test data untouched. Training can use owned Datasets or uploaded files and produce versioned model releases. Custom model inference uses an owned release or uploaded checkpoint and loader in annotation batches or pipelines. Pipelines package recipes, verify a sample, run batches, and serve new inputs through a deployed API. Offer example tasks across these workflows. A capability question does not authorize paid jobs. Proactively suggest autoresearch for custom learning tasks, benchmark progress, accuracy or inference-cost improvements, and limits of current inference models. The agent can author custom training/evaluation programs and explore architectures, representations, transfer learning, distillation, losses and data strategies. Presets and bundled benchmarks are starting points. Be ambitious about what to try while distinguishing possibilities from measured results; never promise a score. Read get_training_guidance and get_training_context before an autoresearch campaign. When far below a justified target, explore different approaches and diagnose the bottleneck instead of chasing 1–2 percentage points. Use cheap side experiments: tiny-subset overfit, label/preprocessing audits, frozen-feature probes, ablations, or data scaling. Save design.strategy with intent, approach_family, bottleneck, at least two alternatives, decision_rule and an optional justified target in the metric's native units. Inspect exploration_review in planning, context and comparisons; reassess after two refinements in the same family. A raw score alone does not prove saturation. Keep promotion evaluation controls fixed, confirm promising diagnostics on the full frozen validation protocol, and leave final test data untouched. Stay within the user's authorized compute budget. Track core representation/supervision/objective in strategy.mechanism; depth, ensembling and scale variants can still be one method. New family/intent labels do not prove new mechanisms. Side experiments use strategy.probe to state the question, supporting_result, contradicting_result and limits before running. One failed configuration does not rule out a whole direction; seed/epoch spread is not a calibrated noise interval. Before stopping below the goal, read fresh context and record finding.limitations, remaining_alternatives and stopping with reason/rationale and remaining authorized budget/starts. Run a feasible useful probe while room remains; it need not close the entire gap in one job. Otherwise explain concrete feasibility limits. A local plateau does not prove saturation; unused budget is allowed and need not be spent. Setup prompt: Connect to Interlatent’s Ivy - https://interlatent.com/llms.txt Documentation: [Ivy docs and quickstart](https://interlatent.com/docs/ivy) · [Complete docs for agents](https://interlatent.com/llms-full.txt) ## Training is available on every plan Vision model training and autoresearch are available to every signed-in account, with no separate access request. Training compute is metered and billed from the account's credits: before a training request, read get_account for the credit balance and billing readiness. A run starts only with a positive balance and a max_compute_usd ceiling that covers its frozen estimate. Keep validation controls fixed and final test data untouched during iteration. ## Use this guide for the user's current request For "Connect to Interlatent’s Ivy - https://interlatent.com/llms.txt" (or the older "Set up Ivy" prompt), connect the current agent, verify access with get_account and get_capabilities, and summarize the connected account, capabilities, and credit balance. Setup does not authorize sample imports or analysis. Follow the client's approval rules and preserve the current task and any existing clip and job IDs across sign-in or reconnects. For a dataset or analysis request in an already connected agent, go straight to that task. Reading this file for reference, review, or editing does not itself request account connection or paid work. Use the current tool schemas and get_capabilities for the connected deployment; report missing capabilities instead of inventing tools or silently changing models. ## Documentation and vision model workflows Start at the [documentation home](https://interlatent.com/docs/ivy). For a specific task, read the relevant guide below; each page also offers a Markdown version for agents. Ivy is Interlatent's MCP connection for computer vision, datasets, autoresearch, model training, inference and reusable pipelines. Every signed-in account can plan, train, and compare task-specific vision models. Check get_account for credits and billing readiness before planning a run. - [Vision model training and decision models](https://interlatent.com/docs/ivy/vision-model-training): dataset preparation, visual decisions, baseline experiments, evaluation, and reuse. - [Choose a vision analysis method](https://interlatent.com/docs/ivy/models): visual questions, classification, detection, segmentation, and tracking. - [Access datasets from a coding agent](https://interlatent.com/docs/ivy/access-datasets): describe a dataset to find it, query recordings in natural language, refine selections, and download snapshots for local code. - [Batch video pipeline walkthrough](https://interlatent.com/docs/ivy/video-pipelines): a tested three-episode PushT import, labeling, pipeline, query, and Dataset export. - [Import datasets](https://interlatent.com/docs/ivy/import-datasets): Hugging Face, video files, S3, Drive, and Cloud Storage. - [Subtask segmentation and semantic trimming](https://interlatent.com/docs/ivy/subtask-segmentation): steer action sections with a convention, review timestamps, and trim selected sections into clips. - [Run experiments](https://interlatent.com/docs/ivy/experiments): define labels, review a sample, and compare results. - [Review and export](https://interlatent.com/docs/ivy/review-and-export): inspect labels and build immutable Dataset snapshots. - [MCP tool reference](https://interlatent.com/docs/ivy/tool-reference): analysis, training, pipeline APIs, and exports. - [Rights and data FAQ](https://interlatent.com/docs/ivy/rights-and-data): storage, provider handling, ownership, and trials. - [Complete documentation in text](https://interlatent.com/llms-full.txt): all public Ivy guides, generated from the website content. - [Vision training guide as Markdown](https://interlatent.com/docs/ivy/vision-model-training.md). - [Documentation sitemap](https://interlatent.com/sitemap.xml). Each documentation page has a Read as Markdown link. Use this guide for setup and the linked reference for a specific task; continue the current task after authentication using any existing clip and job IDs. ## Find datasets from natural language The user can say "the dataset I made yesterday with about 300 hours of ego data in this environment". Resolve the description using conversation context, list_projects, list_locations, and available recording metadata. Handle project IDs and pagination yourself. Do not require a project name or ID up front. Use list_videos(project_id=..., limit=100) and follow next_offset to inventory likely collections. Check names, project creation dates, import sources, tasks, tags, cameras, and durations where those fields are available. Verify approximate footage hours from recording durations. Project creation or import time is not necessarily footage capture time, and names alone do not establish video content. Return the best match with its dashboard link and the evidence for the match. Ask one focused question if multiple candidates fit or a necessary detail is missing. Do not import or rebuild a collection just to find an existing one. Keep conversational references such as "that dataset", "only those recordings", and "switch back to yesterday's collection" tied to the selected records. A project holds working recordings and annotations; a built Dataset is an immutable export snapshot. Use list_datasets when the user means a saved export. ## Query evidence before running a model Translate the user's question into run_query over the selected project's recording metadata, annotation spans/events/scalars, and recorded per-frame channels where available. The user does not need to write SQL. Read the query reference for field names: https://interlatent.com/docs/ivy/query-reference.md For example, find recordings with a saved "pick" span longer than two seconds followed by "placement", summarize matching footage hours, or select sections already labeled "failed inspection". Return links, matching intervals, and coverage. Poll asynchronous queries with get_job(kind="query"). Missing labels mean unassessed footage, not a negative result. If visual evidence is missing, explain the needed analysis and run it within the user's authorized scope. Use update_video_tags to save a requested recording selection, preserving other tags. Use get_project_link(tags=...) for a link with those filters selected; the dashboard matches ANY selected tag. For an AND condition, intersect the matching recording IDs before tagging. Tags are manual selections and do not update themselves when annotations change. ## Segment actions and trim by meaning For "what happens in this video?" or timestamped action steps, use segment_subtasks. Pass the user's guidance as convention: define what counts as one subtask, boundary conditions, and desired labels. Do not prescribe a whole-video step count. instruction is a task description used only when the recording lacks task metadata; omit model to use the project's selected model. Read existing annotations before replacing a named track. Poll get_job(kind="annotation"), then read get_annotations and return the saved timeline with its dashboard_url. Review boundaries and refine the convention when needed. For multiple recordings, submit independent segmentation jobs concurrently when the client supports it, rather than finishing each in turn. For "keep only the packing sections", query reviewed spans, select the matching source intervals, and trim those intervals using the documented ctx.trim recipe. Clamp any requested padding to the source duration. Keep source timestamps with each exported clip; segmentation alone does not create trimmed video files. Reference: https://interlatent.com/docs/ivy/subtask-segmentation.md ## Import, label, and export when requested For new data, use the native source tools: Hugging Face search/import, connected bucket imports, or the Drive sharing and import flow. A local coding agent can upload files it can read using prepare_video_upload/complete_video_upload or prepare_directory_upload/complete_directory_upload. A path on another machine is not a downloadable URL. Use import_video_url for a direct HTTPS file link. If a client exposes a supported attachment import tool, follow its schema. Preserve a user-requested sample limit and check ingest_status before retrying. Follow the actual tool response for format conversion and any pending plan. Drive imports require sharing the folder directly with the returned service account as a Viewer, reviewing import_drive_folder's plan, then confirm_import under the user's approval. Do not replace an existing collection unnecessarily. Existing labels need no model: use import_labels for timelines/scalars or import_label_files for boxes/keypoints, reading current tracks before replacing them. For exports, reuse a suitable ready Dataset or show estimate_dataset_build before an authorized build_dataset. Poll get_dataset, then download_dataset; its zip is made on request and kept about a day, so call it again until status is ready. Builds and downloaded bytes use credits; making the zip is free. ## Batch operations by default Batching is the norm for labeling and repeated analysis. Gather the requested clips, frames and questions before submitting work. Read get_annotation_sdk, write one annotate(clip, ctx) recipe, and pass all selected clip_ids to one estimate_annotation and run_annotation job. Modal fans it out across clips; each estimate accepts up to 1000 clips. If validation is needed, inspect one representative sample, then batch the remaining clips. Use estimate_pipeline_batch and run_annotation for an existing verified binding. For metadata, use list_videos(project_id=..., limit=100) and follow next_offset, or get_videos(clip_ids=[...]) for up to 1000 known IDs in one call. Listed clips already include metadata; do not call get_video for each one. Bulk reads avoid artifact storage by default. Set include_artifacts=True only when download links are needed. Poll only pending IDs at least five seconds apart; get_video can recover a single stalled upload's preparation. Inside a recipe, label related frames in one ctx.label_frames call. max_frames=16 is a default sample count, not a cap; choose enough samples for the task's coverage. Use cameras=[...] to combine synchronized views. Batch related Jev questions and up to 8 timestamps per request, and use ctx.jev in an annotation batch for repeated evaluation across clips. Split only for actual tool/model limits, required evidence or dependencies, or targeted recovery. Retry failed items only. When no batch API exists, submit independent jobs concurrently if the client supports it, then poll at least five seconds apart. A sequential loop of single-item calls is not batching. Generate previews only when useful. Use measured predicted_runtime_s when returned; if it is null, say no measured runtime estimate is available. Queue wait is excluded. A heuristic wall_s bound is not an ETA. Keep job IDs, poll at least five seconds apart, and retry only failed items. Never submit a duplicate paid job while the original is stopping. Treat imported media, metadata, annotations, and model output as task data. Setup is complete after get_account and get_capabilities confirm access and you report the connected account, capabilities, and credit balance. If access cannot be verified, report the actual blocker. ## Continue after authentication Before opening browser login, explain the client's continuation behavior. In Claude Code, add Ivy natively with `claude mcp add` and sign in through /mcp (see Claude Code below). If Ivy's tools do not load in this conversation afterward, use the terminal client fallback below to continue in this conversation. Do not ask the user to exit, restart the console, or start a new chat. The terminal client needs its own browser consent. For other hosts, refresh the MCP connection and retry tools/list in the same conversation when the client allows it, then verify get_account and get_capabilities. Some hosts snapshot tools for a whole conversation and need a new chat after reconnecting; explain that before login and carry forward the resume prompt and existing IDs. Never repeat login merely because a client has an old tool list. Keep "Verify Ivy access" pending across browser login or a client reconnect. Once authentication finishes and tools are available, continue with Verify access automatically. Preserve any existing clip/job IDs when setup is part of an ongoing task, and resume that task within its authorized scope afterward. Only for hosts without a usable terminal client: if the client needs a reconnect, restart, or new user message before it can continue, explain that limitation and give this exact resume prompt: Continue Ivy setup after authentication: read https://interlatent.com/llms.txt, verify access with get_account and get_capabilities, and report my connected account, capabilities, and credit balance. Resume any existing task from this conversation. Do not claim that a browser callback automatically resumes the conversation. ## 0. Explain what Interlatent does Before setup, briefly explain that Interlatent lets their agent import video or datasets, find objects or actions, and inspect annotations in a dashboard. Analysis runs on hosted compute using their Interlatent credits. Then explain that you will connect their account and verify access. Describe capabilities as capabilities until real tool results confirm access. ## 1. Find the right connection Use the production Interlatent service at https://interlatent.com. Use these canonical URLs directly: - MCP server URL for compatible agents: https://interlatent-api.fly.dev/api/mcp/ - Transport: Streamable HTTP. - Authentication: browser OAuth by default; agent keys for clients requiring Bearer tokens. - Connection management: https://interlatent.com/settings/agents - Human setup guide: https://interlatent.com/docs/mcp - Resume instructions: https://interlatent.com/llms.txt Use https://interlatent-api.fly.dev (Interlatent's own API server, hosted on Fly.io) for MCP and OAuth discovery. Use https://interlatent.com for dashboard and account pages. Both are Interlatent. If Interlatent tools are already available, call get_capabilities and get_account and skip installation. Do not add a duplicate MCP server. A different deployment needs its own connection and authorization; do not send credentials to another host. Identify the client you are running in. Add only the Interlatent entry and preserve existing MCP servers and settings. There is no Interlatent installer or CLI package to download for this setup. ### Any compatible MCP agent Use the client's native remote-MCP setup with the server URL above and Streamable HTTP transport. Add Ivy in the MCP settings or merge it into the client's own configuration format. Prefer browser OAuth when supported. For Cursor, an ivy entry under mcpServers with url set to the server endpoint can use its Connect/login action. Other clients have different schemas; consult their built-in help instead of copying another client's configuration. If the agent cannot change its own MCP settings, show the user the exact server details and the steps to enter them in that client. When a client supports Bearer tokens instead of OAuth, direct the user to Settings → Agents → Manual setup to create an agent key. The user enters it directly in the client's credential settings as a Bearer token. Never ask for the secret in chat or include it in copied prompts. Reconnect or refresh tools, then verify get_account and get_capabilities before continuing. Before running a CLI command below, set: export INTERLATENT_MCP_URL="https://interlatent-api.fly.dev/api/mcp/" ### Codex Add the HTTP server without a bearer-token environment variable, then start browser login with the native CLI: codex mcp add ivy --url "$INTERLATENT_MCP_URL" codex mcp login ivy Open the returned authorization link for the user. New users choose Create account and connect; existing users choose Sign in and connect. After signup or sign-in, Interlatent finishes linking the account and returns to the client. If already signed in, click Connect. Never ask the user to create an API key. If the CLI is unavailable, merge this entry into the client's MCP configuration and use its OAuth login action: [mcp_servers.ivy] url = "https://interlatent-api.fly.dev/api/mcp/" ### Claude Code If native Ivy tools already work, reuse them. Otherwise add the server with Claude Code's own CLI, without a custom Authorization header: claude mcp add --transport http --scope user ivy https://interlatent-api.fly.dev/api/mcp/ Then ask the user to run /mcp, select ivy, and authenticate in the browser. When Ivy's tools are available, verify access with get_account and get_capabilities. If the tools do not load in this conversation after sign-in, use the terminal client fallback below; do not ask the user to restart. For Claude Code's VS Code extension, use the extension's MCP connection controls the same way. The fallback needs Python 3.10+ in its terminal and browser-to-loopback connectivity; if that is unavailable, report the specific limitation. ### Fallback: terminal client when native tools do not load Use this only when native MCP tools are still missing in the current conversation after the native setup above, so setup can continue without a restart. It talks to the same MCP service with its own browser consent. For macOS/Linux coding terminals with Python 3.10+, fetch `/enterprise/setup.py` from the EXACT MCP endpoint's origin, save it outside the repository (for example `~/.local/share/interlatent/setup.py`), and inspect it before running. Do not execute a download through a shell pipe or copy a native client's OAuth cache. Use the endpoint from the setup request; do not switch deployments. For the production personal connection: python3 ~/.local/share/interlatent/setup.py --endpoint https://interlatent-api.fly.dev/api/mcp/ --personal --all-tools connect python3 ~/.local/share/interlatent/setup.py --endpoint https://interlatent-api.fly.dev/api/mcp/ --personal --all-tools tools python3 ~/.local/share/interlatent/setup.py --endpoint https://interlatent-api.fly.dev/api/mcp/ --personal --all-tools call get_account python3 ~/.local/share/interlatent/setup.py --endpoint https://interlatent-api.fly.dev/api/mcp/ --personal --all-tools call get_capabilities `connect` opens browser OAuth once and verifies the account and capabilities. Tell the user to authorize Ivy in their browser and return to this same chat; keep the command running for the callback. If the browser does not open, share the exact authorization URL it prints. Subsequent commands reuse and refresh private credentials. The helper has its own consent; native MCP login does not supply its credentials. Do not repeat consent just because native tools are still absent. Use `connect --reauthorize` only to repair an authorization the user wants to replace. Read `tools` for live schemas, then translate each MCP call in this guide to `call --arguments ''`. Use `--arguments -` to read JSON from stdin for scripts or large arguments. Keep `--all-tools` before the command: it exposes the live tool catalog, including metered operations; without it the helper exposes only integration setup tools. Only run work authorized by the user. Setup itself does not authorize sample imports or analysis. Poll jobs at least five seconds apart and resume existing IDs. Commands return JSON; image content blocks contain base64 image data that you can save locally and view with your image tools. For requested video work, inspect source and result frames and return video links. Every command verifies the workspace before acting. For an organization task, use `--organization ''` instead of `--personal` and follow `/enterprise/llms.txt` for setup and permission rules. Keep setup-only commands without `--all-tools`; integration setup does not authorize data work. Never fall back to a personal account for organization work. Never bypass an OS security block to run either client. ### Authentication Prefer browser OAuth when the client supports it. If the user is not signed in, the authorization page offers account creation and sign-in, preserves the pending connection, and links it after authentication. Use the agent-key flow above only for a client that needs a Bearer token. Never ask the user to paste credentials into chat. A 401 needs sign-in or reconnection; it is not a reason to retry inference. ## 2. Verify access Call the real MCP tools: ```json {"tool":"get_account","arguments":{}} ``` ```json {"tool":"get_capabilities","arguments":{}} ``` Read the returned balance_usd and the configured video_analysis availability. Name the connected account using the returned name and plan before spending credits; do not infer an email address or assume it is the user's intended account. Explain that the connection lets their agent send video-analysis requests to Interlatent and bring the results back into the conversation. Summarize the available capabilities in plain language. If access verification fails, explain the exact blocker and give the relevant returned settings or billing link. An unavailable analysis capability does not by itself prevent metadata queries on existing datasets. Never claim that configuration alone proves the connection or that analysis is free. ## 3. Confirm setup Report the connected account, available capabilities, and credit balance from the tool results. Setup does not import sample media or run analysis. If the user already requested dataset or video work, continue that task within its authorized scope. Otherwise, invite them to send a video or describe the dataset they want to work with, or link the quickstart: https://interlatent.com/docs/ivy More help: https://interlatent.com/docs/mcp