Use terminal and IDE agents with Subconscious

Let your AI do the setup. Paste this into Claude Code, Cursor, ChatGPT or any assistant.

Set up the terminal or IDE agent I use to run on Subconscious as its model provider.

Subconscious is an inference API for agents. It serves open models through OpenAI- and Anthropic-compatible endpoints, billed per token.
- OpenAI-compatible base URL: https://api.subconscious.dev/v1
- Anthropic-compatible base URL: https://api.subconscious.dev
- Model: subconscious/glm-5.3-marathon
- API key: read it from the SUBCONSCIOUS_API_KEY environment variable. Never commit the key or paste it into project files. If it is not set, ask me to create one at https://platform.subconscious.dev.

Work out which of these tools I am using: check my project and installed tools, or ask me. Then fetch its setup guide and follow it. Each guide is Markdown and lists every command and config file.

Terminal and IDE agents:
- Marathon: https://www.subconscious.dev/agents/terminal-and-ide/marathon.md
- Claude Code: https://www.subconscious.dev/agents/terminal-and-ide/claude-code.md
- Codex: https://www.subconscious.dev/agents/terminal-and-ide/codex.md
- OpenCode: https://www.subconscious.dev/agents/terminal-and-ide/opencode.md
- Pi: https://www.subconscious.dev/agents/terminal-and-ide/pi.md
- DeepSeek Harness: https://www.subconscious.dev/agents/terminal-and-ide/deepseek-harness.md
- Cursor: https://www.subconscious.dev/agents/terminal-and-ide/cursor.md
- GitHub Copilot: https://www.subconscious.dev/agents/terminal-and-ide/copilot.md
- Qwen Code: https://www.subconscious.dev/agents/terminal-and-ide/qwen-code.md
- ZCode: https://www.subconscious.dev/agents/terminal-and-ide/zcode.md
- MiniMax Code: https://www.subconscious.dev/agents/terminal-and-ide/minimax-code.md
- Factory Droid: https://www.subconscious.dev/agents/terminal-and-ide/factory.md
- Cline: https://www.subconscious.dev/agents/terminal-and-ide/cline.md
- Kilo Code: https://www.subconscious.dev/agents/terminal-and-ide/kilo-code.md
- Warp: https://www.subconscious.dev/agents/terminal-and-ide/warp.md
- Codewhale: https://www.subconscious.dev/agents/terminal-and-ide/codewhale.md
- OpenHands: https://www.subconscious.dev/agents/terminal-and-ide/openhands.md

If you cannot fetch URLs, point the tool at the OpenAI-compatible base URL with the model above, or ask me for the guide.

When you are done, confirm the tool is using subconscious/glm-5.3-marathon, then summarize what you changed.

Run the terminal or editor agent you already use on open models served by Subconscious. Several launch with one subc command; the rest take a custom OpenAI- or Anthropic-compatible endpoint.

Marathon

Subconscious's own terminal coding agent, written in Rust.

$ subc login
Setup guide