Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/.DS_Store

.env
.env
.env.local
**/.next/
**/node_modules/
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 align="center">Stack to Build Reliable AI Agents</h2>
<br/>
<h3 align="center">Opensource SDK ♦️ Collaborative Studio ♦️ Serverless Deployment</h3>
<h3 align="center">Opensource SDK ♦️ Collaborative Studio ♦️ Serverless Deployment</h3>
<p align="center"><a href="https://lamatic.ai/" >Website</a> | <a href="https://lamatic.ai/docs">Docs</a>| <a href="https://lamatic.ai/docs/slack">Join Slack community</a>
</p>
</p>
Expand All @@ -38,7 +38,7 @@
<img src="https://img.shields.io/coderabbit/prs/github/Lamatic/AgentKit?utm_source=oss&utm_medium=github&utm_campaign=Lamatic%2FAgentKit&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews">
<img src="https://github.com/Lamatic/AgentKit/actions/workflows/review-challenge-prs.yml/badge.svg">

## About AgentKit
## ✨ About AgentKit

Deploy intelligent AI agents in minutes with enterprise-grade security, scalable architecture, and seamless integrations. Power everything from customer support to workflow automation with the future of agent-powered business.

Expand Down Expand Up @@ -71,31 +71,32 @@ Deploy intelligent AI agents in minutes with enterprise-grade security, scalable

***

### 📦 Available Kits
### 📦 Available Kits

Explore ready-to-deploy agent kits and templates built on Lamatic’s AgentKit framework.
Explore ready-to-deploy agent kits and templates built on LamaticΓÇÖs AgentKit framework.
Each kit includes configuration instructions, environment variables/lamatic-config.json, and a 1-click Vercel deploy button.

