diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6982d767..bf37d075 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -6,9 +6,9 @@ on: - main paths: - "website/**" - - "assert/architecture.svg" - - "assert/benchmark_overview.svg" - - "assert/case_study.svg" + - "assets/architecture.svg" + - "assets/benchmark_overview.svg" + - "assets/case_study.svg" - "scripts/build-pages-site.sh" - ".github/workflows/deploy-docs.yml" workflow_dispatch: diff --git a/README.md b/README.md index e540ba36..bba70dea 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ [![Website](https://img.shields.io/badge/website-live-5B5BD6.svg?style=flat-square)](https://bigai-nlco.github.io/belief-context-graph/) [![Documentation](https://img.shields.io/badge/documentation-online-0F766E.svg?style=flat-square&logo=readthedocs&logoColor=white)](https://belief-context-graph.docs.buildwithfern.com/)
-[![WeChat](https://img.shields.io/badge/WeChat-Community-07C160.svg?style=flat-square&logo=wechat&logoColor=white)](assert/bcg_qr_code.png) -[![Discord](https://img.shields.io/badge/Discord-Community-5865F2.svg?style=flat-square&logo=discord&logoColor=white)](assert/bcg_discard_qr_code.png) +[![WeChat](https://img.shields.io/badge/WeChat-Community-07C160.svg?style=flat-square&logo=wechat&logoColor=white)](assets/bcg_qr_code.png) +[![Discord](https://img.shields.io/badge/Discord-Community-5865F2.svg?style=flat-square&logo=discord&logoColor=white)](assets/bcg_discard_qr_code.png)
- - Full-dataset benchmark comparison with Accuracy grouped by benchmark on the left, mean Token Cost grouped by benchmark on the right, and Default-versus-BCG token-horizon curves below + + Full-dataset benchmark comparison with Accuracy grouped by benchmark on the left, mean Token Cost grouped by benchmark on the right, and Default-versus-BCG token-horizon curves below
Agent: gpt-5.6-luna with low-effort thinking · Graph/Summary: gpt-5.6-luna with thinking disabled · Harness: repository harness
@@ -50,7 +50,7 @@ Belief Context Graph (`BCG`) upgrades agent memory from **retrieval memory** to - **Temporal Awareness:** Run-based lifecycle with sessions and timestamps — know when each belief was formed and how it evolved - **Relation Linking:** Forward and backward relationship edges between beliefs, forming a casual decision graph/trace. - + ## Live Demo @@ -100,8 +100,8 @@ The first run walks you through model credentials, context mode, and Graph Const BCG is an optional context layer between an Agent and its model. In BCG mode, the initial user input and recent completed turns remain in the raw context, while older completed turns stream into Graph Construction; the resulting belief snapshot is then injected into the system prompt. Both the HTTP service and the Python SDK use the same backend registry, construction pipeline, confidence semantics, and graph artifacts.

- - BCG architecture: Agent context management and Python SDK feed unified or hybrid Graph Construction backends, which share an incremental belief graph pipeline and return Graph snapshots to the Agent system prompt + + BCG architecture: Agent context management and Python SDK feed unified or hybrid Graph Construction backends, which share an incremental belief graph pipeline and return Graph snapshots to the Agent system prompt

@@ -113,7 +113,7 @@ BCG is an optional context layer between an Agent and its model. In BCG mode, th This successful BrowseComp case (`browsecomp-0836`) shows Kimi K3 using belief identities and confidence from BCG instead of repeating an already completed search.

- BrowseComp task, injected graph beliefs, and selected Kimi K3 thinking passages with graph references highlighted in red + BrowseComp task, injected graph beliefs, and selected Kimi K3 thinking passages with graph references highlighted in red

--- diff --git a/assert/architecture.svg b/assets/architecture.svg similarity index 100% rename from assert/architecture.svg rename to assets/architecture.svg diff --git a/assert/bcg_discard_qr_code.png b/assets/bcg_discard_qr_code.png similarity index 100% rename from assert/bcg_discard_qr_code.png rename to assets/bcg_discard_qr_code.png diff --git a/assert/bcg_qr_code.png b/assets/bcg_qr_code.png similarity index 100% rename from assert/bcg_qr_code.png rename to assets/bcg_qr_code.png diff --git a/assert/benchmark_browsecomp.svg b/assets/benchmark_browsecomp.svg similarity index 100% rename from assert/benchmark_browsecomp.svg rename to assets/benchmark_browsecomp.svg diff --git a/assert/benchmark_browsecomp_zh.svg b/assets/benchmark_browsecomp_zh.svg similarity index 100% rename from assert/benchmark_browsecomp_zh.svg rename to assets/benchmark_browsecomp_zh.svg diff --git a/assert/benchmark_overview.svg b/assets/benchmark_overview.svg similarity index 100% rename from assert/benchmark_overview.svg rename to assets/benchmark_overview.svg diff --git a/assert/benchmark_summary.svg b/assets/benchmark_summary.svg similarity index 100% rename from assert/benchmark_summary.svg rename to assets/benchmark_summary.svg diff --git a/assets/case_study.png b/assets/case_study.png new file mode 100644 index 00000000..3384ec09 Binary files /dev/null and b/assets/case_study.png differ diff --git a/assert/case_study.svg b/assets/case_study.svg similarity index 100% rename from assert/case_study.svg rename to assets/case_study.svg diff --git a/assert/token_cost.png b/assets/token_cost.png similarity index 100% rename from assert/token_cost.png rename to assets/token_cost.png diff --git a/assert/token_cost.svg b/assets/token_cost.svg similarity index 100% rename from assert/token_cost.svg rename to assets/token_cost.svg diff --git a/scripts/build-pages-site.sh b/scripts/build-pages-site.sh index e27a1900..6f2e0e70 100755 --- a/scripts/build-pages-site.sh +++ b/scripts/build-pages-site.sh @@ -14,9 +14,9 @@ cp "$ROOT_DIR/website/favicon.svg" "$OUTPUT_DIR/favicon.svg" cp "$ROOT_DIR/website/site.webmanifest" "$OUTPUT_DIR/site.webmanifest" cp "$ROOT_DIR/website/index.html" "$OUTPUT_DIR/404.html" -cp "$ROOT_DIR/assert/benchmark_overview.svg" "$OUTPUT_DIR/assets/benchmark-overview.svg" -cp "$ROOT_DIR/assert/architecture.svg" "$OUTPUT_DIR/assets/architecture.svg" -cp "$ROOT_DIR/assert/case_study.svg" "$OUTPUT_DIR/assets/case-study.svg" +cp "$ROOT_DIR/assets/benchmark_overview.svg" "$OUTPUT_DIR/assets/benchmark-overview.svg" +cp "$ROOT_DIR/assets/architecture.svg" "$OUTPUT_DIR/assets/architecture.svg" +cp "$ROOT_DIR/assets/case_study.svg" "$OUTPUT_DIR/assets/case-study.svg" : > "$OUTPUT_DIR/.nojekyll" diff --git a/scripts/plot_benchmark_overview.py b/scripts/plot_benchmark_overview.py index 5fb41bcf..dd1d376c 100644 --- a/scripts/plot_benchmark_overview.py +++ b/scripts/plot_benchmark_overview.py @@ -67,11 +67,11 @@ def compose(summary: Path, horizon: Path, output: Path) -> None: def main() -> None: parser = argparse.ArgumentParser() parser.add_argument( - "--summary", type=Path, default=Path("assert/benchmark_summary.svg") + "--summary", type=Path, default=Path("assets/benchmark_summary.svg") ) - parser.add_argument("--horizon", type=Path, default=Path("assert/token_cost.svg")) + parser.add_argument("--horizon", type=Path, default=Path("assets/token_cost.svg")) parser.add_argument( - "--output", type=Path, default=Path("assert/benchmark_overview.svg") + "--output", type=Path, default=Path("assets/benchmark_overview.svg") ) args = parser.parse_args() compose(args.summary, args.horizon, args.output) diff --git a/scripts/plot_benchmark_summary.py b/scripts/plot_benchmark_summary.py index 50802426..949f9fa2 100644 --- a/scripts/plot_benchmark_summary.py +++ b/scripts/plot_benchmark_summary.py @@ -280,7 +280,7 @@ def render_svg(output: Path) -> None: def main() -> None: parser = argparse.ArgumentParser() parser.add_argument( - "--output", type=Path, default=Path("assert/benchmark_summary.svg") + "--output", type=Path, default=Path("assets/benchmark_summary.svg") ) args = parser.parse_args() render_svg(args.output) diff --git a/scripts/plot_token_horizon.py b/scripts/plot_token_horizon.py index c75155cf..acf8cd49 100644 --- a/scripts/plot_token_horizon.py +++ b/scripts/plot_token_horizon.py @@ -375,7 +375,7 @@ def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser() parser.add_argument("--browsecomp-results", type=Path, required=True) parser.add_argument("--browsecomp-zh-results", type=Path, required=True) - parser.add_argument("--output", type=Path, default=Path("assert/token_cost.svg")) + parser.add_argument("--output", type=Path, default=Path("assets/token_cost.svg")) parser.add_argument("--horizon", type=int, default=22) return parser.parse_args()