> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ports.version

> `readonly` **version**: `2`

## On the Agent Runtime

[The runtime adapter](/docs/agent-sdk/harness-sdk/adapters/runtime#on-the-agent-runtime) takes `version` from the constant. No member of the `Agent` class is involved.

```ts theme={null}
// runtime-adapter.ts
import { AGENT_HARNESS_PORTS_VERSION } from "./ports.js";
// …
version: AGENT_HARNESS_PORTS_VERSION,
```

## AGENT\_HARNESS\_PORTS\_VERSION

> `const` **AGENT\_HARNESS\_PORTS\_VERSION**: `2`

Exact major contract implemented by every COMPUTE-705 adapter.
