Beatriz é uma assistente virtual corporativa desenvolvida para apoiar profissionais da B3 (Brasil, Bolsa, Balcão) no acesso rápido, confiável e explicável a informações regulatórias, normativas e operacionais.
TypeScript
0
82 commits
updated Nov 7, 2025
Sistema de Retrieval-Augmented Generation (RAG) usando LangGraph para orquestração de agentes inteligentes.
git clone <repo-url>
cd agrex
./setup.sh
source .venv/bin/activate
cd api
./run_api.sh
API disponível em: http://localhost:8000
Health Check:
curl http://localhost:8000/health
Chat Query:
curl -X POST http://localhost:8000/chat \
-H "Content-Type: application/json" \
-d '{"message": "Qual o faturamento da Petrobras?"}'
Upload Documento:
curl -X POST http://localhost:8000/ingestion/upload \
-F "[email protected]" \
-F "source=ENET"
cd api
source .venv/bin/activate
python3 -m agents.show_graph
agrex/
├── api/ # FastAPI endpoints
├── agents/ # LangGraph agents
├── ingestion/ # Pipeline de documentos
├── setup.sh # Setup automático
├── run_api.sh # Rodar API
└── run_worker.sh # Rodar worker de ingestão
./run_worker.sh
source .venv/bin/activate
pip install <package>
pip freeze > requirements.txt
# API com reload automático (dentro da pasta api)
cd api
source .venv/bin/activate
uvicorn main:app --reload
# Testar grafo diretamente
python3 -c "from agents.graph.core import RAGOrchestrator; print(RAGOrchestrator().process('teste'))"
Veja ARCHITECTURE.md para detalhes completos da arquitetura.
Fluxo Principal:
git checkout -b feature/nova-funcionalidade./run_api.sh e python3 -m agents.show_graphgit commit -m "feat: nova funcionalidade"Logs da API aparecem no terminal onde rodou ./run_api.sh
Beatriz é uma assistente virtual corporativa desenvolvida para apoiar profissionais da B3 (Brasil, Bolsa, Balcão) no acesso rápido, confiável e explicável a informações regulatórias, normativas e operacionais.
TypeScript
0
82 commits
updated Nov 7, 2025
Sistema de Retrieval-Augmented Generation (RAG) usando LangGraph para orquestração de agentes inteligentes.
git clone <repo-url>
cd agrex
./setup.sh
source .venv/bin/activate
cd api
./run_api.sh
API disponível em: http://localhost:8000
Health Check:
curl http://localhost:8000/health
Chat Query:
curl -X POST http://localhost:8000/chat \
-H "Content-Type: application/json" \
-d '{"message": "Qual o faturamento da Petrobras?"}'
Upload Documento:
curl -X POST http://localhost:8000/ingestion/upload \
-F "[email protected]" \
-F "source=ENET"
cd api
source .venv/bin/activate
python3 -m agents.show_graph
agrex/
├── api/ # FastAPI endpoints
├── agents/ # LangGraph agents
├── ingestion/ # Pipeline de documentos
├── setup.sh # Setup automático
├── run_api.sh # Rodar API
└── run_worker.sh # Rodar worker de ingestão
./run_worker.sh
source .venv/bin/activate
pip install <package>
pip freeze > requirements.txt
# API com reload automático (dentro da pasta api)
cd api
source .venv/bin/activate
uvicorn main:app --reload
# Testar grafo diretamente
python3 -c "from agents.graph.core import RAGOrchestrator; print(RAGOrchestrator().process('teste'))"
Veja ARCHITECTURE.md para detalhes completos da arquitetura.
Fluxo Principal:
git checkout -b feature/nova-funcionalidade./run_api.sh e python3 -m agents.show_graphgit commit -m "feat: nova funcionalidade"Logs da API aparecem no terminal onde rodou ./run_api.sh