The Google Antigravity Orchestrator pairs a strong planning model with a faster execution model and lets work bounce between them inside one session. In this tutorial you will build your own Antigravity-style planner/executor orchestrator in Python that runs on free, local open models through Ollama: a planner writes the plan, a fast executor edits files and runs tests, and when the executor gets stuck it hands the work back so the planner can repair the plan.
It is a strong final-year or mini project for BTech, MCA and MTech students because it touches the skills teams use with AI agents today: prompt contracts in JSON, control loops, safe command execution, logging and real tests. You do not need a GPU or a paid API key. The full project ships with 110 pytest tests that run offline.
Table of Contents
What You Will Build: A Local Google Antigravity Orchestrator in Python
You will build pxorch (planner/executor orchestrator), a command line tool and Python library with these parts:
- A planner role that reads a snapshot of the project folder (read-only) and returns a JSON plan: small steps, a check command for each step, a final check and explicit re-plan triggers.
- An executor role that turns one step into file writes and test runs, retries with the error output, and can say
blockedwhen a step is unclear. - A hand-back loop: failed checks, invalid JSON, a blocked step or an unsafe action send control back to the planner with the error and the current files. The planner replies
replanorabort. - Guard rails: writes stay inside the workspace, only
python,python3andpytestmay run (never through a shell), commands time out, and environment secrets are not passed to child processes. - A trajectory log in JSONL plus a
pxorch reportcommand that shows which model did what and why work was handed back. - An offline demo and 110 tests that use scripted models, so the project works in any college lab.

