agentantibody docs

Configuration

Every flag and environment variable of the service, with defaults.

The binary is agentantibody. Only the database URL is required.

Server

FlagEnvironment variableDefaultMeaning
--listennone127.0.0.1:8088HTTP listen address. Remediation endpoints answer only on a loopback address.
--disable-discoverynonefalseServe persisted state without starting Kubernetes or AWS discovery.

Database

FlagEnvironment variableDefaultMeaning
--database-urlAGENTANTIBODY_DATABASE_URLnonePostgreSQL connection URL. Required. Prefer the variable; the flag shows up in the process list.
--database-max-connsAGENTANTIBODY_DATABASE_MAX_CONNS20Maximum pool connections.
--database-min-connsAGENTANTIBODY_DATABASE_MIN_CONNS2Minimum pool connections.

Kubernetes discovery

Kubernetes discovery is on by default.

FlagDefaultMeaning
--disable-kubernetesfalseLeave the Kubernetes plugins out. Discovery then needs --aws-region.
--kubeconfigstandard loading rulesPath to a kubeconfig. In a cluster, the in-cluster configuration is used.
--cluster-idlocalStable authority ID for Kubernetes resource identities.
--network-idthe cluster IDStable authority ID for the network realm.
--source-idkubernetes/localStable ID of this discovery source.
--istio-root-namespaceistio-systemThe Istio mesh root namespace.

AWS discovery

AWS discovery is off until you set a region. Credentials come from the default AWS SDK chain, for example AWS_PROFILE.

FlagEnvironment variableDefaultMeaning
--aws-regionnoneemptyTurns on EC2 discovery in this region.
--aws-events-queue-urlnoneemptySQS queue that receives CloudTrail events through EventBridge. Optional.
--aws-firehose-stream-arnnoneemptyTurns on VPC Flow Log ingestion from this Firehose delivery stream. Needs AWS discovery.
noneAGENTANTIBODY_AWS_FIREHOSE_ACCESS_KEYnoneAccess key of that delivery stream. Required with --aws-firehose-stream-arn.

With discovery on, at least one source must be enabled. The service stops at startup if Kubernetes is disabled and no region is set. See AWS.

Telemetry storage

FlagEnvironment variableDefaultMeaning
--telemetry-jsonlnone.agentantibody/telemetry.jsonlLocal durable telemetry file.
--clickhouse-urlnoneemptyClickHouse HTTP endpoint. JSONL is used when empty.
--clickhouse-databasenoneagentantibodyClickHouse database.
--clickhouse-tablenonetelemetry_eventsClickHouse raw telemetry table.
--clickhouse-usernamenonedefaultClickHouse username.
noneAGENTANTIBODY_CLICKHOUSE_PASSWORDnoneClickHouse password.

Reasoning

FlagEnvironment variableDefaultMeaning
--model-endpointAGENTANTIBODY_MODEL_ENDPOINTemptyOpenAI-compatible endpoint. Empty turns reasoning off.
--modelAGENTANTIBODY_MODELgpt-6-astraModel name.
--reasoning-effortAGENTANTIBODY_REASONING_EFFORTemptyReasoning effort for the Responses API.
--reasoning-retrievalAGENTANTIBODY_RETRIEVAL_MODEmodel_selectedmodel_selected or deterministic.
--reasoning-consumernonereasoning/defaultStable ID of the durable reasoning consumer.
--reasoning-intervalnone1sHow often reasoning polls for graph changes.

Build

UI=0 skips the web UI build in make build, make run, and make graph-ui. The default rebuilds the UI when its sources changed.