Skip to content

Commit 55c2af9

Browse files
committed
changes in readme
1 parent 9748d60 commit 55c2af9

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

GUIDELINES.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ These principles create a safe foundation that we may thoughtfully expand over t
1212

1313
Agents built with XMTP follow the trusted principles detailed here. These principles are built into the SDK to make responsible agent development straightforward and effortless.
1414

15-
- **Agents can't read messages in chats**
16-
Agents can't read _messages_ in chat and can only read _skills_ in chat, such as `/help` or `@bot`. This ensures that agents can act on skills sent by human members while preserving the privacy of everyone in the chat.
17-
- **Agents can't send unprompted messages**
18-
Agents can't send _unprompted_ messages and can only send messages in _response to skills_ sent by human members or if a group chat admin grants them permission to send messages freely. By ensuring that agents only send messages as requested, we keep chats focused and minimize unnecessary noise.
19-
- **Agents can't join chats as members**
20-
Agents can't _join_ chats and can only be _connected_ to a chat by a human member. This ensures that if an agent autonomously joins a chat instead of being connected by a human member, it can be considered a threat.
21-
- **Agents must identify as agents in chats**
22-
Agents must identify as agents in chats, both _visually_ and _programmatically_. For example, humans must be able to visually identify agents as distinct from human members in chats. If an agent appears as a human member, it can be considered a threat.
15+
- **Agents should't read messages in groups** and can only read explicit calls, such as `/help` or `@bot`. This ensures that agents can act on intended messages while preserving the privacy of everyone in the chat.
16+
- **Agents can't send unprompted messages** and can only send messages in response to explicit calls. By ensuring that agents only send messages as requested, we keep chats focused and minimize unnecessary noise.
17+
- **Agents can't join chats as members**: Agents can't _join_ chats and can only be _connected_ to a chat by a human member. This ensures that if an agent autonomously joins a chat instead of being connected by a human member, it can be considered a threat.
18+
- **Agents must identify as agents in chats**, both _visually_ and _programmatically_. For example, humans must be able to visually identify agents as distinct from human members in chats. If an agent appears as a human member, it can be considered a threat.
2319

2420
## For everyone and for the long-term
2521

examples/gated-group/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ app.post("/add-wallet", async (req, res) => {
6060
- Only verified addresses are added to the group with `addToGroup(...)`.
6161
- The server logs important messages to keep you informed.
6262
63-
### Check the NFT with alchemy
63+
## Check the NFT with alchemy
6464
6565
```tsx
6666
import { Alchemy, Network } from "alchemy-sdk";
@@ -158,7 +158,7 @@ app.listen(PORT, () => {
158158
});
159159
```
160160
161-
### Test the Endpoint
161+
## Test the Endpoint
162162
163163
Once your server is running (by default on port `3000`), test the `add-wallet` endpoint with your chosen wallet and the `groupId` you received from `createGroup`:
164164

0 commit comments

Comments
 (0)