pxorch is not affiliated with Google and does not call Gemini. It rebuilds the published idea behind the Google Antigravity Orchestrator with open models, so you can study, test and change every line of the loop.
Why the Google Antigravity Orchestrator Matters Right Now (November 2026)
Google shipped three model updates for its agentic coding app in under two weeks, and the planner/executor split is at the centre of all of them:
- 12 November 2026, Gemini 4 Hydrogen and Orchestrator: the Antigravity team announced Gemini 4 Hydrogen together with a new Orchestrator option in the model selector. In Google’s example, Gemini 4 Carbon starts in a read-only phase, explores dependencies and builds a plan with explicit re-planning triggers. Hydrogen then writes edits, updates packages and runs tests. If Hydrogen hits friction, it hands back to Carbon to inspect the state, repair the plan and resume. Google reports that on Terminal-Bench, Orchestrator reached near-Carbon task success while using 24% less quota and finishing 19% faster on average. Google’s Hydrogen launch post describes Hydrogen as the fast execution engine in multi-model workflows.
- 18 November 2026, Gemini 4 Neon: Google introduced Gemini 4 Neon as the model that balances depth and efficiency between Carbon (hardest, long-horizon work) and Hydrogen (fast everyday execution). The Gemini API release notes list it as generally available on 18 November with four thinking levels (low, medium, high, xhigh) and a 1M-token context window. It rolled out to paid Google AI Pro and Ultra subscribers in Antigravity, as 9to5Google also reported.
- 23 November 2026, Carbon for AI Pro and a new Orchestrator settings screen: 9to5Google reported that Gemini 4 Carbon came to AI Pro subscribers in Antigravity (it previously needed AI Ultra) and that Antigravity added a better interface to choose the Orchestrator and Executor models under Settings > Models > Orchestrator Settings. Antigravity’s Varun Mohan posted that you can explicitly set the pair of models and effort levels, and that he runs Neon High with Hydrogen High.
The lesson for students is simple: the future of AI coding is not one giant model doing everything. It is a team of models with clear roles, a contract between them, and a rule for when to escalate. That is a pattern you can build, test and explain in a viva, and the Google Antigravity Orchestrator gives you a well-documented reference design.
A static router guesses the difficulty once, at the start. An orchestrator keeps deciding during the task, and hands work back when reality turns out harder than the plan.
How the Google Antigravity Orchestrator Pattern Works
Google’s post contrasts its approach with a static model router that reads your first prompt, guesses how hard the task is and sends the whole job to the cheapest model that seems good enough. Routers break down on long tasks because difficulty changes as the agent learns more. The Google Antigravity Orchestrator instead switches models during one trajectory, in both directions. pxorch copies that control flow:
| Google Antigravity Orchestrator (as described by Google) | pxorch (this project) |
|---|---|
| Carbon explores in a read-only phase and builds a plan | Planner gets a read-only workspace snapshot and returns a JSON plan |
| Plan includes explicit re-planning triggers | Plan has replan_triggers plus step check commands |
| Hydrogen writes edits, updates packages, runs tests | Executor returns write_file and run actions; pxorch runs the check |
| Hydrogen hits friction and hands back to Carbon | Failed check, invalid output, blocked or unsafe action triggers a hand-back |
| Carbon inspects state, repairs the plan, resumes | Planner sees friction + current files, returns new steps or aborts |
| Pick the model pair and effort levels in settings | --planner, --executor and effort flags, or pxorch.toml |
Two caps keep a run bounded: max_attempts (how often the executor may retry one step before handing back) and max_handbacks (how often work may bounce to the planner before pxorch gives up). That is your answer when an examiner asks, “What stops it from looping forever?”
Features, Tech Stack and Prerequisites
| Part | Choice | Why |
|---|---|---|
| Language | Python 3.10+ (standard library only at runtime) | Installs anywhere, easy to read |
| Models | Ollama /api/chat in JSON mode | Free, local, works offline |
| Other servers | OpenAI-compatible /v1/chat/completions | LM Studio, vLLM and llama.cpp work too |
| Config | TOML (pxorch.toml) | Model pair and effort per role |
| Tests | pytest (110 tests) + GitHub Actions | Every rule is proven without a model |
| Logs | JSONL trajectory + pxorch report | See who did what and why |
Prerequisites: Python 3.10 or newer, Git, basic command line skills, and (only for real runs) Ollama with one or two models pulled. 8 GB of RAM is enough for two 3B to 4B models; a GPU makes runs much faster.
Project File Structure
Antigravity-Planner-Executor-Orchestrator-Python/
├── pxorch/
│ ├── orchestrator.py # plan -> execute -> hand back -> repair loop
│ ├── executor.py # executor role: apply actions, run checks, retry
│ ├── plan.py # Plan/Step models, validation, repair parsing
│ ├── prompts.py # planner, repair and executor system prompts
│ ├── models.py # OllamaClient, OpenAICompatClient, ScriptedClient
│ ├── workspace.py # confined folder + allow-listed command runner
│ ├── config.py # pxorch.toml loader
│ ├── report.py # trajectory summary
│ ├── demo.py # offline scripted demo
│ └── cli.py # pxorch demo | run | models | report | init-config
├── examples/goals/ # attendance, stack, temperature goals
├── examples/real-run/ # unedited log + output of a real local run
└── tests/ # 110 offline tests
Step 1: Set Up the Project and Ollama
Clone the repository, create a virtual environment and run the tests first. Everything below works before you install any model:
git clone https://github.com/GetProjectsIdea/Antigravity-Planner-Executor-Orchestrator-Python.git
cd Antigravity-Planner-Executor-Orchestrator-Python
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
pytest -q # 110 passed
pxorch demo # offline walkthrough with one hand-back
For real runs, install Ollama and pull a planner and an executor. Any pair works; a common starting point is a larger general model as planner and a coding model as executor:
ollama pull qwen3:14b # planner: stronger, slower
ollama pull qwen2.5-coder:7b # executor: faster
pxorch models # list what is installed
pxorch init-config # writes pxorch.toml with both roles
Step 2: Define the Plan Contract
Small local models are much more reliable when you give them a strict JSON contract and validate every reply. The planner must return a summary, a list of steps, an optional final check and re-plan triggers. plan.py turns that into dataclasses and rejects anything unusable (no steps, duplicate ids, missing instructions, too many steps):
class Step:
id: str
title: str
instructions: str
files: list[str] = field(default_factory=list)
check: list[str] | None = None # command that proves the step worked
Real models are messy. The 2B planner in our test run sent ["python temperature.py"] (the whole command as one string) instead of ["python", "temperature.py"]. Instead of failing, normalize_cmd splits it like a shell would, without ever using a shell:
def normalize_cmd(value) -> list[str]:
"""Accept ["pytest", "-q"], "pytest -q" or ["pytest -q"] (small models
often send the whole command as one string) and return an argv list."""
if isinstance(value, str):
value = shlex.split(value)
if not isinstance(value, list) or not value or not all(isinstance(x, str) and x for x in value):
raise ValueError("command must be a list of strings")
if len(value) == 1 and " " in value[0].strip():
value = shlex.split(value[0])
return value
jsonutil.extract_json also strips <think> blocks, markdown fences and chatty sentences before parsing, because thinking models and small coders often wrap their JSON.
Step 3: Build a Safe Workspace for the Executor
An executor that writes files and runs commands is powerful, so the workspace is defensive by design. Every path is resolved and must stay under the project root (this blocks ../, absolute paths, symlink escapes and .git). Commands are lists, run without a shell, and the program must be on the allow-list:
def resolve(self, rel: str) -> Path:
if not isinstance(rel, str) or not rel.strip():
raise UnsafeAction("empty path")
if rel.startswith(("/", "\\", "~")) or (len(rel) > 1 and rel[1] == ":"):
raise UnsafeAction(f"absolute path not allowed: {rel}")
target = (self.root / rel).resolve()
if target != self.root and self.root not in target.parents:
raise UnsafeAction(f"path escapes workspace: {rel}")
if any(part in (".git",) for part in target.relative_to(self.root).parts):
raise UnsafeAction(f"refusing to touch .git: {rel}")
return target
def run(self, cmd: list[str]) -> RunOutput:
if not isinstance(cmd, list) or not cmd or not all(isinstance(c, str) for c in cmd):
raise UnsafeAction("command must be a non-empty list of strings")
prog = cmd[0]
if prog not in self.allowed:
raise UnsafeAction(f"program not allowed: {prog} (allowed: {', '.join(sorted(self.allowed))})")
if prog in ("python", "python3"):
argv = [sys.executable, *cmd[1:]]
elif prog == "pytest":
argv = [sys.executable, "-m", "pytest", *cmd[1:]]
else:
argv = list(cmd)
env = {k: v for k, v in os.environ.items() if k in ("PATH", "HOME", "LANG", "SYSTEMROOT", "TMPDIR", "TEMP")}
env["PYTHONDONTWRITEBYTECODE"] = "1"
# Let "python tests/test_x.py" import modules from the project root.
# A real 3B executor kept failing with ModuleNotFoundError without this.
env["PYTHONPATH"] = str(self.root)
try:
proc = subprocess.run(argv, cwd=self.root, capture_output=True, text=True,
timeout=self.timeout, env=env)
except subprocess.TimeoutExpired:
return RunOutput(cmd, 124, f"timed out after {self.timeout}s")
Notice two details. Only a few safe environment variables reach the child process, so API keys in your shell are not leaked to model-written code. And PYTHONPATH points at the project root, which fixed a real ModuleNotFoundError loop we saw with a 3B executor. Be honest in your report: this is a guard rail, not a sandbox. Allowed programs like python can still do anything your user can, so run real goals in a throwaway folder or container. Our sandboxed coding agent project shows how to go further with containers.
Step 4: The Executor Role
The executor gets the overall goal, the current step and the current contents of the files that step touches. It replies with actions and a status. pxorch applies the actions, runs the step’s check, and on failure feeds the check output into the next attempt. Unsafe actions stop the step at once:
def execute(self, step: Step, goal: str) -> StepResult:
last_error, written_all, reason, note = None, [], "", ""
for attempt in range(1, self.max_attempts + 1):
files = {f: self.ws.read(f) for f in step.files[:6]}
msgs = executor_messages(goal, step.to_dict(), files, self.ws.allowed, last_error)
reply = self.client.chat(msgs)
self.usage.add(reply)
try:
data = extract_json(reply.text)
except JSONExtractError as exc:
reason, last_error = "invalid_output", f"Reply was not JSON: {exc}"
self.log("executor", "invalid_output", step=step.id, attempt=attempt)
continue
note = str(data.get("note", ""))[:300]
if str(data.get("status", "done")).lower() == "blocked":
self.log("executor", "blocked", step=step.id, attempt=attempt, note=note)
return StepResult(step.id, False, attempt, "blocked", note=note, files_written=written_all)
try:
written, outputs = self.apply(data.get("actions", []))
except UnsafeAction as exc:
self.log("executor", "unsafe_action", step=step.id, attempt=attempt, detail=str(exc))
return StepResult(step.id, False, attempt, "unsafe_action", output=str(exc),
note=note, files_written=written_all)
written_all += [w for w in written if w not in written_all]
self.log("executor", "applied", step=step.id, attempt=attempt, files=written)
if step.check is None:
return StepResult(step.id, True, attempt, output="\n".join(outputs), note=note,
files_written=written_all)
res = self.ws.run(step.check)
self.log("executor", "check", step=step.id, attempt=attempt, cmd=step.check, code=res.code)
if res.ok:
return StepResult(step.id, True, attempt, output=res.output, note=note,
files_written=written_all)
reason, last_error = "check_failed", res.output
return StepResult(step.id, False, self.max_attempts, reason, output=last_error or "",
note=note, files_written=written_all)
Like Hydrogen in the Google Antigravity Orchestrator, the executor is the fast hands, not the decision maker. It never decides to hand back on its own; it just reports what happened. That keeps the escalation rule in one place, the orchestrator, which makes the system easier to test and explain.
Step 5: The Orchestrator Loop and the Hand-Back to the Planner
This is the heart of the project and the part that mirrors the Google Antigravity Orchestrator most closely. The planner makes a plan, the executor works through the steps, and any failure becomes a hand-back. The planner’s repair replaces only the remaining steps, so finished work is kept:
i = 0
while True:
if i < len(plan.steps):
step = plan.steps[i]
self._log("executor", "start_step", step=step.id, title=step.title)
res = self.executor.execute(step, goal)
else:
if not plan.final_check:
return self._finish("success", plan, results, handbacks)
step = Step(FINAL_ID, "Final verification", "Run the final check.", [], plan.final_check)
out = self.ws.run(plan.final_check)
self._log("orchestrator", "final_check", cmd=plan.final_check, code=out.code)
res = StepResult(FINAL_ID, out.ok, 1, "" if out.ok else "check_failed", out.output)
if out.ok:
results.append(res)
return self._finish("success", plan, results, handbacks)
results.append(res)
if res.ok:
self._log("executor", "step_ok", step=step.id, attempts=res.attempts)
i += 1
continue
# friction -> hand back to the planner
handbacks += 1
self._log("orchestrator", "handback", step=step.id, reason=res.reason, n=handbacks)
if handbacks > self.max_handbacks:
return self._finish("failed", plan, results, handbacks - 1,
f"gave up after {self.max_handbacks} hand-backs (last: {res.reason} in {step.id})")
try:
rep = self.repair(goal, plan, step, res)
except PlanError as exc:
return self._finish("failed", plan, results, handbacks, f"planner could not repair: {exc}")
if rep.action == "abort":
self._log("planner", "abort", reason=rep.reason)
return self._finish("aborted", plan, results, handbacks, rep.reason)
plan = plan.replace_from(i, rep.steps)
self._log("planner", "replan", reason=rep.reason, steps=[s.id for s in plan.steps[i:]])
If the planner forgets a final check, pxorch adds a default quality gate, pytest -q. pytest exits with code 5 when no tests ran, so a plan that “finishes” without writing tests is treated as friction and handed back. We added this rule after a real run where a small planner skipped the tests entirely and still reported success.
Step 6: Connect to Ollama and Other Local Servers
models.py has three clients with the same chat(messages) method: OllamaClient, OpenAICompatClient and ScriptedClient (a fake for tests and the demo). Effort levels map to temperature and maximum new tokens, a simple local version of picking an effort level per role:
def chat(self, messages: list[dict]) -> Reply:
temp, num_predict = EFFORT[self.effort]
payload = {"model": self.model, "messages": messages, "stream": False,
"format": "json", "options": {"temperature": temp, "num_predict": num_predict}}
if self.think is not None:
payload["think"] = self.think
t0 = time.perf_counter()
data = _post(self.base_url + "/api/chat", payload, self.timeout)
if "error" in data:
raise ModelError(str(data["error"]))
return Reply(data.get("message", {}).get("content", ""),
int(data.get("prompt_eval_count") or 0), int(data.get("eval_count") or 0),
time.perf_counter() - t0)
Ollama’s format: "json" option makes the server constrain output to valid JSON, which removes a whole class of parsing errors. If you have used our local AI coding assistant with Ollama, the client will look familiar.
Run the Offline Demo
Before using real models, run pxorch demo. Both roles are scripted, but the files, the checks and pytest are real. The executor writes grades.py with a boundary bug (> instead of >=), the boundary tests fail twice, and the work is handed back. The planner names the root cause, the executor applies the one-line fix, and the final check passes:

