Configuration Reference

Complete reference for both connectors, the environment variables / system properties, and the default values. For task-oriented guidance, see Configuring the Agent, Tools, RAG, Chat Memory, and Audit Trail.

The settings of an agent on an ad hoc sub-process (for example Context variables, Follow-up on re-entry, the cibseven.agentic.* properties and the outcome variable agentOutput_outcome) are described in Agentic Ad Hoc Sub-Process: Configuration.

AI Agent connector — input parameters

connectorId = cibseven-ai-agent. Required: agentName, message. All others optional.

Input group

Parameter Type Default Purpose
agentName String — (required) Logical agent name.
message Text — (required) The user message; may reference process variables.
instruction Text empty → bundled default prompt System prompt text.
instructionMode Dropdown replace How instruction combines with the default: replace / append / prepend. Ignored when instruction empty; unknown value → error.

Agent group

Parameter Type Default Purpose
baseUrl String OPENAI_BASE_URL env → https://api.openai.com/v1 OpenAI-compatible endpoint (chat model).
model String …defaultModel prop → CIBSEVEN_CONNECT_AI_AGENT_DEFAULT_MODEL env → gpt-6-luna LLM model identifier.
apiKey String OPENAI_API_KEY env, only if baseUrl is empty or has the scheme, host and port of OPENAI_BASE_URL (default https://api.openai.com/v1) Provider API key. A key set here is sent to baseUrl, whatever it is. See API key and endpoint.
customHeaders Text (JSON) {} Extra HTTP headers (object of string→string) on every request.
reasoningEffort String unset Reasoning effort hint (e.g. low/medium/high), forwarded as-is.
reasoningSummary String unset Enables reasoning summary (auto/concise/detailed); switches to the OpenAI Responses API.
agentDescription Text empty Human-readable description.
persistChatLog Dropdown empty = global default Per-activity override of the chat-log audit variable: ${true} / ${false} / empty. See Audit Trail.

Tools group

See Tools.

Parameter Type Default Purpose
mcpServers Text (JSON array) [] MCP servers: [{"name","url","headers"}]. name (1–32 of [a-zA-Z0-9_-]) prefixes tool names as <name>__<tool>; absent → slug from host/port.
toolClasses Text (CSV) empty Comma-separated FQNs of @Tool classes (public no-arg constructor). Built-in: org.cibseven.connect.ai.agent.impl.ProcessStarterTool.

Memory group

See Chat Memory.

Parameter Type Default Purpose
useChatMemory Dropdown ${false} Activate per-conversation memory.
memoryId String new UUID (returned as output) Conversation id to reuse across invocations. Shown only when useChatMemory = ${true}.
chatMemoryMaxMessages String (int) 20 Sliding-window size (messages retained). Shown only when useChatMemory = ${true}.

RAG group

See RAG.

Parameter Type Default Purpose
pgHost String empty (setting it activates RAG) PostgreSQL host of the pgvector store.
pgPort String (int) 5432 PostgreSQL port.
pgDatabase String empty Database name.
pgUser String empty Database user.
pgPassword String empty Database password.
pgTable String langchain4j_embeddings pgvector table name.
maxRagResults String (int) 5 Max documents retrieved per query.
minRagScore String (double) 0.0 Min cosine-similarity (0.0–1.0); 0.0 = no filtering.
embeddingDimension String (int) 384 Embedding vector dimension; must match ingestion.
embeddingModelName String empty → local AllMiniLmL6V2 Remote embedding model name, always called at https://api.openai.com/v1; empty → local model. Uses apiKey only if baseUrl is OpenAI, else OPENAI_API_KEY only if OPENAI_BASE_URL is unset or OpenAI.

Output parameters

Source expression Template variable Type Purpose
${output} agentOutput String Final agent text answer (required mapping).
${outputAiMeta} agentOutput_aiMeta Map AI-generated marker.
${memoryId} memoryId String Chat-memory id (when memory active).

Note

The per-activity chat-log timeline is written to the process variables cibseven-connect-ai-agent_<activityId>~<eventSeq>, one per model call, automatically — it is not an output parameter. See Audit Trail.

Knowledge Ingestor connector

connectorId = cibseven-knowledge-ingestor. Required: content, pgHost. Embeds text into the pgvector store for later RAG retrieval. See RAG.

Inputs

Parameter Type Default Purpose
content Text — (required) Text to embed and store.
source String empty Source id (file/URL/process id), stored as segment metadata.
metadata Text empty Extra metadata as comma-separated key=value pairs.
chunkSize String (int) 500 Max characters per chunk.
chunkOverlap String (int) 50 Character overlap between chunks.
embeddingModelName String empty → local AllMiniLmL6V2 Remote embedding model name; empty → local.
apiKey String OPENAI_API_KEY env, only if OPENAI_BASE_URL is unset or OpenAI OpenAI API key for a remote embedding model.
embeddingDimension String (int) 384 Vector dimension; must match the model.
pgHost String — (required) PostgreSQL host.
pgPort String (int) 5432 PostgreSQL port.
pgDatabase String empty Database name.
pgUser String empty Database user.
pgPassword String empty Database password.
pgTable String langchain4j_embeddings pgvector table name.

Output

Source expression Template variable Type Purpose
${chunksIngested} ingestedChunks Integer Number of chunks embedded and stored.

Environment variables & system properties

Name Kind Default Effect
OPENAI_API_KEY env — Fallback API key when apiKey is not set. Only sent to the endpoint of OPENAI_BASE_URL (or https://api.openai.com/v1 if unset); remote embeddings get it only if that endpoint is OpenAI.
OPENAI_BASE_URL env https://api.openai.com/v1 Fallback chat base URL when baseUrl is not set.
cibseven.connect.ai-agent.defaultModel system property — Deployment-wide default model (wins over the env var).
CIBSEVEN_CONNECT_AI_AGENT_DEFAULT_MODEL env — Deployment-wide default model (fallback for the property).
cibseven.connect.ai-agent.redactContent system property false When true, the content of request messages in the audit log (messages[].content) is replaced by a SHA-256 hash + length; the answer and the tool-call arguments are not.
CIBSEVEN_CONNECT_AI_AGENT_REDACT_CONTENT env false Env fallback for redaction.
cibseven.connect.ai-agent.chatLogVariable.enabled system property true When false, the per-activity chat-log variables are not written, and the events are kept nowhere else.
CIBSEVEN_CONNECT_AI_AGENT_CHAT_LOG_VARIABLE_ENABLED env true Env fallback for the chat-log toggle.
cibseven.connect.ai-agent.chatMemoryVariable.enabled system property true When false, chat memory is kept in a JVM-local map instead of process variables: lost on restart, not shared across nodes.
CIBSEVEN_CONNECT_AI_AGENT_CHAT_MEMORY_VARIABLE_ENABLED env true Env fallback for the chat-memory store switch.
cibseven.connect.ai-agent.chatMemoryMaxPayloadBytes system property 1048576 Largest conversation the default store writes; a larger one fails the task. 0 or less turns the check off.
CIBSEVEN_CONNECT_AI_AGENT_CHAT_MEMORY_MAX_PAYLOAD_BYTES env 1048576 Env fallback for the conversation size limit.
cibseven.connect.cibseven-ai-agent.allowed-endpoints system property — (no restriction) Endpoints the AI agent may contact. See Allowed Endpoints.
CIBSEVEN_CONNECT_CIBSEVEN_AI_AGENT_ALLOWED_ENDPOINTS env — Env fallback for the agent’s allowed endpoints.
cibseven.connect.cibseven-knowledge-ingestor.allowed-endpoints system property — (no restriction) Endpoints the Knowledge Ingestor may contact.
CIBSEVEN_CONNECT_CIBSEVEN_KNOWLEDGE_INGESTOR_ALLOWED_ENDPOINTS env — Env fallback for the Knowledge Ingestor’s allowed endpoints.
cibseven.connect.allowed-endpoints system property — (no restriction) Endpoints all connectors may contact, unless a connector has its own list.
CIBSEVEN_CONNECT_ALLOWED_ENDPOINTS env — Env fallback for the global list.
AI_AGENT_ENABLED env distro-dependent Distribution-level master switch for the overlay (run/tomcat/wildfly Docker). See Installation.

Note

Resolution order is system property → environment variable → built-in default. Empty/blank values are treated as unset.

Default values at a glance

Setting Default Constant
Model (built-in fallback) gpt-6-luna DEFAULT_MODEL
Chat base URL https://api.openai.com/v1 DEFAULT_BASE_URL
PostgreSQL port 5432 DEFAULT_PG_PORT
pgvector table langchain4j_embeddings DEFAULT_PG_TABLE
Max RAG results 5 DEFAULT_MAX_RAG_RESULTS
Min RAG score 0.0 DEFAULT_MIN_RAG_SCORE
Embedding dimension 384 (AllMiniLmL6V2) DEFAULT_EMBEDDING_DIMENSION
Chunk size 500 DEFAULT_CHUNK_SIZE
Chunk overlap 50 DEFAULT_CHUNK_OVERLAP
Chat memory window 20 DEFAULT_CHAT_MEMORY_MAX_MESSAGES
Instruction mode replace DEFAULT_INSTRUCTION_MODE

CLI: KnowledgeIngestor arguments

See RAG for usage.

Argument Required Default
--file yes —
--pgHost yes —
--pgUser yes —
--pgPassword yes —
--pgPort no 5432
--pgDatabase no postgres
--pgTable no langchain4j_embeddings
--chunkSize no 500
--chunkOverlap no 50

On this Page: