{"id":33374399,"url":"https://github.com/murabcd/lead-agent","last_synced_at":"2026-05-06T09:40:52.312Z","repository":{"id":325635846,"uuid":"1101882332","full_name":"murabcd/lead-agent","owner":"murabcd","description":"Lead Qualification Agent built with Next.js, AI SDK, Workflow DevKit, and Telegram Bot API","archived":false,"fork":false,"pushed_at":"2025-11-22T13:20:15.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T14:33:59.549Z","etag":null,"topics":["ai-sdk","exa-ai","nextjs","openai","react","shadcn-ui","telegram"],"latest_commit_sha":null,"homepage":"https://lead-agent-form.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murabcd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T12:18:00.000Z","updated_at":"2025-11-22T13:20:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/murabcd/lead-agent","commit_stats":null,"previous_names":["murabcd/lead-agent"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/murabcd/lead-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Flead-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Flead-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Flead-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Flead-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murabcd","download_url":"https://codeload.github.com/murabcd/lead-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Flead-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285873538,"owners_count":27246054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-22T02:00:05.934Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-sdk","exa-ai","nextjs","openai","react","shadcn-ui","telegram"],"created_at":"2025-11-22T23:01:36.122Z","updated_at":"2026-05-06T09:40:52.292Z","avatar_url":"https://github.com/murabcd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://lead-agent-form.vercel.app\"\u003e\n  \u003cimg alt=\"An inbound lead qualification and research agent built with Next.js.\" src=\"./public/preview/lead-agent.png\"\u003e\n  \u003ch1 align=\"center\"\u003eLead Agent\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  Lead qualification and research agent built with Next.js, AI SDK, Workflow DevKit, and Telegram Bot API.\n\u003c/p\u003e\n\n\u003e ✨ The agent captures a lead in a contact sales form and then kicks off a qualification workflow. It integrates with Telegram to send and receive messages for human-in-the-loop feedback.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003e\u003cstrong\u003eFeatures\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#model-provider\"\u003e\u003cstrong\u003eModel providers\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#deploy-your-own\"\u003e\u003cstrong\u003eDeploy your own\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#running-locally\"\u003e\u003cstrong\u003eRunning locally\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Features\n\n- [Next.js](https://nextjs.org) App Router\n  - Advanced routing for seamless navigation and performance\n  - React Server Components (RSCs) for server-side rendering and increased performance\n- [Vercel AI SDK](https://ai-sdk.dev/) Integration\n  - AI SDK Agent class for autonomous research capabilities\n  - Direct API calls for text generation and other AI features\n- [Workflow DevKit](https://useworkflow.dev/) Integration\n  - Durable execution with `use workflow` for reliable background tasks\n  - Sequential workflow steps for lead processing pipeline\n- [Exa.ai](https://exa.ai/) Integration\n  - Advanced web search capabilities for comprehensive lead research\n  - Enhances the AI's ability to gather information about lead companies\n- [Telegram Bot API](https://core.telegram.org/bots/api)\n  - Human-in-the-loop approval workflow\n  - Real-time notifications for lead qualification results\n- [Shadcn/ui](https://ui.shadcn.com)\n  - Styling with [Tailwind CSS](https://tailwindcss.com)\n  - Component primitives from [Radix UI](https://radix-ui.com) for accessibility and flexibility\n\n## Model providers\n\nThis app utilizes the [OpenAI API](https://openai.com/) through [Vercel AI Gateway](https://vercel.com/ai-gateway) for its AI capabilities. It is configured to use OpenAI models for generating responses and conducting research.\n\n## Deploy your own\n\nYou can deploy your own version of Lead Agent to Vercel with one click:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel-labs%2Flead-agent\u0026env=AI_GATEWAY_API_KEY,TELEGRAM_BOT_TOKEN,TELEGRAM_CHAT_ID,EXA_API_KEY\u0026envDescription=Learn%20more%20about%20how%20to%20get%20the%20API%20Keys%20for%20the%20application\u0026envLink=https%3A%2F%2Fgithub.com%2Fvercel-labs%2Flead-agent%2Fblob%2Fmain%2F.env.example\u0026demo-title=Lead%20Agent\u0026demo-description=An%20inbound%20lead%20qualification%20and%20research%20agent%20built%20with%20Next.js\u0026demo-url=https%3A%2F%2Flead-agent-form.vercel.app)\n\n## Running locally\n\nYou will need to use the environment variables [defined in `.env.example`](.env.example) to run Voice. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/projects/environment-variables) for this, but a `.env` file is all that is necessary.\n\n\u003e Note: You should not commit your `.env` file or it will expose secrets that will allow others to control access to your various OpenAI and authentication provider accounts.\n\n1. Install Vercel CLI: `npm i -g vercel`\n2. Link local instance with Vercel and GitHub accounts (creates `.vercel` directory): `vercel link`\n3. Download your environment variables: `vercel env pull`\n\n```bash\nbun install\nbun dev\n```\n\nYour app should now be running on [localhost:3000](http://localhost:3000/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurabcd%2Flead-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurabcd%2Flead-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurabcd%2Flead-agent/lists"}