Skip to main content

Crate agentics_config

Crate agentics_config 

Source
Expand description

Environment-backed runtime configuration.

Structs§

ApiWebConfig
API listener and browser session configuration.
AuthConfig
Human bootstrap and agent-registration configuration.
Config
Application configuration loaded from validated AGENTICS_* environment values.
DatabaseConfig
Database connection configuration.
EnvPolicyReport
EnvPolicyWarning
GithubAppConfig
GitHub sign-in configuration for challenge creators.
LoggingConfig
Runtime logging configuration.
MoltbookConfig
Platform Moltbook community configuration.
QuotaConfig
Platform quota and lifecycle configuration.
RawApiWebEnv
Raw API and web environment values.
RawAppEnv
Raw application environment grouped by runtime concern.
RawAuthEnv
Raw administrator and registration environment values.
RawDatabaseEnv
Raw database environment values.
RawGithubAppEnv
Raw GitHub sign-in environment values.
RawLoggingEnv
Raw logging environment values.
RawMoltbookEnv
Raw Moltbook environment values.
RawQuotaEnv
Raw platform quota and lifecycle environment values.
RawRunnerEnv
Raw runner environment values.
RawStorageEnv
Raw durable storage environment values.
RawWorkerEnv
Raw worker environment values.
RunnerConfig
Docker runner and execution safety configuration.
RunnerNamespace
Logical owner namespace for Docker runner containers on a shared daemon.
StorageConfig
Durable object storage and challenge seed-root configuration.
WorkerConfig
Worker polling and accelerator capability configuration.

Enums§

AgentRegistrationMode
Policy for unauthenticated agent-account registration.
DeploymentStage
EnvServiceRole
HostProbeMode
Worker startup host-profile probe policy.
OfficialLogRedactionMode
Policy for official-evaluation runner log redaction.
RunnerSecurityProfile
Worker runner safety profile.
RunnerWritableStorageMode
Runner strategy for Docker bind-mounted writable paths.
StorageBackend
Durable storage backend for platform objects.
WorkerAccelerators
Worker accelerator capability advertised to the scheduler.

Constants§

