Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: switch chat-app to bun, improve button styling, update card copy

Sushmitha Mallesha45b4f92029f
diff --git a/docs/content/cookbooks/chat-app.mdx b/docs/content/cookbooks/chat-app.mdx
index c0bca7025..e0963289b 100644
--- a/docs/content/cookbooks/chat-app.mdx
+++ b/docs/content/cookbooks/chat-app.mdx
@@ -15,7 +15,7 @@ Give your AI agent access to Gmail, GitHub, Slack, Notion, and 1000+ other apps.
## Prerequisites
-- Node.js 18+
+- [Bun](https://bun.sh) (or Node.js 18+)
- [Composio API key](https://platform.composio.dev/settings)
- [OpenAI API key](https://platform.openai.com/api-keys)
@@ -26,9 +26,9 @@ Give your AI agent access to Gmail, GitHub, Slack, Notion, and 1000+ other apps.
Create a new Next.js app and install the dependencies:
```bash
-pnpm create next-app composio-chat --yes
+bunx create-next-app composio-chat --yes
cd composio-chat
-pnpm install @composio/core @composio/vercel @ai-sdk/openai ai @ai-sdk/react
+bun add @composio/core @composio/vercel @ai-sdk/openai ai @ai-sdk/react
```
<Callout type="info">
@@ -45,7 +45,7 @@ OPENAI_API_KEY=your_openai_api_key
Start the dev server:
```bash
-pnpm dev
+bun dev
```
## Build the backend
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx
index 2fba4620b..8f6153220 100644
--- a/docs/content/docs/index.mdx
+++ b/docs/content/docs/index.mdx
@@ -15,7 +15,7 @@ Composio powers 1000+ toolkits, tool search, context management, authentication,
<Card
title="How Composio works"
href="/docs/how-composio-works"
- description="Learn about sessions, meta tools, authentication, and the architecture behind Composio."
+ description="See what happens under the hood when your agent searches, authenticates, and executes a tool."
/>
</Cards>
diff --git a/docs/examples/chat-app/page-with-tools.tsx b/docs/examples/chat-app/page-with-tools.tsx
index 30846ec55..704b32b73 100644
--- a/docs/examples/chat-app/page-with-tools.tsx
+++ b/docs/examples/chat-app/page-with-tools.tsx
@@ -90,7 +90,7 @@ export default function Chat() {
<button
type="submit"
disabled={isLoading}
- className="px-4 py-3 bg-black text-white rounded-lg disabled:opacity-50"
+ className="px-6 py-3 bg-white text-black font-medium rounded-lg hover:bg-gray-200 transition-colors disabled:opacity-50"
>
Send
</button>
diff --git a/docs/examples/chat-app/page.tsx b/docs/examples/chat-app/page.tsx
index 975d0eae1..dbc7d5dd1 100644
--- a/docs/examples/chat-app/page.tsx
+++ b/docs/examples/chat-app/page.tsx
@@ -70,7 +70,7 @@ export default function Chat() {
<button
type="submit"
disabled={isLoading}
- className="px-4 py-3 bg-black text-white rounded-lg disabled:opacity-50"
+ className="px-6 py-3 bg-white text-black font-medium rounded-lg hover:bg-gray-200 transition-colors disabled:opacity-50"
>
Send
</button>