CapDAG
Say what you want done to a file. CapDAG finds the capabilities that do it and wires them into a machine. Capabilities are named by URNs, provided by cartridges, and planned and run by one protocol in every implementation.
Coming soonThe CapDAG command line is not released yet. The specification and the registry are open now.
brew install machinefabric/tap/capdagcurl -fsSL https://release.machinefabric.com/packages/keys/repo-signing-prod.asc | sudo gpg --dearmor -o /usr/share/keyrings/machinefabric.gpg
echo "deb [signed-by=/usr/share/keyrings/machinefabric.gpg] https://release.machinefabric.com/packages/apt stable main" | sudo tee /etc/apt/sources.list.d/machinefabric.list
sudo apt update && sudo apt install capdagsudo tee /etc/yum.repos.d/machinefabric.repo >/dev/null <<'EOF'
[machinefabric]
name=MachineFabric
baseurl=https://release.machinefabric.com/packages/rpm/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://release.machinefabric.com/packages/keys/repo-signing-prod.asc
EOF
sudo dnf install capdag
Capabilities are URNs
A cap URN names what an operation accepts and what it produces. Whether a cap answers a request is a defined relation, not string matching.
Machine notation
A text form for data-flow graphs of caps. Plan one from what you have and what you want,
then run it with capdag run.
Cartridges
Isolated processes that advertise capabilities and exchange typed, multiplexed streams with their host.
The registry
Browse every capability and media definition the fabric publishes, as a graph.
The capdag command
Plan and run machines and single caps, install and run cartridges, and scaffold new ones.