chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:06:23 +08:00
commit ea5096c873
282 changed files with 55366 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
import React from "react";
import { FaSlack, FaDiscord, FaGithub } from "react-icons/fa";
import Translate from '@docusaurus/Translate';
import "../css/footer.css";
function CustomFooter() {
return (
<footer className="custom-footer">
<div className="footer-content">
<div className="footer-icons">
<a href="https://join.slack.com/t/metachain-workspace/shared_invite/zt-2zibtmutw-v7xOJObBf9jE2w3x7nctFQ" target="_blank" rel="noopener noreferrer">
<FaSlack />
</a>
<a href="https://discord.gg/jQJdXyDB" target="_blank" rel="noopener noreferrer">
<FaDiscord />
</a>
<a href="https://github.com/HKUDS/AutoAgent" target="_blank" rel="noopener noreferrer">
<FaGithub />
</a>
</div>
<div className="footer-bottom">
<p>
<Translate id="footer.copyright" values={{ year: new Date().getFullYear() }}>
{'Copyright © {year} HKU AutoAgent Team'}
</Translate>
</p>
</div>
</div>
</footer>
);
}
export default CustomFooter;
+25
View File
@@ -0,0 +1,25 @@
import React from "react";
import styles from "./index.module.css";
export function Demo() {
const videoRef = React.useRef<HTMLVideoElement>(null);
return (
<div
style={{ paddingBottom: "10px", paddingTop: "10px", textAlign: "center" }}
>
<video
playsInline
autoPlay={true}
loop
className={styles.demo}
muted
onMouseOver={() => (videoRef.current.controls = true)}
onMouseOut={() => (videoRef.current.controls = false)}
ref={videoRef}
>
<source src="img/video_v1_compressed.mp4" type="video/mp4"></source>
</video>
</div>
);
}
@@ -0,0 +1,7 @@
.demo {
width: 100%;
padding: 30px;
max-width: 800px;
text-align: center;
border-radius: 40px;
}
+38
View File
@@ -0,0 +1,38 @@
.footer {
padding: 2rem 0;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
text-align: center;
}
.copyright {
color: var(--ifm-color-emphasis-600);
font-size: 0.9rem;
}
.social-icons {
display: flex;
align-items: center;
gap: 0.5rem;
}
.social-icons img {
width: 20px;
height: 20px;
opacity: 0.6;
transition: opacity 0.2s ease;
}
.social-icons img:hover {
opacity: 1;
}
@media screen and (max-width: 768px) {
.copyright {
font-size: 0.8rem;
}
}
+14
View File
@@ -0,0 +1,14 @@
import React from 'react';
import './Footer.css';
export function Footer() {
return (
<footer className="footer">
<div className="footer-content">
<div className="copyright">
Copyright © 2025 AutoAgent Team
</div>
</div>
</footer>
);
}
@@ -0,0 +1,58 @@
import React from 'react';
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Heading from "@theme/Heading";
import { KeyFeatures } from "../KeyFeatures/KeyFeatures";
import Translate from '@docusaurus/Translate';
import "../../css/homepageHeader.css";
import { Demo } from "../Demo/Demo";
export function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<div className="homepage-header">
<div className="header-content">
<Heading as="h1" className="header-title">
{siteConfig.title}
</Heading>
<p className="header-subtitle">{siteConfig.tagline}</p>
<div className="social-links">
<div className="link-row">
<a href="https://github.com/HKUDS/AutoAgent" className="link-button project">
<span className="icon">💻</span>
<span className="text">CODE</span>
<span className="highlight">PAGE</span>
</a>
<a href="https://join.slack.com/t/metachain-workspace/shared_invite/zt-2zibtmutw-v7xOJObBf9jE2w3x7nctFQ" className="link-button slack">
<span className="icon">💬</span>
<span className="text">SLACK</span>
<span className="highlight">JOIN US</span>
</a>
<a href="https://discord.gg/jQJdXyDB" className="link-button discord">
<span className="icon">🎮</span>
<span className="text">DISCORD</span>
<span className="highlight">JOIN US</span>
</a>
</div>
<div className="link-row">
<a href="https://autoagent-ai.github.io/docs" className="link-button docs">
<span className="icon">📚</span>
<span className="text">DOCUMENTATION</span>
</a>
<a href="https://arxiv.org/abs/2502.05957" className="link-button paper">
<span className="icon">📄</span>
<span className="text">PAPER ON ARXIV</span>
</a>
<a href="https://gaia-benchmark-leaderboard.hf.space/" className="link-button benchmark">
<span className="icon">📊</span>
<span className="text">GAIA BENCHMARK</span>
</a>
</div>
</div>
<Demo />
<KeyFeatures/>
</div>
</div>
);
}
@@ -0,0 +1,134 @@
.intro-image {
width: 100%;
max-width: 1200px;
margin: 0 auto 1.5rem;
text-align: center;
padding: 0;
border-radius: 12px;
background: none;
box-shadow: none;
}
.intro-image img {
width: 100%;
height: auto;
display: block;
filter: none !important;
-webkit-filter: none !important;
}
.key-features {
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
margin-bottom: 4rem;
}
.features-title {
text-align: left;
font-size: 1.8rem;
margin-bottom: 2.5rem;
color: var(--ifm-color-primary);
display: flex;
align-items: center;
gap: 0.5rem;
}
.features-title::before {
content: '✨';
font-size: 1.6rem;
}
.features-list {
list-style: none;
padding: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.features-list li {
background: var(--ifm-background-surface-color);
border-radius: 24px;
padding: 2.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02),
0 8px 24px rgba(0, 0, 0, 0.04);
border: 1px solid rgba(0, 0, 0, 0.05);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
height: 100%;
position: relative;
overflow: hidden;
text-align: left;
backdrop-filter: blur(8px);
}
.features-list li:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04),
0 12px 32px rgba(0, 0, 0, 0.08);
border-color: var(--ifm-color-primary-lightest);
}
.feature-icon {
font-size: 3rem;
display: block;
margin-bottom: 2rem;
}
.feature-content {
flex: 1;
display: flex;
flex-direction: column;
}
.feature-content strong {
display: block;
font-size: 1.2rem;
margin-bottom: 1rem;
color: var(--ifm-font-color-base);
line-height: 1.3;
font-weight: 600;
}
.feature-content p {
margin: 0;
line-height: 1.6;
color: var(--ifm-color-emphasis-700);
font-size: 0.95rem;
}
.feature-content .highlight {
color: var(--ifm-color-primary);
font-weight: 600;
}
@media (max-width: 996px) {
.features-list {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.features-list {
grid-template-columns: 1fr;
}
.features-list li {
padding: 2rem;
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}
.feature-content strong {
font-size: 1.1rem;
}
.feature-content p {
font-size: 0.9rem;
}
}
@@ -0,0 +1,74 @@
import React from 'react';
import './KeyFeatures.css';
export function KeyFeatures() {
return (
<div className="key-features">
{/* <div className="intro-image">
<img src="/img/autoagent-intro.svg" alt="AutoAgent Introduction" />
</div> */}
<h2 className="features-title">Key Features</h2>
<ul className="features-list">
<li>
<span className="feature-icon">🏆</span>
<div className="feature-content">
<strong>Top Performer on the GAIA Benchmark</strong>
<p>
AutoAgent has ranked the <span className="highlight">#1</span> spot among open-sourced methods, delivering comparable performance to <span className="highlight">OpenAI's Deep Research</span>.
</p>
</div>
</li>
<li>
<span className="feature-icon">📚</span>
<div className="feature-content">
<strong>Agentic-RAG with Native Self-Managing Vector Database</strong>
<p>
AutoAgent equipped with a native self-managing vector database, outperforms industry-leading solutions like <span className="highlight">LangChain</span>.
</p>
</div>
</li>
<li>
<span className="feature-icon"></span>
<div className="feature-content">
<strong>Agent and Workflow Create with Ease</strong>
<p>
AutoAgent leverages natural language to effortlessly build ready-to-use <span className="highlight">tools</span>, <span className="highlight">agents</span> and <span className="highlight">workflows</span> - no coding required.
</p>
</div>
</li>
<li>
<span className="feature-icon">🌐</span>
<div className="feature-content">
<strong>Universal LLM Support</strong>
<p>
AutoAgent seamlessly integrates with <span className="highlight">A Wide Range</span> of LLMs (OpenAI, Anthropic, Deepseek, vLLM, Grok, Huggingface).
</p>
</div>
</li>
<li>
<span className="feature-icon">🔀</span>
<div className="feature-content">
<strong>Flexible Interaction</strong>
<p>
Benefit from support for both <span className="highlight">function-calling</span> and <span className="highlight">ReAct</span> interaction modes.
</p>
</div>
</li>
<li>
<span className="feature-icon">🤖</span>
<div className="feature-content">
<strong>Dynamic, Extensible, Lightweight</strong>
<p>
AutoAgent is your <span className="highlight">Personal AI Assistant</span>, designed to be dynamic, extensible, customized, and lightweight.
</p>
</div>
</li>
</ul>
</div>
);
}
+33
View File
@@ -0,0 +1,33 @@
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-code-font-size: 95%;
--ifm-color-primary: #000;
--ifm-background-color: #F1EAE0;
--ifm-navbar-background-color: #F1EAE0;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--secondary: #171717;
--secondary-dark: #0a0a0a;
--secondary-light: #737373;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
--ifm-color-primary: #FFF;
--ifm-background-color: #000;
--ifm-navbar-background-color: #000;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--secondary: #737373;
--secondary-dark: #171717;
--secondary-light: #ccc;
}
article a, .a {
text-decoration: underline;
}
+72
View File
@@ -0,0 +1,72 @@
/* customFooter.css */
.custom-footer {
background-color: dark;
color: #000;
height: 100px;
/* background: linear-gradient(to bottom, #1a1a1a, #1a1a1a); */
background-color: #F1EAE0;
}
[data-theme="dark"] .custom-footer {
background-color: #000;
color: #fff;
}
.footer-content {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 8px;
height: 100%;
}
.footer-top {
display: flex;
gap: 8px;
align-items: center;
}
.footer-title {
font-weight: bold;
font-size: 1.125rem;
}
@media (min-width: 768px) {
.footer-title {
font-size: 1.875rem;
}
}
.footer-link a {
font-size: 0.875rem;
text-decoration: none;
color: gray;
transition: color 0.3s ease;
}
.footer-link a:hover {
color: white;
}
.footer-community {
font-weight: 300;
}
.footer-icons {
display: flex;
gap: 24px;
font-size: 1.875rem;
}
.footer-icons a {
color:gray;
transition: color 0.3s ease;
}
.footer-icons a:hover {
color: white;
}
+175
View File
@@ -0,0 +1,175 @@
/* homepageHeader.css */
.homepage-header {
padding: 3rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
.header-content {
margin: 0 auto;
max-width: 1200px;
padding: 0 1rem;
}
.header-title {
font-size: 4.5rem;
margin-bottom: 1rem;
font-weight: 800;
background: linear-gradient(to right, #E74C3C, #FFA500);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: -0.02em;
}
.header-subtitle {
font-size: 1.6rem;
margin-bottom: 2rem;
color: var(--ifm-color-emphasis-700);
font-weight: 400;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.header-links {
margin-top: 4rem;
padding: 2rem;
background: var(--ifm-background-surface-color);
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.header-links a {
display: inline-block;
margin: 0.5rem;
}
.header-links hr {
margin: 2rem 0;
border: 0;
border-top: 1px solid var(--ifm-color-emphasis-300);
width: 100%;
}
.social-links {
margin: 1.5rem 0 3rem;
padding: 1.5rem;
text-align: center;
}
.social-links a {
display: inline-block;
margin: 0.5rem;
transition: transform 0.2s ease;
text-decoration: none;
}
.social-links a:hover {
transform: translateY(-2px);
}
.social-links img {
height: 36px;
filter: var(--ifm-social-links-filter);
}
[data-theme='dark'] .social-links img {
filter: invert(1);
}
.link-row {
display: flex;
justify-content: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
flex-wrap: wrap;
}
.link-button {
display: inline-flex;
align-items: center;
padding: 0.5rem 1rem;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid var(--ifm-color-emphasis-200);
background: var(--ifm-background-surface-color);
color: var(--ifm-color-emphasis-700);
}
.link-button:hover {
transform: translateY(-2px);
text-decoration: none;
background: var(--ifm-color-emphasis-100);
color: var(--ifm-color-emphasis-800);
}
.link-button .icon {
font-size: 1.2rem;
margin-right: 0.5rem;
}
.link-button .text {
font-size: 0.9rem;
letter-spacing: 0.5px;
}
.link-button .highlight {
margin-left: 0.5rem;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-size: 0.8rem;
background: var(--ifm-color-primary);
color: white;
}
.project .highlight {
background: #FFE165;
color: #000;
}
.slack .highlight {
background: #E01E5A;
}
.discord .highlight {
background: #5865F2;
}
@media screen and (max-width: 768px) {
.header-title {
font-size: 3rem;
}
.header-subtitle {
font-size: 1.2rem;
}
.header-links {
padding: 1rem;
}
.social-links {
padding: 1rem;
}
.link-row {
gap: 0.5rem;
}
.link-button {
padding: 0.4rem 0.8rem;
}
.link-button .icon {
font-size: 1rem;
}
.link-button .text {
font-size: 0.8rem;
}
}
+6
View File
@@ -0,0 +1,6 @@
import React from 'react';
import CustomFooter from '../components/CustomFooter';
export default function Footer() {
return <CustomFooter />;
}
+20
View File
@@ -0,0 +1,20 @@
import React from 'react';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import { HomepageHeader } from '../components/HomepageHeader/HomepageHeader';
import { translate } from '@docusaurus/Translate';
export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`${siteConfig.title}`}
description={translate({
id: 'homepage.description',
message: 'Code Less, Make More',
})}
>
<HomepageHeader />
</Layout>
);
}
+12
View File
@@ -0,0 +1,12 @@
import React from 'react';
import OriginalLayout from '@theme-original/Layout';
import Footer from '@site/src/pages/_footer';
export default function Layout(props) {
return (
<>
<OriginalLayout {...props} />
<Footer />
</>
);
}