Agent based supply chain