- Rust 85.1%
- TypeScript 5.7%
- Python 3.9%
- Svelte 2.6%
- Shell 2.5%
- Other 0.1%
| apps/graphd-web | ||
| crates | ||
| docs | ||
| editors | ||
| fixtures | ||
| packages/graphd | ||
| python | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| backlog-methodology.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| implementation-questions.md | ||
| README.md | ||
| TODO.md | ||
graphd
graphd is a local-first graph execution, provenance, cache, and inspection toolkit for engineering flows that cross tool and domain boundaries.
It is useful as a standalone utility belt and as a full graph framework:
- use
graphd mtime,graphd cache,graphd sources, orgraphd opswithout adopting the full framework - author frozen graph plans in Rust or Python
- declare task inputs, outputs, tools, runtime data, and external artifacts
- validate observed behavior against declared intent
- reuse or restore cached outputs with typed reason codes
- inspect, explain, diff, visualize, and export recorded runs
The broader methodology is described in docs/tutorials/graphd-methodology-for-cross-domain-engineering.md.
Quickstart From A Checkout
Build and run the CLI:
cargo run -p graphd -- --help
Run the core Rust tests:
cargo test --workspace
Run the Python API tests:
python -m unittest python.tests.test_api
Run the Svelte browser app checks:
cd apps/graphd-web
npm test
npm run check
Generate full local coverage reports:
scripts/coverage.sh
Run the v1 smoke path:
scripts/v1-smoke.sh
Run the full test suite:
scripts/tests.sh
Run the full build, test, and example matrix:
scripts/all.sh
That smoke script runs the canonical hierarchical example, records provenance, and exports inspection, visualization, lifecycle, trace, metrics, and supply-chain artifacts under target/graphd-v1-smoke/.
Where To Start
Standalone utility users:
docs/tutorials/hardware-smoke-flow.mddocs/tutorials/cache-aware-preview.mddocs/tutorials/authoring-source-elaboration.md
Python authors:
docs/tutorials/python-native-bindings.mdpython/examples/basic_pipeline.pypython/examples/hierarchical_pipeline.py
TypeScript authors:
docs/tutorials/typescript-node-authoring.mdpackages/graphd/examples/basic_pipeline.tspackages/graphd/examples/hierarchical_pipeline.ts
Rust authors:
docs/authoring-surface.mdcrates/graphd-core/examples/rust_pipeline.rscrates/graphd-core/examples/hierarchical_flow.rs
Framework-embracing users:
docs/tutorials/graph-dry-run.mddocs/tutorials/run-inspection.mddocs/tutorials/live-visualization-service.mddocs/tutorials/visualization-snapshot-and-events.mddocs/tutorials/graphd-methodology-for-cross-domain-engineering.mddocs/tutorials/cross-domain-reference-flows.md
Release-readiness and supported-surface notes live in docs/release-readiness.md.