Skip to main content
These commands are in preview and are available to customers on request. Each one is off until OpenWork turns it on for your organization, and how it works may change. To try one, ask your OpenWork contact.
The openwork agents commands create and run agents from the terminal. Run the CLI and sign in as described in the CLI overview.
Every agent command needs agents turned on for the organization. The commands below each need a preview feature of their own as well. A command whose feature is off stops with feature_disabled and changes nothing.

connectors

Change one connector on an agent without resending its other tool settings.
Name the agent and the connector by name or by id.

add

Lets the agent use one more connector. It is refused when:
  • you cannot use the connector yourself,
  • the agent’s owner cannot use it or has not connected it, or
  • your organization blocks that connector for agents.

remove

Turns the connector off for the agent. The agent’s rules for that connector’s individual tools are kept, so adding it back restores them.

list

Shows each connector and whether the agent can use it.

When the change applies


slack

Put an agent in a Slack channel, so a mention of the OpenWork bot there goes to that agent instead of the speaker’s own assistant.
Agents do not answer in channels yet. The preview decides which agent owns a channel and who may talk to it. Someone who is let through is told privately that the agent can’t answer yet, and nothing runs for their message.
The organization needs Slack connected. Invite the bot to the channel first with /invite @openwork.

add

A channel has one agent. An agent can be in several channels.

remove

After this, mentions in the channel go to each speaker’s own assistant again. Archiving the agent or disconnecting Slack does the same.

Who the agent listens to

Someone who mentions the bot in the channel is let through only when they can already use the agent:
  • its owner,
  • a person it is shared with, or
  • a member of a team or organization it is shared with.
Everyone else gets one private line saying they have no access. No model or tool is called for them, and nothing is spent.

Who can change channels

You need to be the agent’s owner or a manager, hold the Manage connections permission, and have signed in recently.