[00:00] (0.08s)
AI coding keeps getting better and
[00:01] (1.76s)
better. Cursor came first and it was
[00:03] (3.68s)
basically VS Code with AI features added
[00:06] (6.08s)
on top. Then we got AI in our terminals.
[00:08] (8.48s)
Now Claude Code is one of the best
[00:10] (10.00s)
coding agents out there. But what if I
[00:11] (11.84s)
told you that today I found something
[00:13] (13.76s)
truly amazing? Something that makes
[00:15] (15.52s)
Claude Code work all by itself. It
[00:17] (17.60s)
creates a whole team. And this team
[00:19] (19.28s)
doesn't work one thing at a time. They
[00:21] (21.12s)
all work together at the same time. The
[00:22] (22.88s)
best part, you don't need to monitor
[00:24] (24.64s)
anything because it's a truly autonomous
[00:26] (26.80s)
system that just works. Before I show
[00:29] (29.12s)
you the workflow, there are two key
[00:30] (30.80s)
concepts you need to understand since
[00:32] (32.64s)
many people won't be familiar with them.
[00:34] (34.56s)
By understanding these, you'll see why
[00:36] (36.40s)
this workflow is so amazing and how it
[00:38] (38.48s)
defines the way AI agents may work in
[00:40] (40.72s)
the future. The first is T-Mox, which
[00:42] (42.64s)
stands for terminal multiplexer. It's a
[00:44] (44.88s)
program that lets you create multiple
[00:46] (46.80s)
terminal sessions inside one window.
[00:49] (49.04s)
What this means is that when an agent
[00:50] (50.96s)
like Claude Code is running in a
[00:52] (52.72s)
terminal, it can spawn additional
[00:54] (54.64s)
terminals within the same session and
[00:56] (56.48s)
assign tasks to them. One instance of
[00:58] (58.64s)
Cloud Code can effectively control and
[01:01] (61.04s)
manage as many Claude Code instances as
[01:03] (63.44s)
it wants. The best part is that T-Max
[01:05] (65.68s)
sessions persist in memory, so when you
[01:07] (67.92s)
return to them, you're exactly where you
[01:09] (69.84s)
left off. This is incredibly useful for
[01:12] (72.08s)
maintaining context. The second concept
[01:14] (74.16s)
is terminal scheduling. This allows you
[01:16] (76.24s)
to assign tasks to agents with specific
[01:18] (78.56s)
timing parameters. You can instruct them
[01:20] (80.56s)
to perform certain actions at designated
[01:22] (82.72s)
times, then automatically proceed to the
[01:24] (84.80s)
next task. There's no need for constant
[01:26] (86.64s)
monitoring. The agents simply follow the
[01:28] (88.80s)
schedule you've created, completing
[01:30] (90.40s)
everything automatically. That's the
[01:32] (92.08s)
power of scheduling. It transforms your
[01:34] (94.00s)
terminal into a self-running system.
[01:36] (96.24s)
Over on the AI Labs Discord community,
[01:38] (98.64s)
we're hosting our first ever hackathon
[01:40] (100.80s)
from July 22nd to July 28th. Submit your
[01:44] (104.24s)
most interesting builds and projects,
[01:46] (106.00s)
and the top five submissions will be
[01:47] (107.92s)
featured in one of our YouTube videos.
[01:49] (109.92s)
You can join by clicking the link in the
[01:51] (111.76s)
pinned comment below. And if you're
[01:53] (113.44s)
enjoying the content so far, make sure
[01:55] (115.36s)
to hit that subscribe button so you
[01:57] (117.28s)
don't miss what's coming next. Before we
[01:59] (119.76s)
start, navigate to the directory or
[02:01] (121.68s)
folder where you want the system to be
[02:03] (123.36s)
set up. Once you're there, go to the
[02:05] (125.04s)
GitHub repository linked in the
[02:06] (126.96s)
description below. This repository is
[02:08] (128.96s)
called T-Max Orchestrator, and you'll
[02:11] (131.04s)
need to copy the link from there. Go
[02:12] (132.80s)
back to your terminal and type git clone
[02:15] (135.04s)
followed by the link. This command will
[02:16] (136.96s)
clone the repository to your local
[02:18] (138.80s)
machine. After cloning, move into the
[02:20] (140.96s)
new directory called T-Max Orchestrator.
[02:23] (143.44s)
And once inside, you'll run the setup
[02:25] (145.52s)
commands shown here. You don't need to
[02:27] (147.12s)
copy these commands from the video.
[02:28] (148.96s)
Later, I'll show you how to get them in
[02:30] (150.72s)
a structured format for easy copy and
[02:32] (152.88s)
paste. Running the setup executes
[02:34] (154.96s)
scripts that enable the agentic
[02:36] (156.72s)
workflow. This step makes all necessary
[02:38] (158.88s)
files executable. Once the setup is
[02:40] (160.96s)
complete, you need to start a new T-mok
[02:43] (163.04s)
session. Since I already have one
[02:44] (164.56s)
running, I'll name this one my second
[02:46] (166.24s)
agent. This will initialize a fresh
[02:48] (168.24s)
session for you. Before you start
[02:49] (169.76s)
working with the system, you need to fix
[02:51] (171.68s)
two things. Since this project is still
[02:53] (173.68s)
in development and relatively new, not
[02:55] (175.84s)
everything has been finalized. There are
[02:57] (177.68s)
two errors in the repository that need
[02:59] (179.68s)
correction. After fixing these, the
[03:01] (181.60s)
system should run properly. Both fixes
[03:04] (184.08s)
I'm about to explain require editing
[03:06] (186.08s)
files inside the framework. This will
[03:08] (188.16s)
make more sense when I show you the
[03:09] (189.84s)
demo. These are minor changes that you
[03:11] (191.92s)
can easily make yourself. First, when
[03:13] (193.92s)
you're inside the T-Mox session, type
[03:15] (195.76s)
out Claude to initialize Claude code.
[03:18] (198.08s)
You'll then give it a specific prompt
[03:19] (199.84s)
that explains how the orchestrator
[03:21] (201.60s)
works. There are two checks to ensure
[03:23] (203.52s)
everything is functioning correctly. The
[03:25] (205.52s)
first check verifies that Claude can
[03:27] (207.52s)
control different windows using T-Mox.
[03:29] (209.84s)
The second check confirms the scheduling
[03:31] (211.76s)
system is working. When I run this
[03:33] (213.52s)
prompt, it passes successfully. However,
[03:35] (215.92s)
when you run it, the check will fail
[03:37] (217.76s)
because the author has hard-coded paths
[03:39] (219.92s)
with their own username in the
[03:41] (221.52s)
configuration files. Don't worry about
[03:43] (223.36s)
this failure. Claude will automatically
[03:45] (225.44s)
detect the issue and fix these paths to
[03:47] (227.68s)
work with your system. You won't need to
[03:49] (229.44s)
copy this prompt from the screen either.
[03:51] (231.68s)
Moving on to the second fix. You need to
[03:53] (233.76s)
ask Claude code to edit the files again.
[03:56] (236.16s)
This time, tell it to look through all
[03:57] (237.92s)
the commands and replace the claude
[03:59] (239.84s)
command with the claude command using
[04:01] (241.68s)
the dangerously skip permissions flag.
[04:03] (243.92s)
This change is necessary because the
[04:05] (245.84s)
original framework we cloned doesn't
[04:07] (247.84s)
include this feature. As you can see,
[04:09] (249.84s)
there are three terminals that one main
[04:11] (251.92s)
agent is controlling. This is the key
[04:14] (254.00s)
benefit of using the T-Mox system. It
[04:16] (256.32s)
allows the main agent you just set up to
[04:18] (258.56s)
automatically create new terminals
[04:20] (260.48s)
within your main terminal window. This
[04:22] (262.32s)
is my main terminal and it has created
[04:24] (264.40s)
three sub terminals inside. While I'm
[04:26] (266.56s)
showing you three, there are actually
[04:28] (268.24s)
eight terminals running here. Normally,
[04:30] (270.24s)
when you give Claude a command, it asks
[04:32] (272.24s)
for your permission. Even with
[04:33] (273.76s)
autoaccept edits enabled, Claude still
[04:36] (276.08s)
requires approval for certain commands.
[04:37] (277.92s)
With the dangerous skip permissions
[04:39] (279.52s)
flag, Claude runs all commands
[04:41] (281.44s)
automatically. I've used this flag many
[04:43] (283.60s)
times without any system issues. You
[04:45] (285.60s)
need this setting so all the different
[04:47] (287.28s)
terminals can run Claude commands
[04:49] (289.12s)
without requiring you to open each one
[04:51] (291.20s)
and approve every action. I learned this
[04:53] (293.20s)
the hard way. My first time using the
[04:54] (294.96s)
system, I started it but noticed it was
[04:57] (297.20s)
stuck. Even after 15 minutes with the
[04:59] (299.36s)
scheduling system, everything remained
[05:01] (301.20s)
frozen at the first phase. This happened
[05:03] (303.20s)
because all the terminals were waiting
[05:05] (305.12s)
for my approval. You need to enable this
[05:07] (307.12s)
flag. So the system can execute all
[05:09] (309.12s)
commands independently without waiting
[05:11] (311.12s)
for your input. You've seen the multiple
[05:13] (313.36s)
terminal setup, but there's another
[05:15] (315.20s)
crucial part that requires your
[05:16] (316.88s)
attention. This is where you'll spend
[05:18] (318.64s)
most of your time, and it's what makes
[05:20] (320.64s)
the entire system worthwhile. I've
[05:22] (322.72s)
opened the project directory and cursor
[05:24] (324.72s)
to visually explain the structure. You
[05:26] (326.72s)
can see our T-Mox orchestrator folder
[05:28] (328.80s)
that we cloned. Outside of that, I have
[05:30] (330.80s)
an app folder containing two subfolders,
[05:33] (333.20s)
spec and task manager. The spec folder
[05:35] (335.60s)
contains the documentation that the
[05:37] (337.52s)
T-Max Orchestrator uses as its
[05:39] (339.76s)
blueprint. The task manager folder is
[05:42] (342.00s)
where the actual app gets built. The
[05:43] (343.92s)
spec folder is critical. It contains the
[05:46] (346.24s)
main spec, integration spec, and
[05:48] (348.48s)
separate front-end and backend specs.
[05:50] (350.96s)
These files provide guidelines that tell
[05:52] (352.88s)
the orchestrator exactly what app to
[05:54] (354.96s)
build. The main spec includes timing for
[05:57] (357.04s)
each development phase. Everything is
[05:58] (358.96s)
timed and Claude Code must complete each
[06:01] (361.12s)
phase within its allocated time frame.
[06:03] (363.20s)
I've prepared a template you can use to
[06:05] (365.04s)
create your specs step by step. It
[06:06] (366.96s)
includes default requirements for a full
[06:08] (368.88s)
stack web app, which you can modify
[06:10] (370.72s)
based on your needs. If you're building
[06:12] (372.56s)
something different, make sure to review
[06:14] (374.24s)
and adjust the specifications
[06:15] (375.84s)
accordingly. Once your spec is ready,
[06:17] (377.68s)
you'll use a specific prompt to start
[06:19] (379.52s)
cla working on the project. After this
[06:21] (381.92s)
point, everything runs autonomously.
[06:24] (384.00s)
Here's what you need to know about the
[06:25] (385.44s)
prompt. You must provide the full path
[06:27] (387.44s)
to your spec folder starting from the
[06:29] (389.52s)
home directory. Don't use relative
[06:31] (391.36s)
paths. Next, specify what teams to
[06:33] (393.92s)
create. There's a front-end team and a
[06:35] (395.92s)
back-end team, each with a project
[06:37] (397.76s)
manager and developer. You can add more
[06:39] (399.92s)
teams using the same format. For
[06:41] (401.84s)
example, to add authentication, you type
[06:44] (404.40s)
create an O team and follow the same
[06:46] (406.56s)
pattern. The system builds according to
[06:48] (408.40s)
your spec and checks on each team every
[06:50] (410.48s)
15 minutes to ensure tasks are completed
[06:52] (412.80s)
on schedule. It also commits changes
[06:54] (414.80s)
regularly, creating restore points in
[06:56] (416.80s)
case anything goes wrong. Version
[06:58] (418.40s)
control is built into the workflow. Let
[07:00] (420.48s)
me demonstrate my setup. I've reached my
[07:02] (422.40s)
Claude usage limit, so I can't show live
[07:04] (424.40s)
coding, but I can walk through how I
[07:06] (426.24s)
started the workflow. After completing
[07:07] (427.92s)
the two fixes and creating the T-Max
[07:10] (430.08s)
session, initialize Claude again using
[07:12] (432.24s)
the dangerous permissions flag. This
[07:14] (434.24s)
launches Claude with the necessary
[07:15] (435.92s)
permissions. Then provide your prompt
[07:17] (437.76s)
and the system will begin building
[07:19] (439.44s)
everything automatically. Let me show
[07:21] (441.20s)
you the terminals it opens and how it
[07:23] (443.20s)
manages the coding process across them.
[07:25] (445.60s)
This is the start of the project. I
[07:27] (447.44s)
initialized it exactly as I showed you.
[07:29] (449.60s)
To be safe, I ran the check command
[07:31] (451.60s)
mentioned at the beginning. Since I had
[07:33] (453.52s)
already fixed the hard-coded paths, it
[07:35] (455.68s)
confirmed the setup was successful. It
[07:37] (457.76s)
recognized the first agent window and
[07:39] (459.84s)
verified the scheduling was correct. I
[07:41] (461.84s)
provided the full stack app
[07:43] (463.36s)
specification and you can see it adding
[07:45] (465.52s)
what I wanted to build just as I
[07:47] (467.28s)
demonstrated earlier. After that, it
[07:49] (469.28s)
proceeded automatically. I also included
[07:51] (471.52s)
a UI implementation reference in the
[07:53] (473.84s)
front-end spec. It knows to check the UI
[07:56] (476.24s)
reference folder. Inside I have a design
[07:58] (478.64s)
image to replicate and a UI
[08:00] (480.64s)
implementation.m MD file. This
[08:02] (482.96s)
implementation plan provides exact steps
[08:05] (485.60s)
using Shad CN components with the Shad
[08:07] (487.92s)
CN MCP. It's an amazing workflow that
[08:10] (490.24s)
I'll link in the description if you're
[08:12] (492.00s)
interested. The system understood my
[08:13] (493.84s)
project requirements. It needed to
[08:15] (495.52s)
deploy the front-end team, then the
[08:17] (497.44s)
backend team, set up their development
[08:19] (499.52s)
phases, and schedule 15minute checkups.
[08:22] (502.24s)
It completed all these tasks. You can
[08:24] (504.32s)
see it briefing both teams using the
[08:26] (506.24s)
send claude message script. It sent
[08:28] (508.16s)
instructions to the front-end team's
[08:29] (509.92s)
project manager, then provided them with
[08:31] (511.76s)
the project specifications from the spec
[08:33] (513.84s)
folder. It repeated this process for the
[08:35] (515.92s)
backend team, giving them their schedule
[08:38] (518.00s)
and updating the to-do list. It marked
[08:40] (520.16s)
completed tasks and moved to the next
[08:42] (522.32s)
phase. The system informed me that both
[08:44] (524.56s)
teams were actively working. It provided
[08:46] (526.64s)
a status update and scheduled the next
[08:48] (528.72s)
check detailing what each team was doing
[08:50] (530.80s)
and their current progress. Both teams
[08:52] (532.80s)
were successfully deployed and working
[08:54] (534.56s)
on phase 1. After 15 minutes, the
[08:57] (537.04s)
orchestrated check-in report showed both
[08:59] (539.12s)
teams were ahead of schedule. Phase 1
[09:01] (541.20s)
was complete with bonus features added.
[09:03] (543.20s)
The 15-minute update confirmed phase 1
[09:05] (545.76s)
completion with several components
[09:07] (547.44s)
ready. It updated the to-do list and
[09:09] (549.44s)
asked permission to proceed with phase
[09:11] (551.28s)
2. You could configure the maind file to
[09:14] (554.16s)
proceed through all phases automatically
[09:16] (556.16s)
without asking. However, I prefer
[09:18] (558.16s)
step-by-step progression for review at
[09:20] (560.32s)
each checkpoint. Looking at the actual
[09:22] (562.32s)
setup, you can see our first agent at
[09:24] (564.40s)
the top. Below that is task front end
[09:26] (566.64s)
with three windows and task backend also
[09:29] (569.04s)
with three windows. Both teams work
[09:31] (571.12s)
simultaneously. Each has one window for
[09:33] (573.44s)
the project manager, another for the
[09:35] (575.28s)
developer, and a third for the server
[09:37] (577.04s)
that runs tests and checks for errors.
[09:39] (579.20s)
Everything operates in a closed loop.
[09:41] (581.04s)
These agents work and develop
[09:42] (582.56s)
independently. It's like having multiple
[09:44] (584.72s)
engineers working simultaneously, each
[09:46] (586.96s)
in their own terminal. This demonstrates
[09:49] (589.04s)
the true power that Demox brings to your
[09:51] (591.20s)
development workflow. At the bottom, you
[09:53] (593.20s)
can see the agent we created at the
[09:54] (594.96s)
start, which I named the second agent.
[09:57] (597.12s)
To understand the workflow and get all
[09:58] (598.88s)
the commands, you can head over to the
[10:00] (600.64s)
GitHub repository. However, it can be
[10:03] (603.04s)
confusing and I've made several
[10:04] (604.56s)
modifications myself. Instead, I
[10:06] (606.80s)
recommend using git ingest. Simply take
[10:09] (609.28s)
the GitHub URL and replace github.com
[10:12] (612.32s)
with gitingest.com. This will summarize
[10:14] (614.80s)
the entire repository into AI readable
[10:17] (617.36s)
text. Copy that summary and paste it
[10:19] (619.36s)
into Claude or chat GPT. From my
[10:21] (621.60s)
experience, Claude provides better
[10:23] (623.20s)
results for this type of task. Ask it to
[10:25] (625.36s)
explain the workflow and installation
[10:27] (627.20s)
process step by step, and it will guide
[10:29] (629.36s)
you through everything, including all
[10:31] (631.04s)
the necessary commands. If the commands
[10:33] (633.12s)
don't appear exactly as expected, don't
[10:35] (635.36s)
worry. I'll include all of them in the
[10:37] (637.12s)
description below for reference. That
[10:39] (639.20s)
brings us to the end of this video. If
[10:40] (640.88s)
you'd like to support the channel and
[10:42] (642.32s)
help us keep making videos like this,
[10:44] (644.08s)
you can do so by using the super thanks
[10:46] (646.00s)
button below. As always, thank you for
[10:48] (648.00s)
watching and I'll see you in the next