Skip to content

Add TypeScript tutorial for connecting Arcade to your LLM#814

Open
nearestnabors wants to merge 7 commits intomainfrom
add-typescript-llm-tutorial
Open

Add TypeScript tutorial for connecting Arcade to your LLM#814
nearestnabors wants to merge 7 commits intomainfrom
add-typescript-llm-tutorial

Conversation

@nearestnabors
Copy link
Contributor

Summary

  • Adds a new "Vanilla TypeScript" tutorial that teaches developers how to build a ReAct-style agentic loop with Arcade tools and OpenAI
  • Includes package manager tabs (npm, pnpm, yarn, bun) for installation commands
  • Adds the tutorial to the agent frameworks overview page (JavaScript tab)
  • Updates Python tutorial title to include "with Python" for clarity

Test plan

  • Preview the new TypeScript tutorial page at /en/get-started/agent-frameworks/setup-arcade-with-your-llm-typescript
  • Verify the "Vanilla TypeScript" card appears on the agent frameworks overview page under the JavaScript tab
  • Test code snippets locally to ensure they work

🤖 Generated with Claude Code

Adds a new "Vanilla TypeScript" tutorial that teaches developers how to:
- Set up a TypeScript project with Arcade and OpenAI SDKs
- Build a ReAct-style agentic loop (harness)
- Handle tool authorization and execution
- Process multi-turn conversations with tool calls

Also updates the Python tutorial title to include "with Python" for clarity.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 25, 2026 5:55pm

Request Review

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style Review

Found 3 style suggestion(s).

Powered by Vale + Claude

nearestnabors and others added 3 commits February 25, 2026 17:42
…-typescript/page.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…-typescript/page.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…-typescript/page.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

🔗 Missing Redirects Detected

This PR deletes markdown files that don't have corresponding redirects in next.config.ts.

When you delete a page, you must add a redirect to prevent broken links for users who have bookmarked the old URL.

📋 View Details
 WARN  Unsupported engine: wanted: {"node":"22.x"} (current: {"node":"v20.20.0","pnpm":"10.11.0"})

> arcade-docs@0.0.1 check-redirects /home/runner/work/docs/docs
> pnpm dlx tsx scripts/check-redirects.ts main

 ERR_PNPM_FETCH_403  GET https://registry.npmjs.org/tsx: Forbidden - 403

No authorization header was set for the request.

These authorization settings were found:
@jsr:registry=https://npm.jsr.io/
 ELIFECYCLE  Command failed with exit code 1.

How to fix

  1. Open next.config.ts
  2. Find the redirects() function
  3. Add redirect entries for each deleted file (see suggestions above)
  4. Push the changes

This check ensures we maintain URL stability for our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant