{"id":66812,"library":"hyperjumptech-grule-rule-engine","title":"Grule Rule Engine","description":"A rule engine for Go based on the Rete algorithm, allowing rule-based logic execution.","status":"active","version":"1.20.4","language":"go","source_language":null,"source_url":"https://github.com/hyperjumptech/grule-rule-engine","tags":["rules","engine","rete","logic"],"install":[{"cmd":"go get github.com/hyperjumptech/grule-rule-engine","lang":"bash","label":"Install github.com/hyperjumptech/grule-rule-engine"}],"dependencies":[],"imports":[{"symbol":"grule","correct":"github.com/hyperjumptech/grule-rule-engine"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/hyperjumptech/grule-rule-engine/ast\"\n    \"github.com/hyperjumptech/grule-rule-engine/builder\"\n    \"github.com/hyperjumptech/grule-rule-engine/engine\"\n    \"github.com/hyperjumptech/grule-rule-engine/pkg\"\n)\n\nfunc main() {\n    knowledgeBase := ast.NewKnowledgeBase(\"Test\", \"0.1.0\")\n    ruleBuilder := builder.NewRuleBuilder(knowledgeBase)\n    ruleBuilder.BuildRuleFromResource(\"rule \\\"test\\\" { when true then Retract(\\\"test\\\"); }\")\n    engine := engine.NewGruleEngine()\n    dataContext := ast.NewDataContext()\n    engine.Execute(dataContext, knowledgeBase)\n}","lang":"go","description":"Builds and executes a simple rule using Grule."},"warnings":[],"env_vars":null,"search_vec":"'algorithm':13 'allow':14 'base':9,17 'engin':3,6,21 'execut':19 'go':8 'grule':1 'logic':18,23 'rete':12,22 'rule':2,5,16,20 'rule-bas':15","created_at":"2026-06-17T17:28:49.972436+00:00","updated_at":"2026-06-17T17:28:49.972436+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hyperjumptech/grule-rule-engine","github":"https://github.com/hyperjumptech/grule-rule-engine","docs":"https://pkg.go.dev/github.com/hyperjumptech/grule-rule-engine#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}