Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(seo): localize zh-Hans homepage meta, add sitemap to robots.txt, improve descriptions

xf gong9521e58bc16d
diff --git a/website/docs/intro.mdx b/website/docs/intro.mdx
index ac9c146..c4940d4 100644
--- a/website/docs/intro.mdx
+++ b/website/docs/intro.mdx
@@ -1,6 +1,6 @@
---
id: intro
-title: CubePi
+title: "CubePi — Pythonic async-native agent framework"
description: "A Pythonic, async-native agent framework. Plain async functions, append-only checkpointing, three dependencies."
slug: /
sidebar_position: 0
diff --git a/website/docs/migration/from-langgraph.md b/website/docs/migration/from-langgraph.md
index 2214b18..d67abdb 100644
--- a/website/docs/migration/from-langgraph.md
+++ b/website/docs/migration/from-langgraph.md
@@ -1,6 +1,6 @@
---
title: From langgraph
-description: "Migrate your agents from LangGraph to CubePi."
+description: "Learn how to migrate your agents from LangGraph to CubePi — concept mapping, side-by-side code comparisons, and a step-by-step porting guide for the Pythonic async-native alternative."
---
# Migrating from langgraph
diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index 18e6eb6..ae65737 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -117,7 +117,7 @@ const config: Config = {
themeConfig: {
metadata: [
- { name: 'keywords', content: 'CubePi, langgraph alternative, pi-agent-core alternative, Python agent framework, async agent, LLM agent, AI agent framework, tool-use agent' },
+ { name: 'keywords', content: 'CubePi, langgraph alternative, pi-agent-core alternative, Python agent framework, async agent, LLM agent, AI agent framework, tool-use agent, Python Agent 框架, 异步 Agent, langgraph 替代品, AI Agent 开发' },
{ name: 'twitter:site', content: '@cubeplexai' },
{ name: 'twitter:creator', content: '@cubeplexai' },
],
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index 84ef87c..93d9600 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -6,11 +6,19 @@ import HelloAgent from '@site/src/components/Home/HelloAgent';
import FeatureGrid from '@site/src/components/Home/FeatureGrid';
import InstallMatrix from '@site/src/components/Home/InstallMatrix';
import MetaBar from '@site/src/components/Home/MetaBar';
+import { useIsZhHans } from '@site/src/hooks/useIsZhHans';
export default function Home(): JSX.Element {
+ const zh = useIsZhHans();
return (
- <Layout title="CubePi — a Pythonic langgraph and pi-agent-core alternative"
- description="CubePi is a Pythonic, async-native alternative to langgraph and pi-agent-core. Plain async functions, append-only checkpointing, 3 core dependencies.">
+ <Layout
+ title={zh
+ ? 'CubePi — Pythonic 异步原生 Agent 框架'
+ : 'CubePi — a Pythonic async-native agent framework'}
+ description={zh
+ ? 'CubePi 是 langgraph 和 pi-agent-core 的 Pythonic 异步原生替代方案。普通 async 函数、追加式持久化、3 个核心依赖。'
+ : 'CubePi is a Pythonic async-native agent framework — a leaner alternative to langgraph and pi-agent-core. Plain async functions, append-only checkpointing, 3 core dependencies.'}
+ >
<Hero />
<WhyTable />
<HelloAgent />
diff --git a/website/static/robots.txt b/website/static/robots.txt
index 7e646b8..ba3369d 100644
--- a/website/static/robots.txt
+++ b/website/static/robots.txt
@@ -2,3 +2,4 @@ User-agent: *
Allow: /
Sitemap: https://cubepi.ai/sitemap.xml
+Sitemap: https://cubepi.ai/zh-Hans/sitemap.xml
diff --git a/website/versioned_docs/version-0.6/intro.mdx b/website/versioned_docs/version-0.6/intro.mdx
index c5bf6eb..5dec730 100644
--- a/website/versioned_docs/version-0.6/intro.mdx
+++ b/website/versioned_docs/version-0.6/intro.mdx
@@ -1,6 +1,6 @@
---
id: intro
-title: CubePi
+title: "CubePi — Pythonic async-native agent framework"
description: "A Pythonic, async-native agent framework. Plain async functions, append-only checkpointing, three dependencies."
slug: /
sidebar_position: 0
diff --git a/website/versioned_docs/version-0.6/migration/from-langgraph.md b/website/versioned_docs/version-0.6/migration/from-langgraph.md
index 2214b18..d67abdb 100644
--- a/website/versioned_docs/version-0.6/migration/from-langgraph.md
+++ b/website/versioned_docs/version-0.6/migration/from-langgraph.md
@@ -1,6 +1,6 @@
---
title: From langgraph
-description: "Migrate your agents from LangGraph to CubePi."
+description: "Learn how to migrate your agents from LangGraph to CubePi — concept mapping, side-by-side code comparisons, and a step-by-step porting guide for the Pythonic async-native alternative."
---
# Migrating from langgraph