docs: add AGENTS.md and update docs & gitignore (#344)
- docs: add AGENTS.md and update docs & gitignore
Add AI-assistant guidance files (AGENTS.md) at repository root and under vermeer, and expand documentation across the project: significantly update top-level README.md, computer/README.md, and vermeer/README.md with architecture, quick-starts, build/test instructions, and examples. Also update CI badge link in README and add AI-assistant-specific ignore patterns to .gitignore and vermeer/.gitignore to avoid tracking assistant artifacts.
- Add vermeer-focused .devin/wiki.json
Introduce .devin/wiki.json with repository notes directing contributors to focus exclusively on the vermeer directory: document its architecture, implementation, and APIs; exclude content from the computer module/directory; and prioritize vermeer-specific functionality and code examples.
- Update READMEs: PageRank params and Vermeer configs
Clarify algorithm parameters and configuration guidance across computer/README.md and vermeer/README.md. In computer/README.md PageRank options were renamed and documented (page_rank.alpha, bsp.max_superstep, pagerank.l1DiffThreshold) and a pointer to the full PageRank implementation was added to avoid confusion from the simplified example. In vermeer/README.md example Docker volume mounts now recommend a dedicated config directory (~/vermeer-config) and include a security note about avoiding mounting the whole home directory. The master.ini/worker.ini sample blocks were reworked to use revised keys (http_peer, grpc_peer, master_peer, run_mode, task_parallel_num, etc.) and a note clarifies that HugeGraph connection details are supplied via the graph load API. Additional notes direct readers to the real WorkerComputer/MasterComputer interfaces and existing algorithm examples; minor performance-tuning guidance was also adjusted to reflect the new task_parallel_num setting.
Update README.md
doc: fix some mistakes in docs about vermeer (#345)
Co-authored-by: Jingkai Yang m15635418665@163.com
Apache HugeGraph-Computer
Apache HugeGraph-Computer is a comprehensive graph computing solution providing two complementary systems for different deployment scenarios:
Quick Comparison
Architecture Overview
graph TB subgraph HugeGraph-Computer subgraph Vermeer["Vermeer (Go) - In-Memory Engine"] VM[Master :6688] --> VW1[Worker 1 :6789] VM --> VW2[Worker 2 :6789] VM --> VW3[Worker N :6789] end subgraph Computer["Computer (Java) - Distributed BSP"] CM[Master Service] --> CW1[Worker Pod 1] CM --> CW2[Worker Pod 2] CM --> CW3[Worker Pod N] end end HG[(HugeGraph Server)] <--> Vermeer HG <--> Computer style Vermeer fill:#e1f5fe style Computer fill:#fff3e0Vermeer Architecture (In-Memory Engine)
Vermeer is designed with a Master-Worker architecture optimized for high-performance in-memory graph computing:
graph TB subgraph Client["Client Layer"] API[REST API Client] UI[Web UI Dashboard] end subgraph Master["Master Node"] HTTP[HTTP Server :6688] GRPC_M[gRPC Server :6689] GM[Graph Manager] TM[Task Manager] WM[Worker Manager] SCH[Scheduler] end subgraph Workers["Worker Nodes"] W1[Worker 1 :6789] W2[Worker 2 :6789] W3[Worker N :6789] end subgraph DataSources["Data Sources"] HG[(HugeGraph)] CSV[Local CSV] HDFS[HDFS] end API --> HTTP UI --> HTTP GRPC_M <--> W1 GRPC_M <--> W2 GRPC_M <--> W3 W1 -.-> HG W2 -.-> HG W3 -.-> HG W1 -.-> CSV W1 -.-> HDFS style Master fill:#e1f5fe style Workers fill:#f3e5f5 style DataSources fill:#fff9c4Component Overview:
/ui/HugeGraph Ecosystem Integration
Getting Started with Vermeer (Recommended)
For quick start and single-machine deployments, we recommend Vermeer:
Docker Quick Start
Binary Quick Start
See the Vermeer README for detailed configuration and usage.
Getting Started with Computer (Distributed)
For large-scale distributed graph processing on Kubernetes or YARN clusters, see the Computer README for:
Supported Algorithms
Vermeer Algorithms (20+)
Features:
When to Use Which
Choose Vermeer when:
Performance: Optimized for fast iteration on medium-sized graphs with in-memory processing. Horizontal scaling by adding worker nodes.
Choose Computer when:
Performance: Handles massive graphs via distributed BSP framework. Batch-oriented with superstep barriers. Elastic scaling on K8s.
Documentation
Related Projects
Contributing
Welcome to contribute to HugeGraph-Computer! Please see:
We recommend using GitHub Desktop to simplify the PR process.
Thank you to all contributors!
License
HugeGraph-Computer is licensed under Apache 2.0 License.
Contact Us