You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: GUIDELINES.md
+4-8
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,10 @@ These principles create a safe foundation that we may thoughtfully expand over t
12
12
13
13
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.
14
14
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.
- Only verified addresses are added to the group with `addToGroup(...)`.
61
61
- The server logs important messages to keep you informed.
62
62
63
-
### Check the NFT with alchemy
63
+
## Check the NFT with alchemy
64
64
65
65
```tsx
66
66
import { Alchemy, Network } from"alchemy-sdk";
@@ -158,7 +158,7 @@ app.listen(PORT, () => {
158
158
});
159
159
```
160
160
161
-
### Test the Endpoint
161
+
## Test the Endpoint
162
162
163
163
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`:
0 commit comments