Agentic Commerce Backend Implementation#2
Conversation
- Initialize FastAPI backend with LangGraph orchestration - Implement atomic agents: Orchestrator, Product, Cart, Order, Payment, Fulfillment, Checkout - Implement Adobe Commerce REST API tools with retries and guardrails - Add Redis persistence support (with memory fallback) - Configure strict Pydantic settings loading from env - Add OpenTelemetry tracing and structured logging - Implement Cart ID persistence logic in Cart Agent - Add unit tests for tools and guardrails Co-authored-by: git-hari-j <44432243+git-hari-j@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Implemented a production-grade backend for the Agentic Commerce Platform as requested.
Features:
add_to_cart,check_stock,refund_payment, etc.).REQUIRE_STOCK_CHECKprevents adding out-of-stock items,ALLOW_ORDER_CANCELcontrols policy).pydantic-settings.The backend is located in the
backend/directory and exposes aPOST /api/chatendpoint.Dependencies are listed in
backend/requirements.txt.Design documentation is in
backend/DESIGN.md.PR created automatically by Jules for task 12188264572661119588 started by @git-hari-j