Skip to content

Commit 1e586ac

Browse files
authored
chore: update readme (#215)
1 parent 126f374 commit 1e586ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Open the Blink web UI in your browser and create your first agent. Alternatively
4141

4242
## What's a Blink agent?
4343

44-
This is a minimal, functional Blink agent:
44+
Agents are HTTP servers that respond to events. The Blink Server deploys them as Docker containers, routes messages from Slack/GitHub/web UI, and manages conversation state - your agent just defines how to respond.
4545

4646
```typescript
4747
import { convertToModelMessages, streamText } from "ai";
@@ -60,7 +60,7 @@ agent.on("chat", async ({ messages }) => {
6060
agent.serve();
6161
```
6262

63-
Whenever the user sends a message, the agent will use the `on("chat")` event handler to respond.
63+
The `on("chat")` handler processes incoming messages. For tool calls, the server automatically loops back to your agent until the response is complete.
6464

6565
For a closer look at Blink agents, visit [blink.coder.com/docs](https://blink.coder.com/docs).
6666

0 commit comments

Comments
 (0)