An API for everyoneUser guide
Website ↗
User guideAPI and formats

How APIs, models and agents fit together

First, understand what you are connecting

Suppose you ask: “Read this order, calculate the total, and save the result.” Several parts work together.

  • Harness: the agent app you operate

    You enter requests, select a folder, and watch progress here. When the model asks to use a tool, Harness runs it with the required permission and returns the result to the model.

  • The model: understands and decides

    This guide uses DeepSeek. The model does the reasoning; Harness supplies tools such as reading and writing files.

  • The API platform: provides model access

    Harness sends requests using the platform address and your key. You can check your balance and usage on the platform.

What do the setup fields mean?

API address
Tells the app where to send requests. Copy the complete address, including any path supplied with it.
API key
Your credential for using the service, linked to the relevant usage allowance.
Model ID
Selects the AI that handles the task. Fetch the available models, then choose one from the returned list.
API format
Specifies how the app packages its requests and how the platform packages its replies. The next section explains the choices.