Look at the last lines: 4 of the 6 model calls went to the executor. That is the whole point of the pattern. The expensive planner is called only to plan and to repair, while the cheap model does most of the typing.
A Real Run With Two Small Local Models
Google’s numbers come from frontier Gemini models. To see how the Google Antigravity Orchestrator pattern behaves with tiny open models, and to keep this tutorial honest, we also ran pxorch with real local models on an 8-core, CPU-only Linux machine with no GPU. Planner: a local Gemma 4 E2B Q4_K_M build (gemma4-e2b-q4km); executor: qwen2.5-coder:3b. The goal was examples/goals/temperature.txt (Celsius/Fahrenheit converters plus pytest tests):
pxorch run @examples/goals/temperature.txt --workdir ./sandbox \
--planner gemma4-e2b-q4km --planner-effort high \
--executor qwen2.5-coder:3b --executor-effort medium \
--log trajectory.jsonl

What happened: the first planner reply used a disallowed ls check and was rejected and retried. The executor wrote the module and tests, but the tests forgot to import the functions, so the final pytest -q failed. That triggered hand-back #1. The planner diagnosed the NameError, but the 3B executor repeated the mistake, so hand-back #2 followed. The second repair was narrower (“add the import”), and the final check passed with 4 tests. Totals: 9 model calls (5 executor, 4 planner), 2 hand-backs, about 210 seconds.
The unedited trajectory and the generated files are in examples/real-run/, and pxorch report examples/real-run/trajectory.jsonl replays the summary. Earlier attempts with the same models taught us the three fixes you saw above: split one-string commands, put the project root on PYTHONPATH, and add the default pytest gate. Small models are slow and make mistakes; that is exactly where a hand-back loop earns its keep.
Testing the Orchestrator: 110 Pytest Tests Without a Model Server
Every behaviour of this Google Antigravity Orchestrator clone is tested offline. HTTP calls are replaced with fake responses, and both roles can be ScriptedClient fakes, so the tests run in a few seconds in GitHub Actions or a college lab with no internet:

