Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.crewship.ai/llms.txt

Use this file to discover all available pages before exploring further.

crewship agent

Manage AI agents within a workspace.
crewship agent <subcommand> [flags]

Subcommands

CommandDescription
listList all agents in the workspace
getShow agent details
createCreate a new agent
updateUpdate an agent
deleteDelete an agent
runsList runs for an agent
stopStop a running agent
logsShow agent container logs
debugShow agent debug info (container state, env, crewshipd status)
skillsList skills assigned to an agent
credentialsList credentials assigned to an agent
mcpShow or set MCP server configuration for an agent

crewship agent list

List all agents in the workspace.
crewship agent list
crewship agent list --crew backend-team
FlagTypeDefaultDescription
--crewstringFilter by crew slug or ID.
Output columns: SLUG, ROLE, CREW, STATUS, ADAPTER, MEMORY

crewship agent get

Show detailed information about an agent.
crewship agent get <slug-or-id>
Output fields: Name, Slug, ID, Role, Role Title, Crew, Status, CLI Adapter, Tool Profile, Memory, Timeout, Created, Skills count, Credentials count.

crewship agent create

Create a new agent.
crewship agent create --name "Viktor" --crew backend-team --role LEAD
FlagTypeDefaultDescription
--namestring(required)Agent name.
--slugstring(auto from name)Agent slug.
--crewstringCrew slug or ID.
--rolestringAGENTAgent role: AGENT, LEAD, or COORDINATOR (deprecated — kept for backward compatibility).
--role-titlestringHuman-readable role title.
--cli-adapterstringCLAUDE_CODECLI adapter: CLAUDE_CODE, CODEX_CLI, GEMINI_CLI, OPENCODE, CURSOR_CLI, FACTORY_DROID.
--system-promptstringSystem prompt text or @file.txt to read from file.
--tool-profilestringCODINGTool profile: MINIMAL, CODING, FULL.
--llm-providerstringLLM provider: ANTHROPIC, OPENAI, GOOGLE.
--llm-modelstringLLM model (e.g., claude-haiku-4-5).
--memoryboolfalseEnable memory.
--lead-modestringLead mode: active or passive.
--timeoutint0Timeout in seconds.
--avatar-seedstring(agent name)Avatar seed for avatar generation.
--avatar-stylestringAvatar style: bottts-neutral, adventurer, fun-emoji, pixel-art, micah, notionists, thumbs, lorelei, big-smile, avataaars.
Use @file.txt syntax with --system-prompt to load the prompt from a file:
crewship agent create --name Viktor --system-prompt @prompts/backend-lead.md

crewship agent update

Update an existing agent. Only changed flags are sent.
crewship agent update <slug-or-id> --role LEAD --memory
FlagTypeDefaultDescription
--namestringAgent name.
--rolestringAgent role.
--role-titlestringHuman-readable role title.
--cli-adapterstringCLI adapter.
--system-promptstringSystem prompt text or @file.txt.
--tool-profilestringTool profile.
--llm-providerstringLLM provider: ANTHROPIC, OPENAI, GOOGLE.
--llm-modelstringLLM model.
--memoryboolfalseEnable memory.
--lead-modestringLead mode.
--timeoutint0Timeout in seconds.
--avatar-seedstringAvatar seed.
--avatar-stylestringAvatar style.

crewship agent delete

Delete an agent. Prompts for confirmation unless --yes is passed.
crewship agent delete <slug-or-id>
crewship agent delete viktor --yes
FlagShortTypeDefaultDescription
--yes-yboolfalseSkip confirmation prompt.

crewship agent runs

List runs for an agent.
crewship agent runs <slug-or-id>
Output columns: ID, STATUS, TRIGGER, CREATED, FINISHED

crewship agent stop

Stop a running agent.
crewship agent stop <slug-or-id>

crewship agent logs

Show agent container logs.
crewship agent logs <slug-or-id>
crewship agent logs viktor --tail 50
FlagTypeDefaultDescription
--tailint100Number of log lines to show.

crewship agent debug

Show agent debug info including container state, environment variables, and crewshipd status. Output is always JSON.
crewship agent debug <slug-or-id>

crewship agent skills

List skills assigned to an agent.
crewship agent skills <slug-or-id>
Output columns: SKILL ID, NAME, CATEGORY, ENABLED

crewship agent credentials

List credentials assigned to an agent.
crewship agent credentials <slug-or-id>
Output columns: ID, NAME, PROVIDER, TYPE, ENV VAR

crewship agent mcp

Show or set MCP server configuration for an agent.
# Show agent-specific config
crewship agent mcp <agent-slug>

# Show effective (merged crew + agent) config
crewship agent mcp <agent-slug> --resolved

# Set from inline JSON
crewship agent mcp <agent-slug> --set '{"mcpServers":{...}}'

# Set from file
crewship agent mcp <agent-slug> --set-file agent-mcp.json
FlagTypeDefaultDescription
--setstringSet MCP config from JSON string. Pass empty string to clear.
--set-filestringSet MCP config from file path.
--resolvedboolfalseShow effective merged config (crew + agent). Agent overrides crew.
The JSON must contain a "mcpServers" object at the top level. --set and --set-file are mutually exclusive. --resolved cannot be combined with set operations.