-> docs.convex.dev/agents
Odd coincidence that there's ~2300 lines of documentation & ~2300 lines of example code 🤔
...maybe more surprising there's fewer lines of React?
@convex-dev/agent
-> docs.convex.dev/agents
Odd coincidence that there's ~2300 lines of documentation & ~2300 lines of example code 🤔
...maybe more surprising there's fewer lines of React?
@convex-dev/agent
const { status } = useRateLimit(api.rl.getRateLimit)
Full code in 🧵
Algorithms:
Sending messages: fixed window
Token usage: token bucket
courtesy of
@convex-dev/rate-limiter + @convex-dev/agent
(components)
const { status } = useRateLimit(api.rl.getRateLimit)
Full code in 🧵
Algorithms:
Sending messages: fixed window
Token usage: token bucket
courtesy of
@convex-dev/rate-limiter + @convex-dev/agent
(components)
• Agentic := prompting + routing
• Prompting is input -> LLM -> output
• Routing has code at every boundary
(...even if an LLM "decides" what to do next)
Full 📺🔗->🧵
• Agentic := prompting + routing
• Prompting is input -> LLM -> output
• Routing has code at every boundary
(...even if an LLM "decides" what to do next)
Full 📺🔗->🧵
Agent v0.2.1 is out! Repo & release notes in 🧵
- Streaming text react hook + server fns
- Client-side smoothing hook
- Optimistic update helpers
Agent v0.2.1 is out! Repo & release notes in 🧵
- Streaming text react hook + server fns
- Client-side smoothing hook
- Optimistic update helpers
Investigate threads, messages, tool calls
Dial in context params
Iterate on prompting, etc.
For the @convex-dev/agent component.
Links in 🧵
Investigate threads, messages, tool calls
Dial in context params
Iterate on prompting, etc.
For the @convex-dev/agent component.
Links in 🧵
It's open source and the code is remarkably simple, if you're looking for an example for yourself.
It's open source and the code is remarkably simple, if you're looking for an example for yourself.
I reimplemented Mastra workflows in Convex last week and I regret it. Article in 🧵
I reimplemented Mastra workflows in Convex last week and I regret it. Article in 🧵
This one is me when I'm too deep in a project that's gone off the rails, complete with alt text.
Should I ship it or make a "better" version to make it "more professional"?
This one is me when I'm too deep in a project that's gone off the rails, complete with alt text.
Should I ship it or make a "better" version to make it "more professional"?
Maybe they should also know better :P
Maybe they should also know better :P
Details in 🧵, but tl;dr:
1️⃣ Isolate unreliable steps to safely retry
2️⃣ Model LLMs as ~idempotent & ~deterministic
3️⃣ Run asynchronously, subscribe to results
Bonus: I made a thing
Details in 🧵, but tl;dr:
1️⃣ Isolate unreliable steps to safely retry
2️⃣ Model LLMs as ~idempotent & ~deterministic
3️⃣ Run asynchronously, subscribe to results
Bonus: I made a thing
with @convex.dev so I made a demo last night.
- realtime syncing flow chart
- authorize reads and writes
- validation of custom data payloads
- optimistic updates for UX 🧑🍳💋
I'm proud of it, and thanks Tiago for the help!
github.com/ianmacartney...
with @convex.dev so I made a demo last night.
- realtime syncing flow chart
- authorize reads and writes
- validation of custom data payloads
- optimistic updates for UX 🧑🍳💋
I'm proud of it, and thanks Tiago for the help!
github.com/ianmacartney...
What deserves my attention?
What deserves my attention?
Drag your files onto the site
Drag them off on another computer
git clone github.com/mikecann/our...
cd ourfiles/
docker compose up
open localhost:5173
by
@mikeysee
video in 🧵
Drag your files onto the site
Drag them off on another computer
git clone github.com/mikecann/our...
cd ourfiles/
docker compose up
open localhost:5173
by
@mikeysee
video in 🧵
including running the dashboard.
npx degit get-convex/convex-backend/self-hosted/fly fly && cd fly/backend && fly launch
Dockerfiles, images, binaries @flydotio and more.
Check it out 🧵
including running the dashboard.
npx degit get-convex/convex-backend/self-hosted/fly fly && cd fly/backend && fly launch
Dockerfiles, images, binaries @flydotio and more.
Check it out 🧵
Server-side document editing, w/o clobbering user changes
You can access & transform a document, but the really cool thing is that you provide a callback to rebase your transform on the latest version.
Server-side document editing, w/o clobbering user changes
You can access & transform a document, but the really cool thing is that you provide a callback to rebase your transform on the latest version.
📝 Now supports syncing *BlockNote* & @tiptap.dev
🦾 Server-side editing of documents is now easier & documented, for those of you using AI thingies
📝 Now supports syncing *BlockNote* & @tiptap.dev
🦾 Server-side editing of documents is now easier & documented, for those of you using AI thingies