Skip to content

CLI Reference

Complete reference for all Faber commands available through the Fractary CLI.

Display the installed version of the Fractary CLI.

Terminal window
fractary --version

Display help for Faber commands.

Terminal window
fractary faber --help

Initialize a new Faber project in the current directory.

Terminal window
fractary faber init [options]

Options:

  • --org <name> - Set organization name (default: prompts)
  • --force - Overwrite existing configuration

Creates:

  • .faber/config.yml - Project configuration
  • .faber/overlays/ - Organization overlays directory
  • roles/, tools/, teams/, workflows/ - Core directories
  • deployments/ - Build output directory

Create a new role (agent) definition.

Terminal window
fractary faber create role <name> [options]

Arguments:

  • <name> - Role name (kebab-case recommended)

Options:

  • --system <name> - System the role belongs to
  • --platforms <list> - Comma-separated platform list
  • --template <name> - Use a template (default, minimal, full)

Example:

Terminal window
fractary faber create role issue-manager \
--system devops \
--platforms github-issues,linear

Create a new tool (MCP server or utility).

Terminal window
fractary faber create tool <name> [options]

Create a new team composition.

Terminal window
fractary faber create team <name> [options]

Create a new workflow definition.

Terminal window
fractary faber create workflow <name> [options]

Build agent definitions for target frameworks.

Terminal window
fractary faber build <framework> <type> <name> [options]

Arguments:

  • <framework> - Target framework: claude, langgraph, crewai
  • <type> - Asset type: role, team, workflow
  • <name> - Name of the asset to build

Options:

  • --output <dir> - Custom output directory
  • --overlay <name> - Apply specific overlay
  • --watch - Rebuild on file changes
  • --verbose - Show detailed build output

Examples:

Terminal window
# Build for Claude Code
fractary faber build claude role issue-manager
# Build for LangGraph
fractary faber build langgraph role issue-manager
# Build for CrewAI with custom output
fractary faber build crewai role issue-manager --output ./agents
# Build and watch for changes
fractary faber build claude role issue-manager --watch

Build all assets for a target framework.

Terminal window
fractary faber build-all <framework> [options]

Validate agent definitions against schema.

Terminal window
fractary faber validate <type> <name> [options]

Arguments:

  • <type> - Asset type: role, team, workflow
  • <name> - Name of asset to validate

Options:

  • --strict - Enable strict validation mode
  • --schema <path> - Use custom schema file

Example:

Terminal window
fractary faber validate role issue-manager

Validate all agent definitions in the project.

Terminal window
fractary faber validate-all [options]

Create a new organization overlay.

Terminal window
fractary faber overlay create <org> [options]

Preview overlay application.

Terminal window
fractary faber overlay apply <org> <type> <name>

List all assets in the project.

Terminal window
fractary faber list [type]

Arguments:

  • [type] - Optional: filter by type (roles, tools, teams, workflows)

Show information about an asset.

Terminal window
fractary faber info <type> <name>

Remove generated build artifacts.

Terminal window
fractary faber clean [options]

Options:

  • --framework <name> - Clean specific framework only
  • --all - Clean all generated files

Edit .faber/config.yml to configure:

org: acme
version: 1.0.0
frameworks:
claude:
output: .claude/agents
langgraph:
output: langgraph/graphs
crewai:
output: crewai/agents
defaults:
role_template: default
platforms: [github-issues]
  • FABER_ORG - Override organization name
  • FABER_DEBUG - Enable debug logging
  • FABER_CONFIG - Custom config file path
  • 0 - Success
  • 1 - General error
  • 2 - Validation error
  • 3 - Build error
  • 4 - Configuration error