Ia Vendedora Clinica Langgraph
Description
Agente de IA baseado em LangGraph para a Clínica Moreira (clínica odontológica). Gerencia agendamentos via WhatsApp através de webhooks do Chatwoot, com transcrição de áudio, respostas por TTS e follo
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Agente IA — Clínica Moreira
Agente de IA baseado em LangGraph para a Clínica Moreira (clínica odontológica). Gerencia agendamentos via WhatsApp através de webhooks do Chatwoot, com transcrição de áudio, respostas por TTS e follow-ups automáticos.
Convertido dos workflows originais em n8n para uma arquitetura baseada em grafos com TypeScript.
Stack
- Runtime: Bun
- HTTP: ElysiaJS
- Orquestração: LangGraph com checkpointing em PostgreSQL
- LLM: OpenAI (GPT para agente + Whisper para transcrição)
- TTS: ElevenLabs
- CRM/Mensageria: Chatwoot (WhatsApp)
- Calendário: Google Calendar API
- Observabilidade: Langfuse (opcional)
- Banco de dados: PostgreSQL 16
Pré-requisitos
- Bun >= 1.0
- PostgreSQL 16+ (ou Docker)
- Contas nos serviços externos: OpenAI, Chatwoot, Google Calendar, ElevenLabs
Início Rápido
# 1. Clone o repositório
git clone
cd claude-code-com-lucao
# 2. Instale as dependências
bun install
# 3. Configure as variáveis de ambiente
cp .env.example .env
# Edite .env com suas credenciais
# 4. Suba o PostgreSQL (via Docker)
docker compose up -d
# 5. Crie as tabelas no banco
bun run setup
# 6. Inicie o servidor
bun run dev
O servidor estará disponível em `http://localhost:3000`.
Scripts
| Comando | Descrição |
|---|---|
bun run dev |
Servidor com hot reload (--watch) |
bun run start |
Servidor em modo produção |
bun run setup |
Cria as tabelas no PostgreSQL |
bun run typecheck |
Verificação de tipos TypeScript |
bun test |
Executa todos os testes |
bun run visualize |
Gera visualização dos grafos |
Arquitetura
Grafo Principal (`src/graphs/main-agent/`)
Processa mensagens recebidas do Chatwoot em um pipeline de 16 nós:
enfileirar → esperarDebounce(16s) → verificarStale → tentarLock [→ esperarRetry ↩]
→ buscarReferenciada
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11