Spaces:
Running
Running
Publish AgentKit Shop Static HTML demo showcase
Browse files- Dockerfile +7 -0
- README.md +7 -5
- app.py +105 -0
- index.html +53 -18
- requirements.txt +3 -0
Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
+
COPY . .
|
| 6 |
+
EXPOSE 7860
|
| 7 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]
|
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: AgentKit Shop Small Business Automation Pack
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# AgentKit Shop: Small Business Automation Pack
|
| 11 |
+
|
| 12 |
+
Production-ready AI agent workflow packs powered by Python, Composio, and Stripe ($19 Full Edition).
|
app.py
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import json
|
| 3 |
+
from datetime import datetime
|
| 4 |
+
|
| 5 |
+
st.set_page_config(
|
| 6 |
+
page_title="AgentKit Shop: Small Business Automation Pack",
|
| 7 |
+
page_icon="🤖",
|
| 8 |
+
layout="wide"
|
| 9 |
+
)
|
| 10 |
+
|
| 11 |
+
st.title("🤖 AgentKit Shop: Small Business Automation Pack")
|
| 12 |
+
st.markdown("### Production-Ready AI Agent Workflows Powered by Python, Composio & Stripe ($19 Full Edition)")
|
| 13 |
+
|
| 14 |
+
st.sidebar.header("Navigation & Workflows")
|
| 15 |
+
workflow = st.sidebar.selectbox(
|
| 16 |
+
"Select Workflow Template",
|
| 17 |
+
[
|
| 18 |
+
"1. Inbound Lead Triage & Gmail Reply",
|
| 19 |
+
"2. Overdue Invoice Chaser",
|
| 20 |
+
"3. Lead Enrichment & CRM Sync",
|
| 21 |
+
"4. Automated Follow-up Sequencer",
|
| 22 |
+
"5. Meeting Scheduler & Booker"
|
| 23 |
+
]
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
st.sidebar.markdown("---")
|
| 27 |
+
st.sidebar.markdown("### 🛒 Get the Complete Pack")
|
| 28 |
+
st.sidebar.markdown("**Price: $19 (All 5 Workflows)**")
|
| 29 |
+
st.sidebar.markdown("[Buy on Gumroad / Stripe](https://buy.stripe.com/8x26oJ4Z30rx0zb6rKbMQ0u)")
|
| 30 |
+
st.sidebar.markdown("[GitHub Repository](https://github.com/brettanthonysjoberg179-lab/agentkit-lead-triage)")
|
| 31 |
+
|
| 32 |
+
if "1." in workflow:
|
| 33 |
+
st.header("1. Inbound Lead Triage & Gmail Reply Draft Agent")
|
| 34 |
+
st.markdown("Automatically polls unread emails, classifies lead intent (Pricing, Support, Partnership), and drafts tailored responses.")
|
| 35 |
+
|
| 36 |
+
sender = st.text_input("Lead Email", "buyer@sydneyrealestate.example.com")
|
| 37 |
+
subject = st.text_input("Email Subject", "Enterprise pricing & real estate agent packs")
|
| 38 |
+
snippet = st.text_area("Email Body / Snippet", "Hi, I'm interested in enterprise pricing and custom packs for my real estate agency.")
|
| 39 |
+
|
| 40 |
+
if st.button("Run Triage Agent"):
|
| 41 |
+
text = f"{subject} {snippet}".lower()
|
| 42 |
+
if "pricing" in text or "cost" in text or "buy" in text or "enterprise" in text:
|
| 43 |
+
category = "Hot Sales / Pricing"
|
| 44 |
+
reply = "Hi there,\n\nThanks for reaching out! You can get started instantly here: https://buy.stripe.com/8x26oJ4Z30rx0zb6rKbMQ0u\n\nBest,\nAgentKit Team"
|
| 45 |
+
else:
|
| 46 |
+
category = "General Inquiry"
|
| 47 |
+
reply = "Hi there,\n\nThanks for reaching out to AgentKit Shop! How can we help you automate today?\n\nBest,\nAgentKit Team"
|
| 48 |
+
|
| 49 |
+
st.success("Triage completed successfully!")
|
| 50 |
+
st.json({
|
| 51 |
+
"category": category,
|
| 52 |
+
"reply_subject": f"Re: {subject}",
|
| 53 |
+
"reply_body": reply,
|
| 54 |
+
"status": "Draft Created in Gmail via Composio"
|
| 55 |
+
})
|
| 56 |
+
|
| 57 |
+
elif "2." in workflow:
|
| 58 |
+
st.header("2. Overdue Invoice Chaser Agent")
|
| 59 |
+
st.markdown("Flags unpaid client invoices and sends polite automated reminder emails with instant Stripe payment links.")
|
| 60 |
+
|
| 61 |
+
client = st.text_input("Client Name", "Apex Digital Agency")
|
| 62 |
+
email = st.text_input("Client Email", "billing@apexdigital.example.com")
|
| 63 |
+
amount = st.number_input("Amount Due (AUD)", value=1500.00)
|
| 64 |
+
invoice_id = st.text_input("Invoice ID", "INV-2026-042")
|
| 65 |
+
|
| 66 |
+
if st.button("Run Invoice Chaser"):
|
| 67 |
+
st.success(f"Invoice reminder simulated for {client} ({email}) for ${amount:.2f} AUD.")
|
| 68 |
+
st.info(f"Payment Link Sent: https://buy.stripe.com/test_invoice_{invoice_id}")
|
| 69 |
+
|
| 70 |
+
elif "3." in workflow:
|
| 71 |
+
st.header("3. Lead Enrichment & CRM Sync Agent")
|
| 72 |
+
st.markdown("Enriches inbound leads with company metadata and syncs them to your CRM / Google Sheets via Composio.")
|
| 73 |
+
|
| 74 |
+
lead_name = st.text_input("Lead Name", "Sarah Connor")
|
| 75 |
+
company = st.text_input("Company Name", "Cyberdyne Systems")
|
| 76 |
+
|
| 77 |
+
if st.button("Enrich & Sync Lead"):
|
| 78 |
+
st.success(f"Enriched {lead_name} from {company}!")
|
| 79 |
+
st.json({
|
| 80 |
+
"lead_name": lead_name,
|
| 81 |
+
"company": company,
|
| 82 |
+
"company_size": "50-200 employees",
|
| 83 |
+
"score": "Hot Lead (Tier 1)",
|
| 84 |
+
"crm_status": "Synced to Google Sheets via Composio"
|
| 85 |
+
})
|
| 86 |
+
|
| 87 |
+
elif "4." in workflow:
|
| 88 |
+
st.header("4. Automated Follow-up Sequencer Agent")
|
| 89 |
+
st.markdown("Schedules multi-step email follow-up sequences for unresponsive prospects.")
|
| 90 |
+
|
| 91 |
+
prospect = st.text_input("Prospect Name", "Marcus Vance")
|
| 92 |
+
step = st.slider("Sequence Step", 1, 3, 2)
|
| 93 |
+
|
| 94 |
+
if st.button("Dispatch Follow-up"):
|
| 95 |
+
st.success(f"Step {step} follow-up email dispatched to {prospect} via Composio Gmail tool.")
|
| 96 |
+
|
| 97 |
+
elif "5." in workflow:
|
| 98 |
+
st.header("5. Meeting Scheduler & Calendar Booker Agent")
|
| 99 |
+
st.markdown("Automatically parses calendar invite requests and books meetings via Composio Calendar tools.")
|
| 100 |
+
|
| 101 |
+
attendee = st.text_input("Attendee Name", "Elena Rostova")
|
| 102 |
+
slot = st.text_input("Requested Slot", "2026-10-15T10:00:00Z")
|
| 103 |
+
|
| 104 |
+
if st.button("Book Meeting"):
|
| 105 |
+
st.success(f"Meeting booked successfully for {attendee} at {slot} via Google Calendar / Composio!")
|
index.html
CHANGED
|
@@ -1,19 +1,54 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>AgentKit Shop: Small Business Automation Pack</title>
|
| 7 |
+
<style>
|
| 8 |
+
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0f172a; color: #f8fafc; margin: 0; padding: 40px; }
|
| 9 |
+
.container { max-width: 900px; margin: 0 auto; background: #1e293b; padding: 40px; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
|
| 10 |
+
h1 { color: #38bdf8; margin-top: 0; }
|
| 11 |
+
.badge { background: #0284c7; color: white; padding: 4px 12px; border-radius: 20px; font-size: 14px; display: inline-block; margin-bottom: 20px; }
|
| 12 |
+
.workflows { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
|
| 13 |
+
.workflow-card { background: #334155; padding: 20px; border-radius: 12px; border-left: 4px solid #38bdf8; }
|
| 14 |
+
.workflow-card h3 { margin-top: 0; color: #e2e8f0; }
|
| 15 |
+
.cta-btn { display: inline-block; background: #22c55e; color: white; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 20px; }
|
| 16 |
+
.cta-btn:hover { background: #16a34a; }
|
| 17 |
+
.github-link { display: inline-block; background: #475569; color: white; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 20px; margin-left: 12px; }
|
| 18 |
+
</style>
|
| 19 |
+
</head>
|
| 20 |
+
<body>
|
| 21 |
+
<div class="container">
|
| 22 |
+
<span class="badge">Production-Ready AI Agents ($19 Bundle)</span>
|
| 23 |
+
<h1>🤖 AgentKit Shop: Small Business Automation Pack</h1>
|
| 24 |
+
<p>Production-ready AI agent workflow packs powered by Python, Composio, and Stripe.</p>
|
| 25 |
+
|
| 26 |
+
<h2>Included Workflows (5 Complete Templates)</h2>
|
| 27 |
+
<div class="workflows">
|
| 28 |
+
<div class="workflow-card">
|
| 29 |
+
<h3>1. Inbound Lead Triage & Gmail Reply Draft Agent</h3>
|
| 30 |
+
<p>Automatically polls unread emails, classifies lead intent (Pricing, Support, Partnership), and drafts tailored responses.</p>
|
| 31 |
+
</div>
|
| 32 |
+
<div class="workflow-card">
|
| 33 |
+
<h3>2. Overdue Invoice Chaser Agent</h3>
|
| 34 |
+
<p>Flags unpaid client invoices and sends polite automated reminder emails with instant Stripe payment links.</p>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="workflow-card">
|
| 37 |
+
<h3>3. Lead Enrichment & CRM Sync Agent</h3>
|
| 38 |
+
<p>Enriches inbound leads with company metadata and syncs them to your CRM / Google Sheets via Composio tools.</p>
|
| 39 |
+
</div>
|
| 40 |
+
<div class="workflow-card">
|
| 41 |
+
<h3>4. Automated Follow-up Sequencer Agent</h3>
|
| 42 |
+
<p>Schedules multi-step email follow-up sequences for unresponsive prospects.</p>
|
| 43 |
+
</div>
|
| 44 |
+
<div class="workflow-card">
|
| 45 |
+
<h3>5. Meeting Scheduler & Calendar Booker Agent</h3>
|
| 46 |
+
<p>Automatically parses calendar invite requests and books meetings via Composio Calendar tools.</p>
|
| 47 |
+
</div>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<a class="cta-btn" href="https://buy.stripe.com/8x26oJ4Z30rx0zb6rKbMQ0u" target="_blank">🛒 Get Full Pack ($19)</a>
|
| 51 |
+
<a class="github-link" href="https://github.com/brettanthonysjoberg179-lab/agentkit-lead-triage" target="_blank">📂 View GitHub Repo</a>
|
| 52 |
+
</div>
|
| 53 |
+
</body>
|
| 54 |
</html>
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit>=1.28.0
|
| 2 |
+
requests>=2.28.0
|
| 3 |
+
composio-core>=0.3.0
|