samyama-graph
Graph-vector database that queried 1 billion edges for $2.50. Rust, OpenCypher, vector search, 14 graph algorithms. 74M nodes / 1B edges on a single machine.
File Explorer
Download Latest Version (.zip)- bug_report.md
- config.yml
- feature_request.md
- ci.yml
- gpu-ci.yml
- nightly.yml
- publish-crate.yml
- publish-docker.yml
- pull_request_template.md
- openapi.yaml
- bench_setup.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- params.rs
- adjacency_walk.rs
- aggregate_grouping.rs
- aggregate_throughput.rs
- cardinality_accuracy.rs
- filter_throughput.rs
- finbench_benchmark.rs
- full_benchmark.rs
- graph_benchmarks.rs
- graph_optimization_benchmark.rs
- graphalytics_benchmark.rs
- hierarchy_benchmark.rs
- ingest_profile.rs
- late_materialization_bench.rs
- ldbc_benchmark.rs
- ldbc_bi_benchmark.rs
- memory_footprint.rs
- mvcc_benchmark.rs
- prop_scaling.rs
- property_access.rs
- rao_family_benchmark.rs
- record_ops.rs
- sort_topn.rs
- varlength_expand.rs
- vector_benchmark.rs
- indexes.csv
- real-ontologies.md
- results.csv
- generate_corpus.py
- queries.json
- README.md
- ldbc-sf1-params.example.json
- ldbc-sf1-params.p50.json
- demo_lib.py
- fetch_snapshot.sh
- record_gif.sh
- run_case_study.sh
- samyama_http.py
- validate_queries.py
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- seed_embedding.json
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- cloud-demo.gif
- cloud-demo.mp4
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- case.env
- demo.cast
- demo.gif
- demo.py
- queries.cypher
- README.md
- run.sh
- .gitignore
- DEFINITION_OF_DONE.md
- README.md
- main.rs
- Cargo.toml
- aggregate.rs
- cdlp.rs
- kernels.rs
- lcc.rs
- mod.rs
- pagerank.rs
- sort.rs
- topology.rs
- vector.rs
- aggregate.wgsl
- bitonic_sort.wgsl
- cdlp.wgsl
- cosine_distance.wgsl
- inner_product.wgsl
- lcc.wgsl
- pagerank.wgsl
- pca_center.wgsl
- pca_covariance.wgsl
- pca_mean.wgsl
- pca_power_iter.wgsl
- pca_power_iter_norm.wgsl
- triangles.wgsl
- aggregate.rs
- buffer.rs
- cdlp.rs
- context.rs
- error.rs
- lcc.rs
- lib.rs
- pagerank.rs
- pca.rs
- runtime.rs
- sort.rs
- topology.rs
- unified.rs
- vector.rs
- gpu_smoke.rs
- Cargo.toml
- PORT-STATUS.md
- e1_ablation.rs
- e3a_um_vs_copy.rs
- cdlp.rs
- common.rs
- community.rs
- flow.rs
- gpu_dispatch.rs
- gpu_parity_tests.rs
- lcc.rs
- lib.rs
- mst.rs
- pagerank.rs
- pathfinding.rs
- pca.rs
- topology.rs
- Cargo.toml
- README.md
- run_baseline_suite.rs
- abc.rs
- bat.rs
- bmr.rs
- bmwr.rs
- bwr.rs
- cuckoo.rs
- de.rs
- ehrjaya.rs
- firefly.rs
- fpa.rs
- ga.rs
- gotlbo.rs
- gsa.rs
- gwo.rs
- hs.rs
- itlbo.rs
- jaya.rs
- mo_bmwr_family.rs
- mo_rao_de.rs
- mod.rs
- motlbo.rs
- nsga2.rs
- pso.rs
- qo_rao.rs
- qojaya.rs
- rao.rs
- sa.rs
- samp_jaya.rs
- saphr.rs
- tlbo.rs
- cec_data.rs
- mod.rs
- multi_objective.rs
- runner.rs
- single_objective.rs
- common.rs
- lib.rs
- moo.rs
- test_benchmark_optima.rs
- test_reproducibility.rs
- test_solvers.rs
- Cargo.toml
- README.md
- algo.rs
- client.rs
- embedded.rs
- error.rs
- lib.rs
- models.rs
- remote.rs
- vector_ext.rs
- Cargo.toml
- ADR-001-use-rust-as-primary-language.md
- ADR-002-use-rocksdb-for-persistence.md
- ADR-003-use-resp-protocol.md
- ADR-004-use-raft-consensus.md
- ADR-005-use-capnproto-serialization.md
- ADR-006-use-tokio-async-runtime.md
- ADR-007-volcano-iterator-execution.md
- ADR-008-multi-tenancy-namespace-isolation.md
- ADR-009-graph-partitioning-strategy.md
- ADR-010-observability-stack.md
- ADR-011-cypher-crud-operations.md
- ADR-012-late-materialization.md
- ADR-013-peg-grammar-atomic-keywords.md
- ADR-014-explain-profile-queries.md
- ADR-015-graph-native-query-planning.md
- ADR-016-billion-node-distributed-architecture.md
- ADR-017-adjacency-aware-aggregation-planning.md
- ADR-020-mvcc-transaction-isolation.md
- ADR-021-columnar-property-store.md
- ADR-022-snapshot-format.md
- ADR-023-wal-versioning.md
- ADR-024-edge-arena-removal.md
- ADR-025-gpu-compute-wgsl.md
- ADR-026-rao-optimization-crate.md
- ADR-027-aggregation-with-pushdown.md
- ADR-028-label-interning.md
- ADR-029-index-manager.md
- ADR-030-bandwidth-and-observability.md
- ADR-034-unified-memory-seam.md
- ADR-035-multi-hop-query-optimization.md
- ADR-035-oeh-hierarchy-index.md
- ADR-036-data-load-time-to-ready-optimization.md
- README.md
- powergrid.gif
- telecom.gif
- CASE_STUDY_HEALTHCARE.md
- pypi_publish_workflow.yml
- oeh-hierarchy-prompt.md
- personas.csv
- README.md
- testcases.csv
- traceability_matrix.csv
- usecases.csv
- workflows.csv
- 1.7.0.md
- COMPREHENSIVE_TEST_REPORT.md
- PHASE2_RESP_TESTS.md
- README.md
- ACID_GUARANTEES.md
- BENCHMARKS.md
- CYPHER_COMPATIBILITY.md
- GLOSSARY.md
- README.md
- REQUIREMENTS.md
- SDK_API_CLI_ARCHITECTURE.md
- SUPPLY_CHAIN_GUARDIAN_DEMO.md
- TROUBLESHOOTING.md
- mod.rs
- mod.rs
- mod.rs
- missing_data.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- mod.rs
- aact_biomarker_extractor.rs
- aact_loader.rs
- agentic_enrichment_demo.rs
- algo_parity_check.rs
- algo_parity_export.rs
- amr_stewardship_demo.rs
- api_contract.rs
- b3_runner.rs
- banking_demo.rs
- bi11_explain.rs
- civic_loader.rs
- clinical_trial_sites_demo.rs
- clinical_trials_demo.rs
- cluster_demo.rs
- cricket_loader.rs
- cypher_lint.rs
- cypher_matrix_probe.rs
- cypher_probe.rs
- cypher_probe2.rs
- cypher_probe3.rs
- cypher_probe4.rs
- cypher_problem_demo.rs
- cypher_query_runner.rs
- doc_check.rs
- drug_repurposing_demo.rs
- druginteractions_loader.rs
- enterprise_soc_demo.rs
- finbench_loader.rs
- football_loader.rs
- grid_dispatch_demo.rs
- healthcare_allocation_demo.rs
- hgnc_ensembl_loader.rs
- hier_benchmark.rs
- hier_export_csv.rs
- ic11_probe.rs
- imdb_loader.rs
- import_invariants.rs
- industrial_kg_demo.rs
- is7_probe.rs
- knowledge_graph_demo.rs
- ldbc_loader.rs
- legal_judgments_loader.rs
- mesh_scale_bench.rs
- oncokb_loader.rs
- ontology_loader.rs
- parse_check.rs
- pathways_loader.rs
- pca_demo.rs
- phase1b_smoke.rs
- property_bridge.rs
- pubmed_loader.rs
- samyama_to_neo4j.rs
- sdk_demo.rs
- simple_client_demo.py
- smart_manufacturing_demo.rs
- social_network_demo.rs
- supply_chain_demo.rs
- supply_chain_snapshot.rs
- surveillance_loader.rs
- tck_runner.rs
- test_kg_queries.rs
- uc1_aact_real.rs
- uc1_trial_site_selection.rs
- uc2_combo_dosing.rs
- uc2_drug_interactions_real.rs
- uc3_capacity_planning.rs
- uc4_aact_real.rs
- uc4_kg_completion.rs
- uc5_age_telemetry_real.rs
- uc5_agent_routing.rs
- unified_benchmark.rs
- wildfire_evac_demo.rs
- check_lint_ratchet.sh
- check_thread_determinism.sh
- coverage.sh
- distributed_test.sh
- download_finbench.sh
- download_graphalytics.sh
- download_ldbc_snb.sh
- enrich_clinical_trials.py
- README.md
- regression-test.sh
- run_all_examples.sh
- verify-sweep.sh
- demo.py
- kgs.yaml
- README.md
- register.py
- requirements.txt
- samyama-mcp-demo.gif
- samyama-mcp-demo.mp4
- serve_kg.py
- __init__.py
- algorithm_tools.py
- base.py
- edge_tools.py
- generic_tools.py
- node_tools.py
- vector_tools.py
- __init__.py
- __main__.py
- cli.py
- config.py
- escape.py
- README.md
- schema.py
- server.py
- lib.rs
- test_embedded.py
- test_mcp_escape.py
- test_mcp_generators.py
- test_mcp_schema.py
- test_mcp_server.py
- test_vector.py
- .gitignore
- Cargo.toml
- pyproject.toml
- client.ts
- http-client.ts
- index.ts
- types.ts
- client.test.ts
- .gitignore
- package-lock.json
- package.json
- tsconfig.json
- enrich.rs
- executor.rs
- mod.rs
- planner.rs
- tools.rs
- mod.rs
- client.rs
- mod.rs
- columnar.rs
- mod.rs
- catalog.rs
- edge.rs
- event.rs
- mod.rs
- node.rs
- property.rs
- store.rs
- types.rs
- index.html
- handler.rs
- mod.rs
- optimize.rs
- server.rs
- tenants.rs
- uc_problems.rs
- vector.rs
- manager.rs
- mod.rs
- monoid.rs
- oeh.rs
- oracle.rs
- poset.rs
- manager.rs
- mod.rs
- property_index.rs
- client.rs
- mod.rs
- cypher_problem.rs
- mod.rs
- mod.rs
- storage.rs
- tenant.rs
- wal.rs
- command.rs
- mod.rs
- resp.rs
- server.rs
- adjacency_agg_detector.rs
- cost_model.rs
- hierarchy_detector.rs
- hierarchy_ops.rs
- leapfrog.rs
- logical_optimizer.rs
- logical_plan.rs
- mod.rs
- operator.rs
- physical_planner.rs
- plan_enumerator.rs
- planner.rs
- profile.rs
- record.rs
- semi_join_detector.rs
- ast.rs
- cypher.pest
- mod.rs
- parser.rs
- star.rs
- validate.rs
- cluster.rs
- mod.rs
- network.rs
- node.rs
- state_machine.rs
- storage.rs
- jsonld.rs
- mod.rs
- ntriples.rs
- rdfxml.rs
- turtle.rs
- mapping.rs
- mod.rs
- namespace.rs
- schema.rs
- store.rs
- types.rs
- mod.rs
- proxy.rs
- router.rs
- format.rs
- mod.rs
- persist.rs
- algebra.rs
- executor.rs
- http.rs
- mod.rs
- optimizer.rs
- parser.rs
- results.rs
- index.rs
- manager.rs
- mod.rs
- lib.rs
- main.rs
- README.md
- test_resp_basic.py
- test_resp_visual.py
- adjacency_count_semantics.rs
- advanced_aggregations.rs
- advanced_cypher.rs
- age_plan_executor_test.rs
- aggregate_after_projection.rs
- aggregate_identity_grouping.rs
- ai_features_test.rs
- algo-parity-reference.json
- algo_integration_test.rs
- algo_test.rs
- algorithm_procedures.rs
- anchor_coverage.rs
- anchored_scan_after_import.rs
- auto_embed_indexing.rs
- bench_host_calibration.rs
- bounded_sort_semantics.rs
- catalog_after_import.rs
- chained_comparison.rs
- clause_pipeline.rs
- collection_literal_expressions.rs
- columnar_holds_every_variant.rs
- comprehensive_test.rs
- cors_private_network.rs
- create_multi_path_variables.rs
- create_relationship_from_row.rs
- create_semantics.rs
- cypher_orderability.rs
- cypher_projection_semantics.rs
- cypher_sweep_gaps.rs
- datetime_construction.rs
- dense_column_integration.rs
- distinct_ordering_semantics.rs
- distributed_client.py
- ds07_mixed_tier_test.rs
- duplicate_filter_plan.rs
- edge_type_count.rs
- embed_config_validation.rs
- entity_dedup_labels.rs
- exists_adjacency_walk.rs
- exists_pinned_endpoint.rs
- exists_subquery_test.rs
- expand_target_labels.rs
- expand_target_predicate.rs
- explain_parentheses.rs
- filter_parallel_threshold.rs
- float_list_precision.rs
- function_null_propagation.rs
- hierarchy_index_test.rs
- id_anchor.rs
- in_three_valued_logic.rs
- incomparable_ordering_is_null.rs
- index_test.rs
- integer_literals.rs
- label_mutation.rs
- ldbc_param_derivation.rs
- list_and_numeric_coercion.rs
- list_holding_entities.rs
- map_property_access.rs
- merge_row_properties.rs
- multi_objective_test.rs
- mvcc_test.rs
- named_path_extent.rs
- optimization_test.rs
- optimize_http_test.rs
- optional_match_count.rs
- optional_match_null_rows.rs
- optional_match_where.rs
- optional_named_path.rs
- order_by_limit_topn.rs
- order_by_scope_validation.rs
- pattern_and_star_syntax.rs
- predicate_pushdown_plan.rs
- profile_attribution.rs
- property_cursor.rs
- query_validation.rs
- record_capacity.rs
- relationship_isomorphism.rs
- remove_property.rs
- result_column_names.rs
- result_determinism.rs
- scripts_are_executable.rs
- self_referencing_patterns.rs
- set_entity.rs
- sharding_test.rs
- shortest_path_semantics.rs
- skip_batching.rs
- snapshot_import_rollback.rs
- snapshot_persistence.rs
- snapshot_preserves_properties.rs
- string_operator_non_string_operands.rs
- subsumes_without_index.rs
- target_node_filter_test.rs
- tenant_registry_unification.rs
- uc1_trial_site_selection_test.rs
- uc2_combo_dosing_test.rs
- uc3_capacity_planning_test.rs
- uc4_kg_completion_test.rs
- uc5_agent_routing_test.rs
- union_combines_branches.rs
- unwind_multiple.rs
- unwind_with.rs
- v060_features_test.rs
- value_list.rs
- value_size.rs
- var_length_path_enumeration.rs
- varlength_expand_semantics.rs
- varlength_pinned_target.rs
- vector_query_test.rs
- vector_search_test.rs
- version_consistency.rs
- write_result_shape.rs
- .dockerignore
- .env.example
- .gitignore
- Cargo.lock
- Cargo.toml
- CLAUDE.md
- CODE_OF_CONDUCT.md
- CODEOWNERS
- CONTRIBUTING.md
- deny.toml
- Dockerfile
- ldbc-benchmark-results.png
- LICENSE
- README.md
- ROADMAP.md
- SECURITY.md
# Installation Guide
git clone https://github.com/samyama-ai/samyama-graph
Downloads the entire project code from GitHub to your computer.
cd samyama-graph
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu ๊ณ์ด) Built into Debian/Ubuntu-based Linux distributions.
- Python 3 Python is required to use pip.
sudo apt-get install -y build-essential cmake pkg-config libssl-dev clang libclang-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
pip install samyama[mcp]
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker pull public.ecr.aws/f9f6l5u4/samyama-graph:1.1.0
Type this command into your terminal and run it.
touch docker-compose.yml
Runs the command against the services defined in the compose file.
notepad docker-compose.yml
Runs the command against the services defined in the compose file.
docker compose up -d
Builds and starts all defined containers (server, database, etc.) at once, in the background.
docker ps
Type this command into your terminal and run it.
Pulled directly from this repo's README.
4. Node.js
Easycd sdk/typescript
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
5. Python
Easycargo build --release && pip install rich requests
Installs the Python libraries listed in requirements.txt (or similar).
pip install samyama[mcp]
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
6. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo build --release && pip install rich requests
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