| Test file | What it proves |
|---|---|
test_orchestrator.py | Happy path, hand-back and repair, blocked, abort, max hand-backs, invalid plans, default pytest gate, final-check hand-back |
test_executor.py | Retries feed the error back, invalid JSON, unsafe writes and commands are stopped |
test_workspace.py | Path traversal, symlinks, .git, allow-list, timeouts, output caps, secrets not leaked |
test_plan.py, test_jsonutil.py | Plan validation, command normalisation, JSON extraction from messy replies |
test_models.py | Ollama and OpenAI-compatible payloads, errors, effort levels |
test_config_report_cli.py | TOML config, reports, every CLI command with mocked servers |
One test, test_cli_run_with_mocked_ollama, checks the core promise: the first request goes to the planner model and the following ones go to the executor model.
def test_handback_and_repair(ws):
repair = {"action": "replan", "reason": "use +", "steps": [step("r1", check=CHECK)]}
o = orch(ws, [plan_dict(step("s1", check=CHECK)), repair],
[write("app.py", BAD), write("app.py", BAD), write("app.py", OK)], max_attempts=2)
r = o.run("make add")
assert r.ok and r.handbacks == 1
assert [s.id for s in r.plan.steps] == ["r1"] # failed s1 is replaced
kinds = [e["event"] for e in r.events]
assert kinds.index("handback") < kinds.index("replan")
Choosing a Model Pair for Your Machine
In the Google Antigravity Orchestrator you choose the pair in Orchestrator Settings; in pxorch you choose it with flags or pxorch.toml. There is no single best pair; measure on your own goals with pxorch report. Use these as starting points, then compare against a one-model baseline with --single:
| Your machine | Planner | Executor | Tip |
|---|---|---|---|
| Laptop, CPU only, 8 GB RAM | 3B to 4B model | 1.5B to 3B coder | Keep goals small; expect minutes per run |
| 16 GB RAM or 8 GB GPU | 7B to 8B model | 3B coder | Good balance for lab demos |
| 16 GB+ GPU | 14B model, effort high | 7B coder, effort medium | Fewer hand-backs, faster loops |
| LM Studio or vLLM server | Any large instruct model | Any small coder | Use --backend openai --base-url ... |
Record calls per role, hand-backs and total seconds for each pair. A simple chart of “hand-backs vs model size” makes a great results chapter for a project report.
Common Errors and Fixes
- model error: cannot reach http://localhost:11434: start the server with
ollama serve, then checkpxorch models. - HTTP 404 … model not found: pull the exact tag first, for example
ollama pull qwen2.5-coder:7b. - invalid_plan: check program not allowed: the planner asked for
ls,bashor similar. pxorch retries once; a clearer goal helps. - Hand-backs on ModuleNotFoundError: make sure you are on the latest version (the project root is on
PYTHONPATH) and usepytest -qas the check. - gave up after 3 hand-backs: the pair is too small for the goal. Split the goal, raise
--max-handbacks, or use a stronger planner. - Runs are very slow: lower the effort, use smaller models, or run on a GPU machine.
Future Scope and Ideas to Extend
- Parallel workers: run several executors on separate steps in separate folders, with the planner as coordinator.
- Smarter triggers: hand back early when the same error appears twice, or when a diff grows too large.
- MCP tools: let the executor call tools from an MCP server; start with our guide on how to build an MCP server in Python.
- Reusable playbooks: give each role a skill file, like the SKILL.md playbooks in our Claude Code skills and plugins pack.
- A web dashboard that replays
trajectory.jsonlas a timeline. - Benchmarks: run the three example goals with five model pairs and compare success rate, calls and time.
Viva Questions on the Planner/Executor Orchestrator
- Why use two models instead of one? What do you gain and what do you risk?
- How is a dynamic orchestrator different from a static model router?
- Which events trigger a hand-back, and how is the number of hand-backs capped?
- Why must both roles answer in JSON, and how does pxorch deal with invalid replies?
- How does the workspace block path traversal and shell injection? What can it not block?
- Why does a repaired plan replace only the remaining steps?
- How do your tests run without Ollama?
FAQ
What is the Google Antigravity Orchestrator?
It is a model option in Google Antigravity, announced on 12 November 2026, that pairs Gemini 4 Hydrogen with stronger models such as Gemini 4 Carbon. Carbon can plan in a read-only phase, Hydrogen executes edits and tests, and Hydrogen hands back to Carbon when it hits friction. On 23 November 2026 Antigravity added settings to pick the Orchestrator and Executor models.
Is this project made by Google or does it use Gemini?
No. pxorch is an independent, MIT-licensed learning project. It reproduces the published planner/executor and hand-back pattern with local open models through Ollama or any OpenAI-compatible server. It does not call Gemini or Antigravity.
Do I need a GPU or a paid API key?
No. All 110 tests and the demo run offline with scripted models. For real runs, small models work on a CPU-only machine; our test run used a 2B-class planner and a 3B executor on 8 CPU cores and finished in about 3.5 minutes.
Which models should I use for the planner and executor?
Start with a larger general model as planner and a smaller coding model as executor, for example qwen3:14b and qwen2.5-coder:7b on a GPU, or 3B to 4B models on a laptop. Compare pairs with pxorch report and the –single baseline.
Is it safe to let a model run commands on my computer?
pxorch keeps writes inside the workspace, allows only python, python3 and pytest without a shell, adds timeouts and does not pass your secrets to child processes. These are guard rails, not a sandbox, so run real goals in a throwaway folder, container or VM and review the generated code.
Can I use this as my final-year project?
Yes. It is MIT licensed. Add a feature from the future scope list, benchmark a few model pairs, and be ready to explain the hand-back loop. The source is on GitHub.
Download the Source Code
The complete project (orchestrator, executor, planner prompts, Ollama and OpenAI-compatible clients, workspace guard rails, CLI, demo, a real run log, 110 tests, CI and screenshots) is on GitHub: GetProjectsIdea/Antigravity-Planner-Executor-Orchestrator-Python. It is released under the MIT License, so you can use it for coursework, college projects and your own experiments.
Related Projects on GetProjects
- How to build an MCP server in Python: Skills over MCP, Tasks and Elicitation with the official SDK
- Claude Code skills and plugins pack in Python: SKILL.md playbooks with a validator and trigger evals
- Local AI coding assistant with Ollama: a free, offline coding helper
- Sandboxed coding agent in Python: run agent code in a container
- Gemini student assistant in Python: build with the Gemini API
- AI coding agent config auditor: check agent settings for risky permissions
- Top 20 AI project ideas for beginners
References
- Google Antigravity Blog: Gemini 4 Hydrogen and Orchestrator (12 Nov 2026)
- Google: Introducing Gemini 4 Hydrogen (12 Nov 2026)
- Google: Introducing Gemini 4 Neon and Gemini API release notes (18 Nov 2026)
- 9to5Google: Google launches Gemini 4 Neon (18 Nov 2026)
- 9to5Google: Gemini 4 Carbon is now available in Google Antigravity for AI Pro (23 Nov 2026)
- Ollama API documentation
Conclusion
You have built a working, tested, local version of the idea behind the Google Antigravity Orchestrator: a planner that thinks first, an executor that moves fast, and a hand-back rule that brings the planner back exactly when the plan meets reality. You also saw it work with real small models, mistakes included. Clone the repository, run pxorch demo, try your own model pair, and turn your measurements into a strong final-year project.