Skip to main content
An agent is a project-scoped resource for long-running assistants and automation. Attach channels, connectors, secrets, skills, and optional scheduled tasks when you run OpenClaw. Use agents to:
  • Expose assistants on messaging channels with gateway-managed configuration.
  • Enable catalog connectors and secrets without embedding long-lived tokens in local files.
  • Run OpenClaw workloads whose Models access is tied to the project.

When to create an agent

Create an agent when you need persistent automation or conversations tied to channels, connectors, and secrets managed in Ageneral. Do not create an agent solely to call Models from your own code. Use a virtual key and https://models.ageneral.ai instead.

How agents access Models

CallerCredential
Your application calling models.ageneral.aiVirtual key sk-bf-…
Agent runtime managed by AgeneralInfrastructure credentials; no additional Models key to paste
Both paths bill against project rules for Models usage. Treat virtual keys as secrets. Rotate them after personnel changes or suspected compromise.

OpenClaw

Enable OpenClaw on an agent to run the gateway stack documented under OpenClaw runtime.

Concept guides

TopicGuide
Gateway overviewOpenClaw runtime
SkillsSkills
ChannelsChannels
ConnectorsConnectors
Cron jobsCron jobs
SecretsSecrets
Agent pricingPricing

Next steps