Skip to main content
Agent Settings define the defaults your agent uses when you do not specify parameters per request. They are stored as agent_config JSONB inside autopilot_tenant_settings (upsert, so safe for new tenants).

Web UI Location

citedy.com/dashboard/settings/agent The page has 7 sections: Platforms, Image Style, Content Tone, Schedule, Timezone, Trust Level, Scan Sources. The Agent Settings card also includes an inline Test your agent in 60 seconds smoke-test banner above Default Platforms. The banner expands in place and uses the MCP tool registry as its source of truth, so the recommended calls stay aligned with the live agent surface. Smoke-test flow:
  1. agent.status -> GET /api/agent/status
  2. article.generate -> POST /api/agent/autopilot with mode: standard, size: mini, auto_publish: false, and wait_for_completion: false
  3. article.get -> GET /api/agent/articles/{id}
If an active agent key exists, the UI shows only the stored key prefix in masked form. If no key exists, the banner opens the same Connect & Create Key modal used by Team Settings. The full secret key is never read back or rendered after creation.

Settings Flow


All Settings

defaultPlatforms

Which social platforms to target when not specified per request. When empty: if trustLevel is show_preview, agent shows preview and asks which platforms. If autopilot, uses all connected platforms. Example:

imageStylePreset

Controls the visual style applied to AI-generated images for posts and articles. Style definitions:
The preset is passed as styleLock override into the illustration planner prompt. It does not prevent per-image variation — it constrains the palette and composition rules.

contentTone

Default writing tone for posts and articles. Behavior per value:
  • professional: Formal, structured, industry language
  • casual: Conversational, first-person, contractions allowed
  • bold: Short sentences, strong claims, opinion-led
Can be overridden per request: /post topic tone=casual

publishSchedule

Controls how many posts per day and which time slots to use. Sub-fields:
When slots is empty, GET /api/agent/schedule/suggest returns timezone-appropriate recommendations. Example:

targetTimezone

IANA timezone identifier for scheduling and slot suggestions. Common values:
Invalid IANA strings are rejected with a 400 validation error.

trustLevel

Controls how much the agent acts vs asks before taking action. Detailed behavior:

scanSources

Which sources the trend scanner uses by default when mode is not specified per request. Source-to-mode mapping:
Examples:
Individual sources:

API

Read settings

Returns full AgentSettings object with all fields and their current values.

Write settings (partial update)

All fields are optional. Only provided fields are updated. Uses upsert — safe for first-time configuration.
Same schema. Used by the web UI at /dashboard/settings/agent. Uses Supabase session cookie, not API key.

Platform Connection Status

Social platforms must be connected separately at https://www.citedy.com/dashboard/settings?section=account&tab=integrations before publishing works. Platform connection flow:
YouTube OAuth also available at: GET /api/auth/youtubeGET /api/auth/youtube/callback Instagram OAuth: GET /api/auth/instagram The /api/agent/status endpoint shows which platforms are connected and which are not.

Default Values Summary