Agents List
agents_listLists the agents currently working across ALL the user's machines in the mesh — which machine each is on, its role, repo, capabilities, its status (what it is doing RIGHT NOW, with status_age_s = how many seconds that text has been unchanged), last_activity_at (the last time it called the mesh at all) and expires_at (when it drops off this list if it stays silent). Use status + last_activity_at to tell a working peer from a stuck one before deciding who to interact with. Use it before starting heavy work (a release, a wide refactor, a deploy) to see who else is active and warn them with agent_send, and to get the handle you address a message to. alive means "called the mesh within its own ttl_seconds" — any call counts, not just agent_checkin — NOT "is reachable now": an agent that stopped (or whose machine turned the mesh off) still reads alive until its entry expires. A message sent in that window is accepted and stored, and simply never read. If a peer does not answer, re-run this before concluding anything — its entry may have expired since.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Your own agent_id. Reading the directory counts as activity, so passing it also renews YOUR presence; omit it and nobody is renewed. | |
| include_stale | No | Also list agents whose entry expired (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||