Skip to content

Create your first Agent

Create an Agent with a clear responsibility, then start one bounded Run and inspect its result. Agent creation does not grant access to an external provider.

  • An authorized MCP client with Full control access for Agent creation.
  • A short Agent name.
  • Stable instructions describing its responsibility and boundaries.
  • One concrete task for the first Run.

An Agent is owner-scoped. Its definition becomes an immutable revision, and every Run records the exact revision it uses. Omit optional capability configuration to use the owner model catalog’s current default, and omit execution limits to use the fleet execution defaults.

Creating an Agent grants no external authority. Connections, native capabilities, and standing tool authority are separate, explicit configuration choices.

  1. Call crewhelm_status to confirm that the control plane is ready.
  2. Call crewhelm_change_agents with operation.kind: "create", a name, and instructions.
  3. Keep the returned Agent object unchanged.
  4. Call crewhelm_change_work with operation.kind: "run", that Agent object, and the first message. Omit conversation, Briefs, and outputContract.
  5. Keep the returned Run and conversation objects unchanged.
  6. Call crewhelm_inspect_work with operation.kind: "inspect_run" and the Run ID until the Run reaches a terminal state.

For a useful first task, ask for a bounded Markdown result that needs no external tool. This proves Agent admission and model execution before introducing Connection authority.

  • The Run refers to the same Agent ID and revision returned at creation.
  • The Run reaches a terminal state and exposes its Markdown result.
  • crewhelm_inspect_agents with operation.kind: "inspect" returns the immutable current definition.
  • A later follow-up can pass the returned Agent and conversation objects unchanged to crewhelm_change_work with operation.kind: "run".
  • On an Agent revision conflict, inspect the Agent again and decide whether its current revision still matches your intent before starting again.
  • If the conversation handle is lost, use crewhelm_inspect_work to list that Agent’s conversations, then inspect the selected conversation for a fresh copy-ready object.
  • If the Run waits for approval, inspect the pending action before approving or rejecting it.
  • Do not silently retry an external write whose result is unknown. Follow diagnosis and recovery.

Run an Agent for continued work, or connect an integration when the Agent needs an external provider.