SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.13715 · NeurIPS · 2021

ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs

Shuiwang Ji, Zhanqiu Zhang, Jie Wang, Jiajun Chen, Feng Wu

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-24; 2 contract verdicts on these samples were measured on the host before the contract probe was jailed (2026-09-18T14:29:13Z) or are undated; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2110.13715.json · badge: /api/ran/2110.13715.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
miralab-ustc/qe-cone canonical (classifier label)
classifier basis: classifier_2025
9 ran · 0 no recorded run
FunctionStatusWhere it lives
AngleScale Ran
ran on a synthesized input · constructed an object; no result was computed
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("4e4b62644cad1b25")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AngleScale: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

pi = 3.141592653589793

class AngleScale:

    def __init__(self, embedding_range):
        self.embedding_range = embedding_range

    def __call__(self, axis_embedding, scale=None):
        if scale is None:
            scale = pi
        return axis_embedding / self.embedding_range * scale


# Create a small tensor for axis_embedding (batch=2, dim=4)
axis_embedding = torch.randn(2, 4)

# embedding_range should be a numeric value
embedding_range = 10.0

# scale is optional, but we can provide it
scale_value = 1.5

ARGS = {
    "embedding_range": embedding_range
}

# Create the instance and test with __call__ parameters
angle_scale = AngleScale(**ARGS)
result = angle_scale(axis_embedding, scale=scale_value)
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AngleScale — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AngleScale output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConeIntersection Ran
ran on a synthesized input · constructed an object; no result was computed
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("3e261e9eed1269bf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConeIntersection: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define the ConeIntersection module
pi = 3.141592653589793

class ConeIntersection(nn.Module):

    def __init__(self, dim, drop):
        super(ConeIntersection, self).__init__()
        self.dim = dim
        self.layer_axis1 = nn.Linear(self.dim * 2, self.dim)
        self.layer_arg1 = nn.Linear(self.dim * 2, self.dim)
        self.layer_axis2 = nn.Linear(self.dim, self.dim)
        self.layer_arg2 = nn.Linear(self.dim, self.dim)
        nn.init.xavier_uniform_(self.layer_axis1.weight)
        nn.init.xavier_uniform_(self.layer_arg1.weight)
        nn.init.xavier_uniform_(self.layer_axis2.weight)
        nn.init.xavier_uniform_(self.layer_arg2.weight)
        self.drop = nn.Dropout(p=drop)

    def forward(self, axis_embeddings, arg_embeddings):
        logits = torch.cat([axis_embeddings - arg_embeddings, axis_embeddings + arg_embeddings], dim=-1)
        axis_layer1_act = torch.nn.functional.relu(self.layer_axis1(logits))
        axis_attention = torch.nn.functional.softmax(self.layer_axis2(axis_layer1_act), dim=0)
        x_embeddings = torch.cos(axis_embeddings)
        y_embeddings = torch.sin(axis_embeddings)
        x_embeddings = torch.sum(axis_attention * x_embeddings, dim=0)
        y_embeddings = torch.sum(axis_attention * y_embeddings, dim=0)
        x_embeddings[torch.abs(x_embeddings) < 0.001] = 0.001
        axis_embeddings = torch.atan(y_embeddings / x_embeddings)
        indicator_x = x_embeddings < 0
        indicator_y = y_embeddings < 0
        indicator_two = indicator_x & torch.logical_not(indicator_y)
        indicator_three = indicator_x & indicator_y
        axis_embeddings[indicator_two] = axis_embeddings[indicator_two] + pi
        axis_embeddings[indicator_three] = axis_embeddings[indicator_three] - pi
        arg_layer1_act = torch.nn.functional.relu(self.layer_arg1(logits))
        arg_layer1_mean = torch.mean(arg_layer1_act, dim=0)
        gate = torch.sigmoid(self.layer_arg2(arg_layer1_mean))
        arg_embeddings = self.drop(arg_embeddings)
        arg_embeddings, _ = torch.min(arg_embeddings, dim=0)
        arg_embeddings = arg_embeddings * gate
        return (axis_embeddings, arg_embeddings)

# Create instance and arguments
dim = 4
drop = 0.1

model = ConeIntersection(dim=dim, drop=drop)

# Create small test tensors
# axis_embeddings: shape (2, 4) - batch size 2, dimension 4
axis_embeddings = torch.randn(2, 4)
# arg_embeddings: shape (2, 4) - batch size 2, dimension 4
arg_embeddings = torch.randn(2, 4)

ARGS = {
    "dim": dim,
    "drop": drop
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConeIntersection — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConeIntersection output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConeNegation Ran
ran on a synthesized input
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("047dc3203d7cb247")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

pi = 3.141592653589793

# ConeNegation.__init__ takes no parameters beyond self
INIT_ARGS = {}

# forward takes axis_embedding and arg_embedding
# Both should be tensors that can be modified in-place
# Using distinct shapes: (2, 5) for axis_embedding and (2, 3) for arg_embedding
ARGS = {
    'axis_embedding': torch.tensor([
        [0.5, -1.2, 2.1, -0.3, 1.8],
        [-2.5, 0.8, -0.1, 3.0, -1.5]
    ]),
    'arg_embedding': torch.tensor([
        [0.5, 1.2, 2.1],
        [0.3, 1.8, 2.5]
    ])
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ConeProjection Ran
ran on a synthesized input · constructed an object; no result was computed
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("edc1002197c5115f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConeProjection: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define the ARGS dictionary with all parameters for ConeProjection.__init__
ARGS = {
    'dim': 4,
    'hidden_dim': 8,
    'num_layers': 3
}

# Verify the module can be instantiated
model = nn.Module.__new__(type('ConeProjection', (nn.Module,), {}))

# Now create actual instance to ensure setup is correct
from torch.nn import Module, Linear
import torch.nn.functional as F

pi = 3.141592653589793

def convert_to_arg(x):
    y = torch.tanh(2 * x) * pi / 2 + pi / 2
    return y

def convert_to_axis(x):
    y = torch.tanh(x) * pi
    return y

class ConeProjection(nn.Module):
    def __init__(self, dim, hidden_dim, num_layers):
        super(ConeProjection, self).__init__()
        self.entity_dim = dim
        self.relation_dim = dim
        self.hidden_dim = hidden_dim
        self.num_layers = num_layers
        self.layer1 = nn.Linear(self.entity_dim + self.relation_dim, self.hidden_dim)
        self.layer0 = nn.Linear(self.hidden_dim, self.entity_dim + self.relation_dim)
        for nl in range(2, num_layers + 1):
            setattr(self, 'layer{}'.format(nl), nn.Linear(self.hidden_dim, self.hidden_dim))
        for nl in range(num_layers + 1):
            nn.init.xavier_uniform_(getattr(self, 'layer{}'.format(nl)).weight)

    def forward(self, source_embedding_axis, source_embedding_arg, r_embedding_axis, r_embedding_arg):
        x = torch.cat([source_embedding_axis + r_embedding_axis, source_embedding_arg + r_embedding_arg], dim=-1)
        for nl in range(1, self.num_layers + 1):
            x = F.relu(getattr(self, 'layer{}'.format(nl))(x))
        x = self.layer0(x)
        axis, arg = torch.chunk(x, 2, dim=-1)
        axis_embeddings = convert_to_axis(axis)
        arg_embeddings = convert_to_arg(arg)
        return (axis_embeddings, arg_embeddings)

# Test instantiation
model_instance = ConeProjection(**ARGS)

# Create sample inputs for forward pass verification
batch_size = 2
dim = ARGS['dim']
source_embedding_axis = torch.randn(batch_size, dim)
source_embedding_arg = torch.randn(batch_size, dim)
r_embedding_axis = torch.randn(batch_size, dim)
r_embedding_arg = torch.randn(batch_size, dim)

# Verify forward pass works
output = model_instance(source_embedding_axis, source_embedding_arg, r_embedding_axis, r_embedding_arg)

ARGS = {
    'dim': 4,
    'hidden_dim': 8,
    'num_layers': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConeProjection — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConeProjection output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
KGReasoning Ran
ran on a synthesized input · constructed an object; no result was computed
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("36f582e24c7a628f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, KGReasoning: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from math import pi

torch.manual_seed(0)

# Create a minimal query_name_dict
query_name_dict = {
    '1p': 0,
    '2p': 1,
    '3p': 2,
    '2i': 3,
    '3i': 4,
    'ip': 5,
    'pi': 6,
    '2u': 7,
    'up': 8
}

ARGS = {
    'nentity': 10,
    'nrelation': 5,
    'hidden_dim': 4,
    'gamma': 20.0,
    'test_batch_size': 2,
    'use_cuda': False,
    'query_name_dict': query_name_dict,
    'center_reg': None,
    'drop': 0.1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KGReasoning — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a KGReasoning output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_arg Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("712879a6c5a196db")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function convert_to_arg takes a single parameter x
# Looking at the function body:
# - x is used in arithmetic operations: torch.tanh(2 * x)
# - This means x should be a tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_arg Ran
ran; our contract draft was wrong, not the code
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("fa8f6d2163c007e7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

def convert_to_arg(x):
    pi = 3.141592653589793
    y = torch.tanh(2 * x) * pi / 2 + pi / 2
    return y

# Create a small tensor for x parameter
x = torch.randn(2, 4)

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_axis Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("3b2e4e13f7ff05e4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function convert_to_axis takes one parameter: x
# It applies tanh to x and multiplies by pi
# x should be a tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_axis Ran
ran; our contract draft was wrong, not the code
miralab-ustc/qe-cone/models.py
code served (permissive licence) · get_code("04df086ab269bc1f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

def convert_to_axis(x):
    y = torch.tanh(x) * 3.141592653589793
    return y

# The function takes a single parameter 'x' which should be a tensor
# It applies tanh and multiplies by pi
x = torch.randn(2, 4)

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
convert_to_arg
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2108.02390 (2021-08)
Fuzzy Logic Based Logical Query Answering on Knowledge Graphs
2109.08925 (2021-09)
Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphs
convert_to_axis
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2108.02390 (2021-08)
Fuzzy Logic Based Logical Query Answering on Knowledge Graphs
2109.08925 (2021-09)
Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphs

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Query embedding (QE)-which aims to embed entities and first-order logical (FOL) queries in low-dimensional spaces-has shown great power in multi-hop reasoning over knowledge graphs. Recently, embedding entities and queries with geometric shapes becomes a promising direction, as geometric shapes can naturally represent answer sets of queries and logical relationships among them. However, existing geometry-based models have difficulty in modeling queries with negation, which significantly limits their applicability. To address this challenge, we propose a novel query embedding model, namely Cone Embeddings (ConE), which is the first geometry-based QE model that can handle all the FOL operations, including conjunction, disjunction, and negation. Specifically, ConE represents entities and queries as Cartesian products of two-dimensional cones, where the intersection and union of cones naturally model the conjunction and disjunction operations. By further noticing that the closure of complement of cones remains cones, we design geometric complement operators in the embedding space for the negation operations. Experiments demonstrate that ConE significantly outperforms existing state-of-the-art methods on benchmark datasets.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2110.13715")
get_code_for_paper("2110.13715")
have("2110.13715")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2110.13715.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2110.13715.svg)](https://syntology.ai/paper/2110.13715)

Connect an agent — have() is free.