Fractary CLI
Fractary CLI
Section titled “Fractary CLI”Unified Command-Line Interface for All Fractary Tools
The Fractary CLI is the central interface that brings together all Fractary tools through a single, consistent command-line interface. No more installing separate CLIs for each tool—just install @fractary/cli and access everything.
Installation
Section titled “Installation”npm install -g @fractary/cliFractary Tools
Section titled “Fractary Tools”The CLI provides access to all Fractary tools:
- 🎯 Faber - Universal AI agent orchestration (write-once, deploy-everywhere)
- 📚 Codex - Centralized knowledge management and distribution
- ⚒️ Forge - Asset management and project scaffolding
- ⎈ Helm - Deployment and orchestration (coming soon)
Command Pattern
Section titled “Command Pattern”All Fractary tools use a consistent command pattern:
fractary <tool> <command> [options]This makes it easy to learn and use all tools once you understand the pattern.
Quick Examples
Section titled “Quick Examples”# Initialize a Faber projectfractary faber init
# Create an AI agent rolefractary faber create role issue-manager --platforms github-issues,linear
# Validate the agentfractary faber validate role issue-manager
# Build for Claude Codefractary faber build claude role issue-manager
# List all conceptsfractary faber list# Initialize Codex in a repositoryfractary codex init --org your-org
# Validate documentation metadatafractary codex validate docs/
# Check where a file will syncfractary codex route docs/api-guide.md
# View configurationfractary codex config show# List available assetsfractary forge list
# Create a new project from a starterfractary forge create my-blog --starter fractary/forge-starter-www-astro-blog
# Install a bundlefractary forge install fractary/forge-bundle-team-core
# Check project statusfractary forge status
# Update bundlesfractary forge update team-coreKey Benefits
Section titled “Key Benefits”Single Installation
Section titled “Single Installation”Install one CLI for all Fractary tools instead of managing multiple packages.
Consistent Interface
Section titled “Consistent Interface”All tools follow the same command pattern, making them easy to learn and use.
No Naming Conflicts
Section titled “No Naming Conflicts”The main command is just fractary - no conflicts with existing tools.
Lazy Loading
Section titled “Lazy Loading”Commands are loaded on-demand for better performance.
Unified Updates
Section titled “Unified Updates”Update all tools together with a single npm update -g @fractary/cli.
Shared Utilities
Section titled “Shared Utilities”Common functionality shared across all tools reduces code duplication.
Tool-Specific Documentation
Section titled “Tool-Specific Documentation”For detailed documentation on each tool:
Use Cases
Section titled “Use Cases”For Developers
Section titled “For Developers”- Rapid AI agent prototyping
- Framework experimentation
- Platform flexibility
- Unified tooling experience
For Organizations
Section titled “For Organizations”- Inject company standards without forking
- Consistent agents across teams
- Environment-specific configurations
- Centralized tooling management
For Open Source
Section titled “For Open Source”- Distribute reusable agent definitions
- Community contributions
- Multi-framework support
Current Status
Section titled “Current Status”Version: 1.0.0+ Status: Production Ready License: MIT
Complete Features
Section titled “Complete Features”Faber:
- Core concept system (Roles)
- Context system (7 categories)
- Overlay system
- Configuration management
- Claude Code binding
- Full CLI commands
Codex:
- SDK integration (@fractary/codex)
- Metadata parsing and validation
- Routing analysis
- Configuration management
Forge:
- SDK integration (@fractary/forge)
- GitHub-based asset distribution
- Catalog-based discovery
- Project scaffolding
- Bundle management
In Progress
Section titled “In Progress”- Additional Faber concept loaders (Tools, Teams, Workflows, Evals)
- LangGraph and CrewAI bindings
- Codex GitHub Actions integration
- Helm tool integration
Development
Section titled “Development”Want to contribute? Here’s how to get started:
# Clone the repositorygit clone https://github.com/fractary/cli.gitcd cli
# Install dependenciesnpm install
# Build the projectnpm run build
# Run testsnpm test
# Link for local developmentnpm link
# Test the CLIfractary --helpRelated Packages
Section titled “Related Packages”The CLI depends on core SDK packages:
- @fractary/faber - Core SDK for Faber
- @fractary/codex - Core SDK for Codex
- @fractary/forge - Core SDK for Forge
- @fractary/helm - Core SDK for Helm (coming soon)
Support
Section titled “Support”- Issues: GitHub Issues
- Discussions: GitHub Discussions
- GitHub: github.com/fractary/cli