InventoryDataAnalyst/ ├── README.md ├── requirements.txt ├── .env.example ├── main_agent.py # Entry point & agent orchestration ├── config/ │ ├── init.py │ └── settings.py # Environment & connection config ├── ud_bridge/ │ ├── init.py │ ├── connection.py # UOPY connection manager │ └── executor.py # UniBasic program executor ├── tools/ │ ├── init.py │ ├── order_tools.py # ORDERS file operations │ ├── customer_tools.py # CUSTOMER file operations │ └── inventory_tools.py # INVENTORY file operations └── unibasic_programs/ ├── GET.ORDER.DETAILS.B # UniBasic: fetch order by ID ├── GET.CUSTOMER.INFO.B # UniBasic: fetch customer record ├── CHECK.INVENTORY.B # UniBasic: check stock levels ├── PROCESS.ORDER.B # UniBasic: create/update order └── UPDATE.INVENTORY.B # UniBasic: adjust inventory qty
- Copy
.env.exampleto.envand fill in your values - Install dependencies:
pip install -r requirements.txt - Catalog UniBasic programs in your UD account
- Run:
python main_agent.py