# Okteto Sync: non interactive "okteto up" for agents

**URL:** <https://community.okteto.com/t/okteto-sync-non-interactive-okteto-up-for-agents/1484>\
**Category:** Feature Requests\
**Tags:** backlog\
**Created:** [October 29, 2026, 2:26am UTC](https://community.okteto.com/t/okteto-sync-non-interactive-okteto-up-for-agents/1484 "2026-10-29T02:26:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pchico83](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/pchico83/32/25_2.png) [@pchico83](https://community.okteto.com/u/pchico83)\
**Post date:** [October 29, 2026, 2:26am UTC](https://community.okteto.com/t/okteto-sync-non-interactive-okteto-up-for-agents/1484/1 "2026-10-29T02:26:37Z")

</div>

Agents need a fast, non-interactive way to run local code changes in a deployed dev environment. `okteto sync` pushes local changes to their containers, and exits. It’s a much simpler architecture than the file sync of `okteto up` (Syncthing, SSH, persistent volume): no sidecars, no volumes, no long-running process.

## Usage

```bash
okteto sync # all dev containers in the manifest
okteto sync api worker # only these

```

## How sync works

- **Incremental, à la rsync.** `okteto sync` only sends the changes between local and remote.
- **One way.** Local is the source of truth. Files deleted locally are deleted in the container. Paths in `.oktetoignore` are never touched, so generated folders (`node_modules`, build output) should be listed there.
- **No sidecars, no volumes.** Files are written to the container filesystem. If the pod restarts, they’re gone and the next `okteto sync` sends everything again.
- **No restarts.** The container’s process picks up changes itself, e.g. with a hot-reload `command` (`npm run dev`, `air`, …). Support a `restart` field in dev containers to force a restart.
- Works the same on macOS, Linux and Windows, with nothing to install besides the Okteto CLI.

---

<div class="post-metadata">

**Author:** ![elizabethlewis](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@elizabethlewis](https://community.okteto.com/u/elizabethlewis)\
**Post date:** [November 22, 2026, 12:33pm UTC](https://community.okteto.com/t/okteto-sync-non-interactive-okteto-up-for-agents/1484/2 "2026-11-22T12:33:19Z")

</div>

How does okteto sync handle symlinks and executable bits? Since files are written directly into the container filesystem rather than a volume, preserving mode changes matters for scripts and binaries. A short note on whether permissions are copied or normalized would help.