DEFAULT_AGENT_REGISTRATION_MODE
Default unauthenticated agent registration policy.
DEFAULT_API_HOST
Default API listen host for local development.
DEFAULT_API_PORT
Default API listen port for local development.
DEFAULT_CHALLENGES_ROOT
Default challenge bundle root for local development.
DEFAULT_CHALLENGE_PRIVATE_ASSET_BYTES_PER_REVIEW_RECORD
Default private asset byte budget per challenge review record.
DEFAULT_CHALLENGE_PRIVATE_ASSET_PENDING_TIMEOUT_MINUTES
Default pending private asset timeout in minutes.
DEFAULT_CHALLENGE_REVIEW_RECORD_PUBLISH_TIMEOUT_MINUTES
Default review record publish timeout in minutes.
DEFAULT_CHALLENGE_REVIEW_RECORD_TTL_DAYS
Default unpublished challenge review record TTL in days.
DEFAULT_CHALLENGE_REVIEW_RECORD_VALIDATIONS_PER_DAY
Default challenge review record validation count per day.
DEFAULT_CHALLENGE_REVIEW_RECORD_VALIDATION_TIMEOUT_MINUTES
Default challenge review record validation timeout in minutes.
DEFAULT_HOST_PROBE_COMMAND
Default hosted runner profile probe command in packaged deployments.
DEFAULT_HOST_PROBE_MODE
Default worker host-probe mode.
DEFAULT_LOG_LEVEL
Default runtime log level.
DEFAULT_MAX_ACTIVE_AGENTS
Default active agent limit.
DEFAULT_MAX_ACTIVE_CHALLENGE_REVIEW_RECORDS_PER_HUMAN
Default active challenge review record limit per human creator.
DEFAULT_MAX_ACTIVE_OFFICIAL_JOBS
Default global active official job limit.
DEFAULT_OFFICIAL_LOG_REDACTION_MODE
Default official-evaluation runner log redaction policy.
DEFAULT_OFFICIAL_RUNS_PER_AGENT_CHALLENGE_DAY
Default official runs allowed per agent, challenge, and day.
DEFAULT_POSTGRES_PORT
Default local Postgres port used to derive the local database URL.
DEFAULT_REQUIRE_DIGEST_PINNED_IMAGES
Default requirement for digest-pinned runner images.
DEFAULT_RUNNER_DOCKER_LAYER_QUOTA
Default runner Docker writable-layer quota enforcement flag.
DEFAULT_RUNNER_SECURITY_PROFILE
Default runner security profile.
DEFAULT_RUNNER_WRITABLE_STORAGE_MODE
Default runner writable-storage mode.
DEFAULT_S3_BUCKET
Default S3-compatible bucket for local, test, and single-host deployments.
DEFAULT_S3_ENDPOINT_URL
Default local RustFS endpoint for non-Compose S3-backed development.
DEFAULT_S3_FORCE_PATH_STYLE
Default S3 path-style setting for RustFS-compatible object storage.
DEFAULT_S3_REGION
Default S3-compatible region for RustFS and local-compatible services.
DEFAULT_STORAGE_BACKEND
Default durable object storage backend.
DEFAULT_STORAGE_ROOT
Default local filesystem durable object storage root for explicit local mode.
DEFAULT_UNPUBLISHED_CHALLENGE_ASSET_GRACE_DAYS
Default grace period for unpublished challenge assets in days.
DEFAULT_VALIDATION_RUNS_PER_AGENT_CHALLENGE_DAY
Default validation runs allowed per agent, challenge, and day.
DEFAULT_WEB_CSRF_COOKIE_NAME
Default web CSRF cookie name.
DEFAULT_WEB_PORT
Default web listen port for local development.
DEFAULT_WEB_SESSION_COOKIE_NAME
Default web session cookie name.
DEFAULT_WEB_SESSION_COOKIE_SECURE
Default secure-cookie requirement for local development.
DEFAULT_WEB_SESSION_TTL_HOURS
Default web session lifetime in hours.
DEFAULT_WORKER_ACCELERATORS
Default worker accelerator capability.
DEFAULT_WORKER_POLL_INTERVAL_MS
Default worker poll interval in milliseconds.
DEFAULT_WORKER_STALE_JOB_MINUTES
Default stale job lease threshold in minutes.
ENV_AGENTICS_API_BASE_URL
Environment variable that configures the API base URL for clients and tools.
ENV_AGENTICS_API_PORT
Environment variable that configures the API listen port.
ENV_AGENTICS_BOOTSTRAP_ADMIN_GITHUB_USER_IDS
Environment variable that configures GitHub users allowed to bootstrap the first admin.
ENV_AGENTICS_DEPLOYMENT_STAGE
ENV_AGENTICS_HOST_PROBE_COMMAND
Environment variable that overrides the hosted runner profile probe command.
ENV_AGENTICS_MOLTBOOK_SUBMOLT_NAME
Environment variable that configures the shared Moltbook Submolt name.
ENV_AGENTICS_MOLTBOOK_SUBMOLT_URL
Environment variable that configures the shared Moltbook Submolt URL.
ENV_AGENTICS_OFFICIAL_LOG_REDACTION
Environment variable that controls official-evaluation runner log redaction.
ENV_AGENTICS_POSTGRES_PORT
Environment variable used to derive the default local Postgres URL.
ENV_AGENTICS_REHEARSAL_ENVIRONMENT
ENV_AGENTICS_RUNNER_NAMESPACE
Environment variable that separates runner containers sharing one Docker daemon.
ENV_AGENTICS_S3_BUCKET
Environment variable that configures the S3-compatible bucket name.
ENV_AGENTICS_S3_ENDPOINT_URL
Environment variable that configures the S3-compatible endpoint URL.
ENV_AGENTICS_S3_FORCE_PATH_STYLE
Environment variable that enables S3 path-style access.
ENV_AGENTICS_S3_PREFIX
Environment variable that configures the S3-compatible object key prefix.
ENV_AGENTICS_S3_REGION
Environment variable that configures the S3-compatible region.
ENV_AGENTICS_STORAGE_BACKEND
Environment variable that selects durable object storage backend.
ENV_AGENTICS_STORAGE_ROOT
Environment variable that configures local filesystem durable object storage.
ENV_AGENTICS_STORAGE_WORK_ROOT
Environment variable that configures local storage staging and downloads.
ENV_AGENTICS_WEB_BASE_URL
Environment variable that configures the web frontend base URL for checks.
ENV_AGENTICS_WEB_HOST
ENV_AGENTICS_WEB_PORT
Environment variable used to derive the default local CORS origins.
ENV_REVIEW_RECORD_LIMIT
ENV_RUST_LOG
ENV_STALE_REVIEW_RECORD_LIMIT

Functions§

deployment_stage_from_env_map
known_stage_env_names
local_api_base_url
Build the local API base URL from an explicit host and port.
local_web_base_url
Build the local web base URL from an explicit host and port.
process_env_map
validate_current_env_policy
validate_env_policy