Skip to content

IngJavierR/DeepAgent_langchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepAgent Backend (scaffold)

Scaffolded backend implementing DDD layout, FastAPI endpoints and placeholders for adapters.

Quick start (from deep_agent/):

  1. Create virtualenv and activate it:
python -m venv .venv
source .venv/bin/activate
  1. Install requirements:
pip install --upgrade pip
pip install -r requirements.txt

2.1 Infraestructura

docker run -d --name my-redis-memory -p 6379:6379 redis:7-alpine redis-server --appendonly yes
  1. Copy .env.example to .env and fill credentials.

  2. Run the app:

uvicorn app.main:app --reload --port 8100
  1. Endpoints:
  • GET /health - health check
  • POST /chat - simple chat
  • POST /chat/stream - SSE streaming endpoint

Tests:

pytest -q

Generar especificación OpenAPI

  1. Generar especificación OpenAPI
PYTHONPATH=. ./.venv/bin/python3 export_openapi.py

Contributors

Javier Rodríguez
[francisco.rodriguez@axity.com]

License

MIT

About

Scaffolded DeepAgent implementing DDD layout, Langchain and Langraph for agent, FastAPI endpoints and placeholders for adapters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages