Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ const docLinks: DocSection[] = ['Get started', 'Concepts', 'Build agents', 'API
<ul>
<li><a href="/docs/project">About the project</a></li>
<li><a href={SITE.playground}>Playground</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/maintainers">Maintainers</a></li>
<li><a href={`${SITE.github}/issues`}>Issues</a></li>
<li><a href={SITE.github}>Star on GitHub</a></li>
{POLICIES.map((p) => <li><a href={p.href}>{p.label}</a></li>)}
</ul>
</nav>
Expand Down
4 changes: 4 additions & 0 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ const isCurrent = (href: string) => href.startsWith('/') && (path === href || pa
))}
</ul>
</nav>
<a class="star-btn" href={SITE.github} aria-label="Star 10xGraph on GitHub" title="Star 10xGraph on GitHub">
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg>
<span>Star</span>
</a>
<SearchDialog />
<ThemeToggle />
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/get-started/first-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ The `refund_order` tool moves money. If a run is interrupted and later resumed,

</Callout>

Your first agent is running. If 10xGraph saved you time, a [star on GitHub](https://github.com/10xGraph/10xGraph) helps other developers find it.

## Make it production ready

The server you just ran is open: no auth, in-memory state. Close the gap before anyone else can reach it.
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/get-started/tutorial/test-and-evaluate.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ Do not use evaluations to test wiring bugs: a failing case does not tell you whe
- `TestResult` assertions are chainable, and `TestContext` isolates each test.
- An `EvalSet` of `EvalCase` objects plus an `EvalConfig` describes an evaluation, and `10xgraph eval` runs it against your real graph and writes reports.

You have a tested, evaluated agent. If 10xGraph saved you time, a [star on GitHub](https://github.com/10xGraph/10xGraph) helps other developers find it.

## Next steps

You have finished the tutorial track. Continue with:
Expand Down
1 change: 0 additions & 1 deletion src/lib/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const NAV = [
{ label: 'Docs', href: '/docs' },
{ label: 'Docs map', href: '/docs/map', wideOnly: true },
{ label: 'Blog', href: '/blog' },
{ label: 'GitHub', href: SITE.github },
] as const;

// Blog categories. Every post has exactly one `kind`; each kind with posts gets /blog/kind/<kind>.
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const jsonLd = [
<a class="btn btn-primary" href="/docs/get-started/first-agent">Build your first app <svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9M8.5 4.5L12 8l-3.5 3.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<button class="pill" type="button" data-copy="pip install 10xgraph 10xgraph-api"><span class="prompt" aria-hidden="true">$</span><code>pip install 10xgraph 10xgraph-api</code><span class="cp" aria-live="polite">Copy</span></button>
</div>
<a class="link star" href="https://github.com/10xGraph/10xGraph">Star on GitHub</a>
<a class="link star" href="https://github.com/10xGraph/10xGraph"><svg width="15" height="15" viewBox="0 0 16 16" aria-hidden="true" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg>Star on GitHub · MIT, self-hosted</a>
</div>

<div class="stage" id="stage" role="region" aria-label="Animation: your code unfolds into a running AI infrastructure">
Expand Down
11 changes: 8 additions & 3 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ code, pre { font-family: var(--f-mono); }
.version-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 0.72rem var(--f-mono); color: var(--muted); text-decoration: none; }
.version-pill:hover { color: var(--text); border-color: var(--accent-line); }
@media (max-width: 640px) { .version-pill { display: none; } }
.star-btn { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 0.72rem var(--f-mono); color: var(--muted); text-decoration: none; transition: color .18s, border-color .18s; }
.star-btn::after { content: ''; position: absolute; inset: -7px -4px; }
.star-btn:hover { color: var(--text); border-color: var(--accent-line); }
.star-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; color: var(--text); }
@media (max-width: 480px) { .star-btn { width: 28px; padding: 0; justify-content: center; } .star-btn span { display: none; } .star-btn::after { inset: -7px; } }
.wordmark { font: 700 1.3rem var(--f-display); letter-spacing: -0.04em; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.32em; }
.wordmark-mark { flex: none; width: 1.05em; height: 1.05em; }
.site-header nav { margin-left: auto; }
Expand All @@ -119,10 +124,10 @@ code, pre { font-family: var(--f-mono); }
.site-header nav a { padding: 0 8px; font-size: 0.88rem; }
.search-trigger, .theme-toggle { flex: none; }
}
/* Phones: GitHub stays in the footer, so the header keeps room for search and the theme toggle. */
@media (max-width: 1023.98px) { .site-header nav li.nav-wide { display: none; } }
@media (max-width: 480px) { .site-header nav li:last-child { display: none; } }
@media (max-width: 360px) { .site-header nav a { padding: 0 6px; } .wordmark span { display: none; } }
/* Phones: Blog stays in the footer, so the header keeps room for Star, search and the theme toggle. */
@media (max-width: 480px) { .site-header nav li:last-child { display: none; } .header-row { gap: 4px; } .site-header nav a { padding: 0 6px; font-size: 0.84rem; } }
@media (max-width: 360px) { .site-header nav a { padding: 0 5px; } .wordmark span { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 600 1rem var(--f-body); text-decoration: none; }
Expand Down
2 changes: 1 addition & 1 deletion src/styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ html:has(.home) { scroll-behavior: smooth; }
}
.home .hero .sub{margin:26px 0 0;max-width:33em;color:var(--sub);font-size:clamp(1rem,1.25vw,1.1rem);line-height:1.68}
.home .hero .cta-row{margin-top:32px}
.home .hero .star{margin-top:10px}
.home .hero .star{margin-top:10px;gap:8px}
.home .provider{position:relative;margin-top:clamp(36px,5vw,64px);padding-top:18px;border-top:1px solid var(--line);font-size:.92rem;color:var(--faint);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}
@media (max-width:1020px){
.home .hero-grid{grid-template-columns:minmax(0,1fr)}
Expand Down
Loading