docs/src/content/docs/en/agentclaw/setup.md
App, such as App only or CLI & APP.| Mode | Toggle combination | Use case |
|---|---|---|
| Full forwarding | Enable Forward agent messages | Keep complete agent output in IM, or let a team observe |
| Lock-screen handoff | Enable Handoff and disable Forward agent messages | Receive and reply to the agent only after leaving the computer |
| IM-initiated turns | Disable both Handoff and Forward agent messages | Let users start turns from IM without mirroring desktop output |
Handoff currently uses screen lock and idle time. Wi-Fi / Bluetooth phone targets are experimental settings and do not affect runtime handoff yet.
| Setting | Recommendation |
|---|---|
| Bot language | Use Auto to follow the conversation; pin Chinese or English for team channels |
| Maximum turn time | Match the expected task duration; CCR interrupts timed-out turns and reports the final state |
| Session idle reset | Use 0 to disable automatic reset; set minutes only when you want a fresh Session after inactivity |
| Message chunk size | Match platform length limits; Slack/Discord can be larger, Weixin/LINE should stay conservative |
| Attachment limit | Bound inbound files before they are handed to the agent |
| Send and receive attachments | Enable when users need images, files, or workspace artifacts |
| Streaming replies | Enable for real-time output; disable when platform update limits are strict |
| Allow Agent shell tools | Controls agent tool permission only; it does not add a shell command to the Bot |
After opening the Agent App from CCR, choose a workspace from IM:
/project list
/project use 1
/session list
/session use 1
Then send natural-language messages directly. To start a new Session:
/session new Fix login issue
When the agent asks for permission or input, use platform buttons when available, or text commands:
/session approve
/session deny
/session answer Use the second option
Inspect state and diagnostics:
/session status
/session doctor
/session deliveries
/project current from IM and confirm the Bot is online and can read the current Project./session list and confirm Sessions are listed for the current Project.The Profile card shows connection state, the last event and delivery, pending outbox count, and redacted errors. /session doctor returns the same kind of runtime diagnostics.
AgentClaw keeps bounded deduplication records, pending turns, a durable outbox, and recent delivery results on the local machine. Event idempotency gives each agent turn one execution, and pending delivery resumes while the App is online again.
Only /project and /session are Bot command domains. Plain messages become agent prompts, and attachments enter the agent only when enabled and under the size limit. Shell permission is still controlled by the Agent Config; enable it only for trusted agents, trusted workspaces, and trusted IM conversations.