GLM-5.2 Coding Agent (OpenRouter)

DeepAgents Code pre-wired to GLM-5.2 over OpenRouter with the shell tool on. Read, edit, run — no model routing to configure. Bring one OpenRouter key.

NewNew7.9 KB snapshotStarter VM

What's inside

Harness

DeepAgents Code

Plan

Starter

vCPU

1

Memory

2 GiB

Snapshot

7.9 KB

How it works · ~3 minutes

  1. 01 · Fork

    New isolated microVM on your subdomain — creator agent state included.

  2. 02 · Your keys

    Log into DeepAgents Code with your own model credentials (BYOK).

  3. 03 · Ask it to work

    Open the terminal and give the agent a real job. You keep what ships.

Example first ask

Pull my open PRs, summarize risk, and draft a review checklist.

30-day money-back on your first purchase · no free trial · keys never leave the VM

About this template

Shell on, model wired, start editing

If you want a coding agent running GLM-5.2 without losing an evening to provider config, this box is DeepAgents Code (dcode) already pointed at GLM-5.2 through OpenRouter, with the shell tool enabled.

You bring one key. That is the whole setup.

Why GLM-5.2 on OpenRouter

One account, one key, one model id — and the model id is the part everybody gets wrong.

Point a coding agent at the wrong route and you get a confident agent that cannot call a tool, or a 404 you debug instead of shipping. This template ships that route already set as the default model path. The first thing you do on the box is code, not configure.

The first five minutes

  1. Fork the template.
  2. Set the key in the shell:
export OPENROUTER_API_KEY=...
  1. Start dcode and give it a real task: list the repo, edit a file, run the test command.

Read, then edit, then shell — without re-teaching the model routing.

What lands in your fork

  • DeepAgents Code (dcode) agent config
  • GLM-5.2 over OpenRouter as the default model path
  • The shell tool enabled, so the agent can run what it just wrote

What you bring (BYOK)

One OPENROUTER_API_KEY. It covers GLM-5.2.

No keys are in the snapshot — the template ships scrubbed, and the key you export lives on your microVM. OpenRouter bills your tokens to you.

Who this is for

  • You want an open-weight coding agent, not a frontier-only workflow
  • You are tired of re-wiring OpenRouter model ids every session
  • You need shell, not chat-only autocomplete

Who this is not for

  • Claude-subscription-only workflows with no OpenRouter account
  • Anyone who needs a specific non-dcode harness UI
  • Managed enterprise VPC setups where BYOK is off the table

Honest limits

This is dcode, not a general chat UI.

GLM-5.2 is the default path here, not a lock — dcode is model-agnostic underneath, and repointing it at another OpenRouter model is on you. Nothing here fine-tunes GLM-5.2 or stacks prompts on top of it either. The value is narrow and real: the routing is done and the shell is on.

Fork it. Export the key. Make it edit something and run it. Your first jurniti purchase carries a 30-day money-back guarantee.

Inside this fork

Forking copies this template into a brand-new, fully isolated microVM on your own subdomain. Here's exactly what lands in it.

  • DeepAgents Code agent

    The upstream harness, pre-installed — same version the creator ran.

  • Starter VM

    1 vCPU · 2 GiB RAM · 10 GiB disk.

  • Creator's /persist data

    The captured persist volume is copied byte-for-byte into your fork.

  • BYOK — your keys, your VM

    Add your model API keys after forking; they live only inside your microVM.

What you'll configure after forking

Secrets are scrubbed from shared templates — these are the names you supply in your agent's terminal once it boots.

Environment variables

  • OPENROUTER_API_KEY

Your turn

Your own GLM-5.2 Coding Agent (OpenRouter), live in about 3 minutes.

Forking copies this DeepAgents Codeagent into a brand-new, fully isolated microVM on your own subdomain — the creator's /persist state and all. Add your own keys after it boots; they never leave the box. Don't love it? Your first jurniti purchase comes with 30 days to get every cent back.

New paid VM · BYOK · 30-day money-back on your first purchase · ~3 min to provision

Starter · fork

$25/ mo

Needs 1 of your own API key