| Kit Name | Description | Status | Live Demo | Path |
|-----------|--------------|--------|--------------|------|
| **🧠 Agentic Kits** | Advanced self-directed, reasoning agents for goal-driven operations | | | [`/kits/agentic`](./kits/agentic) |
| **🧠 Agentic Kits** | Advanced self-directed, reasoning agents for goal-driven operations | | | [`/kits/agentic`](./kits/agentic) |
| **Deep Search Agent** | A Next.js starter kit for goal-driven reasoning agents using Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-reasoning.vercel.app) | [`/kits/agentic/deep-search`](./kits/agentic/deep-search) |
| **Generation Agent** | A Next.js starter kit for generating text/json/image content using Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-generation.vercel.app) | [`/kits/agentic/generation`](./kits/agentic/generation) |
||
| **🤖 Automation Kits** | Automate complex business processes with robust and flexible agent workflows | | | [`/kits/automation`](./kits/automation) |
| **🤖 Automation Kits** | Automate complex business processes with robust and flexible agent workflows | | | [`/kits/automation`](./kits/automation) |
| **Hiring Automation** | A Next.js starter kit for hiring automation using Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-hiring.vercel.app) | [`/kits/automation/hiring`](./kits/automation/hiring) |
||
| **🧑‍💼 Assistant Kits** | Create context-aware helpers for users, customers, and team members | | | [`/kits/assistant`](./kits/assistant) |
| **🧑‍💼 Assistant Kits** | Create context-aware helpers for users, customers, and team members | | | [`/kits/assistant`](./kits/assistant) |
| **Grammar Assistant** | A chrome extension to check grammar corrections across your selection. | Available | | [`/kits/assistant/grammar-extension`](./kits/assistant/grammar-extension) |
||
| **💬 Embed Kits** | Seamlessly integrate AI agents into apps, websites, and workflows | | | [`/kits/embed`](./kits/embed) |
| **💬 Embed Kits** | Seamlessly integrate AI agents into apps, websites, and workflows | | | [`/kits/embed`](./kits/embed) |
| **Chatbot** | A Next.js starter kit for chatbot using Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-embedded-chat.vercel.app) | [`/kits/embed/chat`](./kits/embed/chat) |
| **Search** | A Next.js starter kit for searchbot Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-embedded-chat.vercel.app) | [`/kits/embed/search`](./kits/embed/search) |
| **Sheets** | A Next.js starter kit for sheets using Lamatic Flows. | Available | [![Live Demo](https://img.shields.io/badge/Live%20Demo-black?style=for-the-badge)](https://agent-kit-sheets.vercel.app) | [`/kits/embed/sheets`](./kits/embed/sheets) |
| **Meeting Intelligence Copilot** | Transforms raw meeting transcripts into structured insights (summary, action items, risks) and delivers them to Slack via an embedded Lamatic chat widget. | Available | | [`/kits/embed/meeting-intelligence`](./kits/embed/meeting-intelligence) |

> 💡 Each kit folder includes its own README with specific setup steps, required keys, and example Lamatic flows.
> 💡 Each kit folder includes its own README with specific setup steps, required keys, and example Lamatic flows.

## 🏛️ Architecture Overview
## 🏛️ Architecture Overview

- **Agent Engine**: Multi-agent system enabling advanced reasoning and planning
- **Templates & Kits**: Pre-designed packs for popular use-cases and enterprise workflows
Expand All @@ -113,7 +114,7 @@ Each kit includes configuration instructions, environment variables/lamatic-conf

***

## 🚀 Steps to Deploy
## 🚀 Steps to Deploy

1. **Clone the Repo**
```sh
Expand Down Expand Up @@ -145,7 +146,7 @@ Each kit includes configuration instructions, environment variables/lamatic-conf

***

## 📚 Documentation & Resources
## 📚 Documentation & Resources

- [AgentKit Overview](https://lamatic.ai/templates/agentkits)
- [Lamatic Guides](https://lamatic.ai/guides)
Expand All @@ -154,18 +155,18 @@ Each kit includes configuration instructions, environment variables/lamatic-conf

***

## 🤝 Contributing
## 🤝 Contributing

We welcome your ideas and improvements! See [CONTRIBUTING.md](./CONTRIBUTING.md) for how to get started.

***

## Related Links
## Γ¡É Related Links

- [Lamatic.ai](https://lamatic.ai)
- [Lamatic University](https://lamatic.ai/university)
- [Case Studies](https://lamatic.ai/case-studies)

***

Powerful, scalable agentic automations for the modern enterprise with security, speed, and service at the core.
Powerful, scalable agentic automations for the modern enterprise ΓÇö with security, speed, and service at the core.
60 changes: 30 additions & 30 deletions kits/embed/chat/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Agent Kit Embedded Chat by Lamatic.ai
# Agent Kit Embedded Chat by Lamatic.ai
<p align="center">
<img src="https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExdmFmdXh4aHB3bXZidmg1dDM1azhtY2xheTl6ZnUzbHdsYXo1OXVvcSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/6hnrR2Vk2PLByiWKbL/giphy.gif"/>
</p>
Expand All @@ -22,8 +22,8 @@ Before running this project, you must build and deploy the flow in Lamatic, then

Pre: Build in Lamatic
1. Sign in or sign up at https://lamatic.ai
2. Create a project (if you don’t have one yet)
3. Click + New Flow” and select "Templates"
2. Create a project (if you donΓÇÖt have one yet)
3. Click ΓÇ£+ New FlowΓÇ¥ and select "Templates"
4. Select the 'Embed Chat' agent kit
5. Configure providers/tools/inputs as prompted
6. Deploy the kit in Lamatic and obtain your .env keys
Expand All @@ -35,22 +35,22 @@ Post: Wire into this repo
- npm install
- npm run dev
3. Deploy (Vercel recommended):
- Import your repo, set the project’s Root Directory (if applicable)
- Import your repo, set the projectΓÇÖs Root Directory (if applicable)
- Add env vars in Vercel (same as your .env)
- Deploy and test your live URL

Notes
- Coming soon: single-click export and Connect Git” in Lamatic to push config directly to your repo.
- Coming soon: single-click export and ΓÇ£Connect GitΓÇ¥ in Lamatic to push config directly to your repo.

---

## 🔑 Setup
## 🔑 Setup
## Required Keys and Config

You’ll need two things to run this project locally:
YouΓÇÖll need two things to run this project locally:

1. **.env Keys** get it from your [Lamatic account](https://lamatic.ai) post kit deployment.
2. Vercel Blob Token Required for uploaded file storage. Each deployment needs its own Blob token. You can generate it from your Vercel project after the first deploy (see instructions below).
1. **.env Keys** → get it from your [Lamatic account](https://lamatic.ai) post kit deployment.
2. Vercel Blob Token ΓÇô Required for uploaded file storage. Each deployment needs its own Blob token. You can generate it from your Vercel project after the first deploy (see instructions below).


| Item | Purpose | Where to Get It |
Expand Down Expand Up @@ -86,7 +86,7 @@ npm run dev

### 3. Deploy Instructions (Vercel)

Click the Deploy with Vercel” button.
Click the ΓÇ£Deploy with VercelΓÇ¥ button.

Fill in .env Keys from lamatic (required).

Expand All @@ -96,43 +96,43 @@ After deployment, generate your own Blob token:
vercel storage blob token create
```

Add/Replace it in Vercel Dashboard Environment Variables BLOB_READ_WRITE_TOKEN and redeploy.
Add/Replace it in Vercel Dashboard → Environment Variables → BLOB_READ_WRITE_TOKEN and redeploy.
---

## 📂 Repo Structure
## 📂 Repo Structure

```
/actions
└── orchestrate.ts # Lamatic workflow orchestration
ΓööΓöÇΓöÇ orchestrate.ts # Lamatic workflow orchestration
/app
├── page.tsx # Main upload/indexation UI
├── chat
└── page.tsx # Chat interface with documents
└── api
├── index # PDF indexation endpoint
├── index-webpages # Webpage indexation endpoint
├── delete # PDF deletion endpoint
├── delete-resource # Resource deletion endpoint
└── check-workflow-status # Async workflow polling
Γö£ΓöÇΓöÇ page.tsx # Main upload/indexation UI
Γö£ΓöÇΓöÇ chat
Γöé ΓööΓöÇΓöÇ page.tsx # Chat interface with documents
ΓööΓöÇΓöÇ api
Γö£ΓöÇΓöÇ index # PDF indexation endpoint
Γö£ΓöÇΓöÇ index-webpages # Webpage indexation endpoint
Γö£ΓöÇΓöÇ delete # PDF deletion endpoint
Γö£ΓöÇΓöÇ delete-resource # Resource deletion endpoint
ΓööΓöÇΓöÇ check-workflow-status # Async workflow polling
/lib
└── lamatic-client.ts # Lamatic SDK client
ΓööΓöÇΓöÇ lamatic-client.ts # Lamatic SDK client
/public
└── images
├── lamatic-logo.png # Lamatic branding
└── *.png # Data source icons
ΓööΓöÇΓöÇ images
Γö£ΓöÇΓöÇ lamatic-logo.png # Lamatic branding
ΓööΓöÇΓöÇ *.png # Data source icons
/flows
└── ... # Lamatic Flows
ΓööΓöÇΓöÇ ... # Lamatic Flows
/package.json # Dependencies & scripts
```

---

## 🤝 Contributing
## 🤝 Contributing

We welcome contributions! Open an issue or PR in this repo.

---

## 📜 License
## 📜 License

MIT License see [LICENSE](../../../LICENSE).
MIT License ΓÇô see [LICENSE](../../../LICENSE).
20 changes: 16 additions & 4 deletions kits/embed/chat/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
--card-foreground: oklch(0.15 0.02 270);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.15 0.02 270);
/* Updated primary to purple for buttons and accents */
--primary: oklch(0.55 0.18 270);
--primary-foreground: oklch(0.98 0.01 270);
--secondary: oklch(0.96 0.01 270);
Expand All @@ -24,7 +23,6 @@
--border: oklch(0.92 0.01 270);
--input: oklch(0.92 0.01 270);
--ring: oklch(0.55 0.18 270);
/* Updated chart colors to purple/blue theme */
--chart-1: oklch(0.55 0.18 270);
--chart-2: oklch(0.6 0.15 240);
--chart-3: oklch(0.65 0.12 210);
Expand All @@ -48,7 +46,6 @@
--card-foreground: oklch(0.95 0.01 270);
--popover: oklch(0.12 0.02 270);
--popover-foreground: oklch(0.95 0.01 270);
/* Updated dark mode primary to brighter purple */
--primary: oklch(0.65 0.2 270);
--primary-foreground: oklch(0.08 0.02 270);
--secondary: oklch(0.18 0.02 270);
Expand All @@ -62,7 +59,6 @@
--border: oklch(0.18 0.02 270);
--input: oklch(0.18 0.02 270);
--ring: oklch(0.65 0.2 270);
/* Updated dark mode chart colors */
--chart-1: oklch(0.65 0.2 270);
--chart-2: oklch(0.7 0.18 240);
--chart-3: oklch(0.75 0.15 210);
Expand Down Expand Up @@ -122,8 +118,24 @@
@layer base {
* {
@apply border-border outline-ring/50;
box-sizing: border-box;
}
Comment on lines 119 to 122
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix Stylelint violations in base rules.

The added declarations trigger declaration-empty-line-before and will keep style checks red.

Proposed lint-safe patch
  * {
    `@apply` border-border outline-ring/50;
+
    box-sizing: border-box;
  }

  body {
    `@apply` bg-background text-foreground;
+
    margin: 0;
  }

Also applies to: 128-131

🧰 Tools
🪛 Stylelint (17.4.0)

[error] 121-121: Expected empty line before declaration (declaration-empty-line-before)

(declaration-empty-line-before)


html {
scroll-behavior: smooth;
}

body {
@apply bg-background text-foreground;
margin: 0;
}

a {
color: inherit;
text-decoration: none;
}

button {
font: inherit;
}
}
3 changes: 3 additions & 0 deletions kits/embed/meeting-intelligence/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NEXT_PUBLIC_LAMATIC_PROJECT_ID=your_project_id_here
NEXT_PUBLIC_LAMATIC_FLOW_ID=your_flow_id_here
NEXT_PUBLIC_LAMATIC_API_URL=https://your-project.lamatic.dev
3 changes: 3 additions & 0 deletions kits/embed/meeting-intelligence/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env.local
.next/
node_modules/
Loading