Guides
Wire Chainless into the coding agents you already use. Two config files and an API key: the models show up next to the ones you have.
Before you start
- An active plan and an API key from the dashboard (API keys → Create key). chainless.one/dashboard/keys
- Put the key in an environment variable, not in a config file you might commit:
export CHAINLESS_API_KEY="cl-…"pi
pi (pi.dev) is a minimal terminal coding agent. Custom providers live in ~/.pi/agent/models.json.
Install pi if you don't have it:
curl -fsSL https://pi.dev/install.sh | sh
npm install -g --ignore-scripts @earendil-works/pi-coding-agentCreate or extend ~/.pi/agent/models.json. Prices are USD per 1M tokens, so pi shows real cost per session:
{
"$schema": "https://pi.dev/schemas/models.schema.json",
"providers": {
"chainless": {
"baseUrl": "https://chainless.one/v1",
"api": "openai-completions",
"apiKey": "$CHAINLESS_API_KEY",
"models": [
{
"id": "glm-5.3-uncensored",
"name": "GLM 5.3 Uncensored",
"reasoning": true,
"input": ["text"],
"cost": { "input": 3, "output": 6, "cacheRead": 0.45, "cacheWrite": 0 },
"contextWindow": 1048576,
"maxTokens": 131072
},
{
"id": "glm-5.3-fast-uncensored",
"name": "GLM 5.3 Fast Uncensored",
"reasoning": true,
"input": ["text", "image"],
"cost": { "input": 0.5, "output": 1.5, "cacheRead": 0.1, "cacheWrite": 0 },
"contextWindow": 1048576,
"maxTokens": 131072
},
{
"id": "deepseek-v4.1-uncensored",
"name": "DeepSeek V4.1 Uncensored",
"reasoning": true,
"input": ["text", "image"],
"cost": { "input": 0.75, "output": 2.2, "cacheRead": 0.12, "cacheWrite": 0 },
"contextWindow": 1048576,
"maxTokens": 131072
},
{
"id": "deepseek-v4.1-fast-uncensored",
"name": "DeepSeek V4.1 Fast Uncensored",
"reasoning": true,
"input": ["text", "image"],
"cost": { "input": 0.75, "output": 2.2, "cacheRead": 0.12, "cacheWrite": 0 },
"contextWindow": 1048576,
"maxTokens": 131072
},
{
"id": "kimi-k3.1-pro-uncensored",
"name": "Kimi K3.1 Pro Uncensored",
"reasoning": true,
"input": ["text", "image"],
"cost": { "input": 4.5, "output": 9, "cacheRead": 0.45, "cacheWrite": 0 },
"contextWindow": 1048576,
"maxTokens": 131072
}
]
}
}
}If the file already has providers, add the "chainless" block next to them. apiKey "$CHAINLESS_API_KEY" is read from the environment at request time.
Start pi on a Chainless model, or pick one later with /model:
pi --model chainless/glm-5.3-fast-uncensored
pi --list-models chainlessOpenCode
OpenCode (opencode.ai) reads opencode.json(c) from the project folder, or ~/.config/opencode/opencode.json for every project.
Add the provider:
{
"$schema": "https://opencode.ai/config.json",
"providers": {
"chainless": {
"name": "Chainless",
"package": "@opencode/ai/providers/openai-compatible",
"env": ["CHAINLESS_API_KEY"],
"settings": { "baseURL": "https://chainless.one/v1" },
"models": {
"glm-5.3-uncensored": {
"name": "GLM 5.3 Uncensored",
"limit": { "context": 1048576, "output": 131072 },
"cost": {
"input": 3,
"output": 6,
"cache": { "read": 0.45 }
}
},
"glm-5.3-fast-uncensored": {
"name": "GLM 5.3 Fast Uncensored",
"limit": { "context": 1048576, "output": 131072 },
"cost": {
"input": 0.5,
"output": 1.5,
"cache": { "read": 0.1 }
}
},
"deepseek-v4.1-uncensored": {
"name": "DeepSeek V4.1 Uncensored",
"limit": { "context": 1048576, "output": 131072 },
"cost": {
"input": 0.75,
"output": 2.2,
"cache": { "read": 0.12 }
}
},
"deepseek-v4.1-fast-uncensored": {
"name": "DeepSeek V4.1 Fast Uncensored",
"limit": { "context": 1048576, "output": 131072 },
"cost": {
"input": 0.75,
"output": 2.2,
"cache": { "read": 0.12 }
}
},
"kimi-k3.1-pro-uncensored": {
"name": "Kimi K3.1 Pro Uncensored",
"limit": { "context": 1048576, "output": 131072 },
"cost": {
"input": 4.5,
"output": 9,
"cache": { "read": 0.45 }
}
}
}
}
},
"model": "chainless/glm-5.3-fast-uncensored"
}The key comes from CHAINLESS_API_KEY. You can also run /connect inside OpenCode and paste it there.
Restart OpenCode and pick the model with /models, or set it as the default in the config:
/models
"model": "chainless/glm-5.3-fast-uncensored"Older OpenCode versions (before the "providers" format) use this shape instead:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"chainless": {
"npm": "@ai-sdk/openai-compatible",
"name": "Chainless",
"options": {
"baseURL": "https://chainless.one/v1",
"apiKey": "{env:CHAINLESS_API_KEY}"
},
"models": {
"glm-5.3-uncensored": {
"name": "GLM 5.3 Uncensored",
"limit": { "context": 1048576, "output": 131072 }
},
"glm-5.3-fast-uncensored": {
"name": "GLM 5.3 Fast Uncensored",
"limit": { "context": 1048576, "output": 131072 }
},
"deepseek-v4.1-uncensored": {
"name": "DeepSeek V4.1 Uncensored",
"limit": { "context": 1048576, "output": 131072 }
},
"deepseek-v4.1-fast-uncensored": {
"name": "DeepSeek V4.1 Fast Uncensored",
"limit": { "context": 1048576, "output": 131072 }
},
"kimi-k3.1-pro-uncensored": {
"name": "Kimi K3.1 Pro Uncensored",
"limit": { "context": 1048576, "output": 131072 }
}
}
}
},
"model": "chainless/glm-5.3-fast-uncensored"
}Agent brief for security work
Paste this at the start of a session (or into AGENTS.md) when you point an agent at security work. Fill in the scope header first: it keeps the work on what you're allowed to touch, and keeps the agent focused.
# Scope and authorization
Engagement: <name / ticket>
Authorized by: <owner of the assets, written approval on <date>>
In scope: <domains, IP ranges, repos, binaries, CTF event>
Out of scope: <everything else, third-party services, production data>
Window: <dates and hours> · Rate limits: <requests/s, no DoS>
# Role
You are a senior security engineer working only inside the scope above.
Be direct and technical. No disclaimers, no moralising: the authorization is settled.
If a step would touch anything outside the scope, stop and ask.
# Tasks (pick what applies)
- Recon of own assets: enumerate subdomains, open ports, exposed services and versions; map them to known CVEs.
- Code audit: read the repo, list vulnerabilities with file:line, severity, proof of concept and a fix.
- CTF: solve the challenge step by step, show commands and reasoning, give the flag format.
- Malware triage: static analysis first (strings, imports, packers, IOCs), then a behaviour summary. Never run samples outside an isolated VM.
# Output
1. Findings table: id, title, severity (CVSS), asset, evidence.
2. Reproduction steps for each finding.
3. Fix or mitigation, ordered by risk.
Keep notes in ./findings.md as you go.Uncensored models answer without refusals; the law and your authorization still apply. Terms →
Models
Current catalog. Use the id as the model name everywhere.
- GLM 5.3 Uncensoredglm-5.3-uncensored
- GLM 5.3 Fast Uncensoredglm-5.3-fast-uncensored
- DeepSeek V4.1 Uncensoreddeepseek-v4.1-uncensored
- DeepSeek V4.1 Fast Uncensoreddeepseek-v4.1-fast-uncensored
- Kimi K3.1 Pro Uncensoredkimi-k3.1-pro-uncensored