Coding apps
Updated
Set up a coding app
Point Cline, Kilo or opencode at helping.io. The app sends its whole conversation as it does today, and keeps a memory for each project folder.
A coding app such as Cline, Kilo or opencode keeps its own copy of the conversation and sends all of it on every request. helping.io has a separate address for these apps. The app works as it does today, and the model keeps a memory for each project folder you work in.
Writing your own code against the API instead? Start at the
Overview: /v1 keeps the conversation for you, so you send only
the new turn. For coding agents covers the skill and the
text exports that help a coding agent write that code.
Before you start
Section titled “Before you start”You need three things:
-
Credits and an API key. The Quickstart walks through both. This page reads the key from the
HELPINGIO_API_KEYenvironment variable where the app can read one. -
The base URL for coding apps, which is not the
/v1one:https://api.helping.io/stateless/v1 -
A model id, written as
provider/model, such asanthropic/claude-sonnet-5-5. Choose a model lists them.
The address serves both the Responses API and Chat Completions, so pick the app’s OpenAI Compatible provider, whichever of the two it speaks.
Tested with Cline’s VS Code extension 4.1.26 and the Cline CLI 3.0.74.
- Open Cline’s settings (the gear icon).
- Set API Provider to OpenAI Compatible. Not OpenAI: Cline’s OpenAI provider adds OpenAI’s own hosted tools to every request, and this address runs only the app’s tools, so it refuses them.
- Set Base URL to
https://api.helping.io/stateless/v1. - Paste your key into API Key.
- Set Model ID to the model you want, such as
anthropic/claude-sonnet-5-5.
In the Cline CLI, the same settings are one command:
cline auth -p openai-compatible \ -k "$HELPINGIO_API_KEY" \ -b https://api.helping.io/stateless/v1 \ -m anthropic/claude-sonnet-5-5Headers from the sections below go in the provider’s Custom Headers.
Tested with Kilo’s VS Code extension 7.8.27 and the Kilo CLI 7.8.27.
In the VS Code extension:
- Open Settings (the gear icon), go to Providers, and choose Custom provider.
- Give it a Provider ID such as
helpingio, and a display name. - Set Provider API to OpenAI Compatible.
- Set Base URL to
https://api.helping.io/stateless/v1, and paste your key into API key. - Add the models you want by id, such as
anthropic/claude-sonnet-5-5, and submit.
Headers from the sections below go in the dialog’s Headers.
The extension and the Kilo CLI both read ~/.config/kilo/kilo.json, so the
CLI can be set up with this file instead:
{ "provider": { "helpingio": { "npm": "@ai-sdk/openai-compatible", "name": "helping.io", "options": { "baseURL": "https://api.helping.io/stateless/v1", "apiKey": "{env:HELPINGIO_API_KEY}" }, "models": { "anthropic/claude-sonnet-5-5": { "name": "anthropic/claude-sonnet-5-5" } } } }}Headers go in an options.headers object beside baseURL. Then pick the
model as helpingio/anthropic/claude-sonnet-5-5:
kilo run -m helpingio/anthropic/claude-sonnet-5-5 "Reply with one word: ready"opencode
Section titled “opencode”opencode 2 and opencode 1 read different files. Check which you have with
opencode --version.
opencode 2
Section titled “opencode 2”Tested with opencode 2.2.7. The key is read from the environment variable the file names.
{ "providers": { "helpingio": { "name": "helping.io", "env": ["HELPINGIO_API_KEY"], "package": "@opencode/ai/providers/openai-compatible", "settings": { "baseURL": "https://api.helping.io/stateless/v1" }, "models": { "anthropic/claude-sonnet-5-5": { "name": "anthropic/claude-sonnet-5-5" } } } }}Headers go in a headers object on the provider, beside settings.
opencode 1
Section titled “opencode 1”Tested with opencode 1.19.5.
{ "provider": { "helpingio": { "npm": "@ai-sdk/openai-compatible", "name": "helping.io", "options": { "baseURL": "https://api.helping.io/stateless/v1", "apiKey": "{env:HELPINGIO_API_KEY}" }, "models": { "anthropic/claude-sonnet-5-5": { "name": "anthropic/claude-sonnet-5-5" } } } }}Headers go in an options.headers object beside baseURL.
In either version, pick the model as helpingio/anthropic/claude-sonnet-5-5:
opencode run -m helpingio/anthropic/claude-sonnet-5-5 "Reply with one word: ready"Check it works
Section titled “Check it works”Open a project folder in the app, start a new chat and send
Reply with one word: ready. The answer is one word. If the app shows an
error instead, its message names what was refused; the most common one is a
reasoning effort the model does not take, covered
below.
Project memory
Section titled “Project memory”Memory is on by default at this address. The project is the folder the app is working in, which the app writes into every request it sends. What the model learns in one session is there for the next session in that folder.
- One memory per key and folder. Two apps on the same folder with the same key, such as Cline and Kilo, share one project memory. Two keys never share one.
- Side requests stay out of it. A title, summary or commit message request names no folder, so it runs with no memory and writes nothing.
- A folder many projects share gets no project memory. With no folder
open, or in a folder such as your home folder or
/workspace, each chat keeps a memory of its own instead.
The helpingio-memory request header chooses, for a chat’s first request:
| Value | What the model remembers |
|---|---|
project |
The project folder’s memory. The default |
conversation |
Only the current chat |
off |
Nothing: no memory is read or written |
Any other value is a 400 naming the header. Every answer carries a
helpingio-memory response header saying which memory applied. Changing the
value starts a fresh conversation, so off on a follow-up reads and writes
nothing. Memory covers listing, correcting and forgetting
what is remembered.
Reasoning effort
Section titled “Reasoning effort”Coding apps send a reasoning effort, such as high, with their requests.
Each model takes its own set of efforts, and by default a request whose
effort the model does not take is a 400 before anything runs or is
charged. Its message names the model and the efforts it takes.
To have such a request run instead, send the request header:
helpingio-reasoning-fallback: lowerThe request then runs at the closest effort the model takes below the one
asked for. When the model takes none below it, it runs at the model’s lowest
effort, which can mean reasoning tokens, and a charge for them, that the app
did not ask for. Any other value is a 400 naming the header. The answer
echoes the header when it was sent.
How it works, and its limits
Section titled “How it works, and its limits”- Two identical requests at once run only one. The other is a
409until the first is answered. - Only the app’s own tools run. OpenAI’s hosted tools, such as web search
or image generation, are a
400naming the tool. previous_response_idandconversationare refused. The app sends the history itself.- Chat Completions answers stream, or come whole. With
streamfalse the answer is onechat.completionobject. One that takes longer than 15 seconds is sent as a200straight away, with spaces written every few seconds until the object follows, so a long answer is not cut off; an error after that point comes in the body of that200. A Chat Completions field with no Responses equivalent that would change the answer, such asn,seedorstop, is a400naming it, never dropped. - A very long task can end as
incomplete. One answer that goes through a great many tool rounds stops at a limit. Send your next message and the app carries on in the same conversation. - Requests are billed as on
/v1, at the model’s listed price, from the same credits. See Credits. Each answer says what it cost inhelpingio:cost, as{"credits": "0.004215"}: the cost of that answer alone, as its usage is. A Chat Completions stream carries it on its last chunk. - Chat Completions usage includes
prompt_tokens_details.cached_tokens(prompt tokens read from the provider’s cache) andprompt_tokens_details.cache_write_tokens(prompt tokens written to it), each for that request alone. - With no credit balance, a request is a
402insufficient_creditshere, where/v1answers429. - Images and files are taken or refused as on
/v1. See Compatibility.