# Build on Slaiky

> Bring a bot, a script or an AI into a team’s conversation. Slaiky tells your code what happened; your code answers.

Source: https://slaiky.xyz/docs

Socket Mode in one exchange: Slaiky sends your app an envelope; your app acknowledges it, then answers with a Web API call.

1. Slaiky → your app: `{ "t": "app.envelope", "d": { "envelopeId": "…", "type": "events_api", "payload": { "type": "event_callback", "event": { "type": "app_mention", … } }, "retryAttempt": 0 } }`
2. Your app → Slaiky: `{ "t": "app.ack", "d": { "envelopeId": "…" } }`
3. Your app → Slaiky: `POST /api/methods/chat.postMessage { "channel": "…", "threadId": "…", "text": "On it." }`

Without the ack, Slaiky sends the same envelope again with `retryAttempt: 1`.

## Three ways in

- **Connect your AI** (MCP, one sign-in): Claude, ChatGPT, Cursor or VS Code read and answer in your workspace as you. [Connect your AI](/docs/mcp).
- **Your first bot** (Socket Mode, one file, no packages): a bot that answers when someone mentions it. [Your first bot](/docs/quickstart).
- **Call the Web API** (curl and a bot token): a script that posts in a channel. [Calling the Web API](/docs/web-api).

## The phrasebook

Everything an app and Slaiky say to each other, from the server’s own code and from what a real server sent: what Slaiky says to your app, and what your app can say back.

**Slaiky says:** [events](/docs/reference/events), [payloads](/docs/reference/payloads), [socket-mode](/docs/reference/socket-mode)

**You say:** [methods](/docs/reference/methods), [blocks](/docs/reference/blocks), [manifest](/docs/reference/manifest), [scopes](/docs/reference/scopes), [mcp](/docs/reference/mcp)

## For your AI

Every page here is also Markdown: add `.md` to its address. [`/docs/llms.txt`](/docs/llms.txt) lists them all and [`/docs/llms-full.txt`](/docs/llms-full.txt) holds them in one file. Give your coding agent this and a goal:

*you run*

```text
Read https://slaiky.xyz/docs/llms.txt, then build me a Slaiky bot that answers
questions about our deploys in #launch. Use Socket Mode and no SDK.
```
