Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit bba4c12

Browse files
V1 docs (#329)
* Add v1 docs * Fix context object usage * Add (initial) training modules and examples * Add some marketing terms * Add remaining Training docs * Update Training docs structure * Fix dev training docs structure * Update code block highlighting * Tweaks * Clarify context naming in routes vs agents * Update docs structure * Add version picker * Update version tabs, fix sidebar spacing * Reorder Agents docs * Set v0 as current, update CLI commands - Flip version picker: v0 is "Current", v1 is "Preview" - Replace deprecation banner with preview banner - Update install/quickstart to use agentuity CLI - Remove TODOs and archived content * Add remaining "Build" docs * Add Reference (CLI) pages * Update sidebar page names * Tweaks - Add Cookbook section with tutorials and patterns - Update message in preview banner - Align logo on sidebar * Restructure Routes and APIs pages - Update naming to Routes/ with expanded content - Add more accurate callouts to route pages - Add middleware sections to email, SSE, WebSocket docs - Consolidate API pages (content moved to Routes) - Fix cross-referenced links throughout * Fix internal links in Routes docs * Add @agentuity/schema examples * Tweaks * Add Bun S3/SQL storage pages, restructure CLI reference * Fix v1 links * Tweaks * Update to latest SDK * Update wrangler.jsonc Signed-off-by: Matthew Congrove <mcongrove@agentuity.com> * Show v1 preview first * Fix install instructions, shorten migration guide * Sync docs with v1 SDK, add Bun docs links - Clean up pages, sidebar - Point migration guide to Cookbook instead * Fix state management docs * Fix React hooks docs - Update invoke signature - Add missing return values * Refine alpha docs * Add more templates, web app links * Fix agent file structure docs * Add warnings for email/SMS (WIP) * Clarify templates, email docs * Clarify "get started" pages * Fix agent file structure * Tweaks * SDK Reference rename + context access callouts * Remove AgentContext imports (types now inferred), reduce callouts * Tweak CLI overview page * Add build config and Tailwind setup docs * Add tutorials and workbench docs, update CLI reference * Cookbook fixes and AGENTUITY_PUBLIC_* docs - Fix route patterns and imports in examples - Styling/consistency tweaks - Add Summary table to rag-agent.mdx - Add AGENTUITY_PUBLIC_* tip to build-configuration.mdx * Fix evals docs * Add authentication docs * Add Vite docs * Tweaks * Clarify session and threads * Add RPC client docs, update auth and CLI pages * Fix useAPI import, add auth callout * Update middleware patterns * Enhance async state management in agents * Fix auth middleware signature, remove old auth integrations * Add access patterns tables for Agentuity APIs * Update evals docs, add sandbox API docs * Add standalone validator and direct SDK access docs - Document standalone validator() for routes without agents - Rewrite server-utilities to show direct SDK storage access pattern * Add cross-ref links, route callouts * Remove v0 docs, migrate to v1 * Tweaks --------- Signed-off-by: Matthew Congrove <mcongrove@agentuity.com> Co-authored-by: parteeksingh24 <parteek.singh24@gmail.com>
1 parent 5f52845 commit bba4c12

274 files changed

Lines changed: 22246 additions & 16275 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Agent Configuration
22
AGENT_BASE_URL=http://127.0.0.1:3500
3+
AGENT_BEARER_TOKEN=
34

45
# KV-store is hitting Agentuity Service API, this can be found in `agent-docs` after running `agentuity dev`
56
AGENTUITY_API_KEY=

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ next-env.d.ts
3434

3535
# this is generated by the build process
3636
content/docs.json
37+
public/**/*.md
38+
39+
# Claude Code
40+
.claude/
41+
claude/
42+
CLAUDE.md

agent-docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Run your project in development mode with:
5252
agentuity dev
5353
```
5454

55-
This will start your project and open a new browser window connecting your agent to the Agentuity Console in DevMode, allowing you to test and debug your agent in real-time.
55+
This will start your project and open a new browser window connecting your agent to the Agentuity App in DevMode, allowing you to test and debug your agent in real-time.
5656

5757
## 🌐 Deployment
5858

agent-docs/src/agents/agent-pulse/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default async function Agent(
9494
];
9595

9696
let tools: any;
97-
let systemPrompt: string = "";
97+
let systemPrompt = "";
9898
// Direct LLM access won't require any tools or system prompt
9999
if (!parsedRequest.useDirectLLM) {
100100
// Create tools with state context

agent-docs/src/agents/agent-pulse/request/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ export function parseAgentRequest(
66
ctx: AgentContext
77
): ParsedAgentRequest {
88
try {
9-
let message: string = "";
9+
let message = "";
1010
let conversationHistory: any[] = [];
11-
let tutorialData: any = undefined;
11+
let tutorialData: any ;
1212
let useDirectLLM = false;
1313

1414
if (jsonData && typeof jsonData === "object" && !Array.isArray(jsonData)) {

agent-docs/src/agents/agent-pulse/state/manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ export async function handleTutorialState(
3939
state.clearAction();
4040
ctx.logger.info("Tutorial state processed successfully");
4141
return tutorialData;
42-
} else {
42+
}
4343
// Handle API errors gracefully
4444
ctx.logger.error("Failed to fetch tutorial step: %s", tutorialStep.error || 'Unknown error');
4545
if (tutorialStep.details) {
4646
ctx.logger.error("Error details: %s", JSON.stringify(tutorialStep.details));
4747
}
48-
}
4948
}
5049
break;
5150
default:

agent-docs/src/agents/agent-pulse/streaming/processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function createStreamingProcessor(
1111
return new ReadableStream({
1212
async start(controller) {
1313
const encoder = new TextEncoder();
14-
let accumulatedContent = "";
14+
const accumulatedContent = "";
1515

1616
try {
1717
// Stream only safe, user-facing content

agent-docs/src/agents/agent-pulse/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function createTools(context: ToolContext) {
3333
// Validate tutorial exists before starting
3434
const tutorialResponse = await getTutorialMeta(tutorialId, agentContext);
3535
if (!tutorialResponse.success || !tutorialResponse.data) {
36-
return `Error fetching tutorial information`;
36+
return 'Error fetching tutorial information';
3737
}
3838

3939
const data = tutorialResponse.data

app/(docs)/[[...slug]]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { CLICommand } from '@/components/CLICommand';
1212
import { CodeExample } from '@/components/CodeExample';
1313
import { Mermaid } from '@/components/Mermaid';
1414
import { Sparkle } from '@/components/Sparkle';
15+
import { Tag } from '@/components/Tag';
1516
import { ThemeImage } from '@/components/ThemeImage';
1617
import { TypingAnimation } from '@/components/TypingAnimation';
1718
import { XButton } from '@/components/XButton';
@@ -44,7 +45,7 @@ export default async function Page(props: {
4445
path: `content/${page.file.path}`,
4546
}}
4647
>
47-
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 sm:gap-0 mb-4">
48+
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 sm:gap-0">
4849
<DocsTitle className="mb-0">{page.data.title}</DocsTitle>
4950
<div className="hidden sm:flex justify-end">
5051
<CopyPageDropdown enhanced={true} />
@@ -67,6 +68,7 @@ export default async function Page(props: {
6768
Sparkle,
6869
Tab,
6970
Tabs,
71+
Tag,
7072
ThemeImage,
7173
TutorialStep,
7274
TypingAnimation,

app/(docs)/layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type { ReactNode } from 'react';
44
import { baseOptions } from '@/app/layout.config';
55
import { source } from '@/lib/source';
66
import AISearchToggle from '../../components/AISearchToggle';
7+
import { SidebarFooter } from '../../components/SidebarFooter';
78

89
export default function Layout({ children }: { children: ReactNode }) {
910
return (
@@ -20,6 +21,11 @@ export default function Layout({ children }: { children: ReactNode }) {
2021
),
2122
},
2223
}}
24+
sidebar={{
25+
tabs: false,
26+
// banner: <SidebarBanner />,
27+
footer: <SidebarFooter />
28+
}}
2329
>
2430
{children}
2531
</DocsLayout>

0 commit comments

Comments
 (0)