Cenote Agent / coming soon

Drop in a zip.
Get back a clean project.

An AI coding agent that unzips safely, sorts your files into the right folders, fixes every import, and exports the result as a fresh zip.

Safe unzipAuto-organizeImport rewriteRepo mapPlan, execute, verifyRollbackExport zip

How it works

Five stages. Never the whole repo in the prompt.

The agent works inside an isolated workspace and only reads what it needs, so it stays fast and focused on big projects.

1

Ingest & unzip safely

Extracts your zip into its own workspace folder. Blocks Zip-Slip paths, enforces size and file limits, and skips noise like node_modules, .git and build output.

2

Auto-organize & fix imports

Groups messy files into routes/, components/, models/, utils/, config/ and tests/, then rewrites every path and logs each move.

3

Fingerprint & repo map

Reads manifests like package.json and Dockerfile to detect the stack, then builds a compact tree of files, exports and routes at almost no token cost.

4

Plan, execute, verify

Searches with grep and glob, reads small slices, plans first, applies surgical patches, runs tests, then reviews the diff for errors and broken references.

5

Hooks, subagents & rollback

Pre-checks block destructive commands and secrets. Post-checks run your linter and tests. Snapshots are saved before multi-file edits so you can roll back.

The workspace

Chat on the left. Proof on the right.

Four zones keep prompts, tool calls, files and diffs easy to scan. This is an illustrative demo of how a run will look. The agent is not available yet.

Model Cenote CodeMode PlanContext 18%Workspace a41f9c
Clean up this project and fix the imports.
Reasoning Flat layout with mixed concerns. I will map it, group by role, then verify.
> Prompt, @file mention, or /command Shift+Tab: cycle mode

Auto-organize

From a pile of files to a real structure

Entry points like server.js, package.json and README.md stay at the root. Everything else goes where it belongs, and every move is logged.

Slash commands

Seven commands. That is the whole interface.

/plan

Read-only exploration and a step-by-step plan before any edits.

/organize

Group files into clean folders and rewrite relative paths.

/init

Scan the project and create or update AGENT.md.

/diff

Review every file change and move in this session.

/compact

Compress older chat history and keep the key state.

/clear

Reset the session cleanly.

/export-zip

Pack the workspace into a downloadable zip.

Agent toolset

Eight tools, each one small and safe

ToolWhat it does
list_files(dir_path)Lists files and folders with sizes and line counts.
grep_search(pattern, subpath)Finds text or regex matches with file and line.
read_file(path, start, end)Reads a bounded slice of lines with line numbers.
patch_file(path, search, replace)Replaces an exact block. Fails cleanly if nothing matches.
write_file(path, content)Creates a file, or overwrites only when intended.
move_file(from, to)Moves inside the workspace, rewrites imports, logs the move.
organize_workspace(mode)Plans (dry_run) or applies (apply) folder grouping.
run_command(command)Runs safe commands and captures exit code, stdout and stderr.

Project memory

Rules the agent actually follows

Put your stack, commands and gotchas in AGENT.md. Add rules, skills, subagents and hooks in a small .agent folder.

  • Rules for security, style and folders
  • Reusable workflows like audit and deploy
  • Explorer and reviewer subagents keep the main chat clean
  • Hooks block risky commands and run checks after edits
project-root/
├── AGENT.md
├── .agent/
│   ├── settings.json
│   ├── rules/
│   │   ├── security.md
│   │   ├── style.md
│   │   └── folders.md
│   ├── skills/
│   │   ├── audit.md
│   │   └── deploy.md
│   ├── agents/
│   │   ├── explorer.md
│   │   └── reviewer.md
│   └── hooks.json
└── (your organized folders)

Finished? Export the zip.

The agent packs everything except node_modules, .git, build output and temp files, then summarises what was created, moved and edited.

Open Cenote